REST API
Get market details
Authorization
bearerAuth AuthorizationBearer <token>
API key passed as Bearer token in Authorization header
In: header
Path Parameters
marketId*string
Length
1 <= lengthResponse Body
application/json
curl -X GET "https://loading/api/v1/prediction/markets/string"{
"success": true,
"data": {
"id": "string",
"conditionId": "string",
"question": "string",
"slug": "string",
"outcomes": [
"string"
],
"outcomePrices": [
0
],
"tokens": [
{
"tokenId": "string",
"outcome": "string",
"price": 0,
"winner": true
}
],
"volume": 0,
"liquidity": 0,
"endDate": "string",
"category": "string",
"status": "active",
"negRisk": true
},
"meta": {
"timestamp": 0,
"remaining": 0
}
}