Skip to main content

Get Token Price

Query the current best bid/ask prices for prediction outcome tokens. Use this for quick price checks; for full depth, see Get Order Book.

info
  • Maximum 20 token IDs per request
  • Prices are on a 0–1 scale representing implied probability (e.g., 0.65 = 65% chance)

HTTP Request​

POST/v5/alpha/prediction/token-price

Request Parameters​

ParameterRequiredTypeComments
tokenIdstruearrayList of outcome token IDs to query. Maximum 20

Response Parameters​

ParameterTypeComments
tokenIdstringOutcome token ID
bestBidstringBest bid price (0–1)
bestAskstringBest ask price (0–1)
lastPricestringLast traded price (0–1)
volume24hstring24-hour trading volume in USDC
updateTimeintegerPrice last update timestamp (UTC milliseconds)

Request Example​

POST /v5/alpha/prediction/token-price HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1704067200000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"tokenIds": ["token_yes_123", "token_no_123"]
}

Response Example​

{
"retCode": 0,
"retMsg": "OK",
"result": [
{
"tokenId": "token_yes_123",
"bestBid": "0.64",
"bestAsk": "0.66",
"lastPrice": "0.65",
"volume24h": "50000",
"updateTime": 1704067200000
},
{
"tokenId": "token_no_123",
"bestBid": "0.34",
"bestAsk": "0.36",
"lastPrice": "0.35",
"volume24h": "48000",
"updateTime": 1704067200000
}
],
"retExtInfo": {},
"time": 1704067200000
}