REST API

Get YES/NO prices

GET
/prediction/markets/{marketId}/price

Authorization

bearerAuth
AuthorizationBearer <token>

API key passed as Bearer token in Authorization header

In: header

Path Parameters

marketId*string
Length1 <= length

Response Body

application/json

curl -X GET "https://loading/api/v1/prediction/markets/string/price"
{
  "success": true,
  "data": {
    "marketId": "string",
    "yes": 0,
    "no": 0
  },
  "meta": {
    "timestamp": 0,
    "remaining": 0
  }
}