Price API
Get real-time VWAP (Volume Weighted Average Price) data from multiple sources including Birdeye, CoinGecko, and Jupiter.
Get Single Price
GET
/price/:symbolOrMintReturns the current VWAP price for a single symbol or Solana mint address.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| symbolOrMint | string | Token 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
| Field | Type | Description |
|---|---|---|
| requestId | string | Unique request identifier |
| symbol | string | The requested symbol |
| vwapPrice | number | VWAP price in USD |
| sources | object[] | Price sources with details |
| sourceCount | number | Number of sources used |
| isValid | boolean | Whether price is valid |
| resolutionTimestamp | string | ISO 8601 timestamp |
| costUsd | string | Cost of request |
| remainingBalanceUsd | string | Remaining 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/batchReturns prices for multiple symbols in a single request. More cost-effective than individual requests.
Request Body
| Field | Type | Description |
|---|---|---|
| symbols | string[] | 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}