Price API

Get real-time VWAP (Volume Weighted Average Price) data from multiple sources including Birdeye, CoinGecko, and Jupiter.

Get Single Price

GET/price/:symbolOrMint

Returns the current VWAP price for a single symbol or Solana mint address.

Path Parameters

ParameterTypeDescription
symbolOrMintstringToken symbol (e.g., SOL, BTC, ETH) or Solana mint address

Request

cURL
curl -X GET "https://api.predikt.fun/api/v1/price/SOL" -H "Authorization: Bearer pk_live_your_api_key"

Response

FieldTypeDescription
requestIdstringUnique request identifier
symbolstringThe requested symbol
vwapPricenumberVWAP price in USD
sourcesobject[]Price sources with details
sourceCountnumberNumber of sources used
isValidbooleanWhether price is valid
resolutionTimestampstringISO 8601 timestamp
costUsdstringCost of request
remainingBalanceUsdstringRemaining account balance
Response (200)
{
"requestId": "req_abc123",
"symbol": "SOL",
"vwapPrice": 185.42,
"sources": [
{ "name": "birdeye", "price": 185.40, "volume24h": 1000000, "timestamp": "..." },
{ "name": "coingecko", "price": 185.45, "volume24h": 950000, "timestamp": "..." }
],
"sourceCount": 2,
"isValid": true,
"resolutionTimestamp": "2026-01-17T12:00:00.000Z",
"costUsd": "0.01",
"remainingBalanceUsd": "49.99"
}

Get Batch Prices

POST/price/batch

Returns prices for multiple symbols in a single request. More cost-effective than individual requests.

Request Body

FieldTypeDescription
symbolsstring[]Array of symbols or Solana mint addresses (max 50)

Request

cURL
curl -X POST "https://api.predikt.fun/api/v1/price/batch" -H "Authorization: Bearer pk_live_your_api_key" -H "Content-Type: application/json" -d '{"symbols": ["SOL", "BTC", "So11111111111111111111111111111111111111112"]}'

Response

Response (200)
{
"requestId": "req_batch123",
"resolutionTimestamp": "2026-01-17T12:00:00.000Z",
"prices": [
{
"symbol": "SOL",
"vwapPrice": 185.42,
"sources": [
{ "name": "birdeye", "price": 185.40, "volume24h": 1000000, "timestamp": "..." },
{ "name": "coingecko", "price": 185.45, "volume24h": 950000, "timestamp": "..." }
],
"sourceCount": 2,
"isValid": true
},
{
"symbol": "BTC",
"vwapPrice": 98542.00,
"sources": [
{ "name": "birdeye", "price": 98540.00, "volume24h": 5000000, "timestamp": "..." }
],
"sourceCount": 1,
"isValid": true
}
],
"costUsd": "0.08",
"remainingBalanceUsd": "45.92"
}

Pricing: $0.05 base + $0.01 per symbol

Supported Symbols

We support all major cryptocurrencies. Common symbols include:

SOLBTCETHUSDCUSDTBONKJUPRAYORCAPYTH

Error Responses

Response (404)
{
"error": "Symbol not found",
"code": "SYMBOL_NOT_FOUND",
"symbol": "INVALID"
}
Response (400)
{
"error": "Too many symbols in batch request",
"code": "BATCH_LIMIT_EXCEEDED",
"maxSymbols": 50
}

Related