Skip to main content
GET
/
events
/
{eventId}
/
markets
cURL
curl --request GET \
  --url https://api.jup.ag/prediction/v1/events/{eventId}/markets \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "marketId": "<string>",
      "event": "<string>",
      "status": "open",
      "result": "",
      "openTime": 123,
      "closeTime": 123,
      "settlementTime": 123,
      "metadata": {
        "marketId": "<string>",
        "isTradable": true,
        "title": "<string>",
        "subtitle": "<string>",
        "description": "<string>",
        "status": "<string>",
        "result": "<string>",
        "closeTime": 123,
        "openTime": 123,
        "settlementTime": 123,
        "rulesPrimary": "<string>",
        "rulesSecondary": "<string>"
      },
      "pricing": {
        "buyYesPriceUsd": 123,
        "buyNoPriceUsd": 123,
        "sellYesPriceUsd": 123,
        "sellNoPriceUsd": 123,
        "volume": 123,
        "openInterest": 123,
        "volume24h": 123,
        "liquidityDollars": 123,
        "notionalValueDollars": 123
      }
    }
  ],
  "pagination": {
    "start": 1,
    "end": 1,
    "total": 1,
    "hasNext": true
  }
}

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Path Parameters

eventId
string
required

Event identifier

Minimum string length: 1

Query Parameters

start
integer | null
Required range: x >= 0
end
integer | null
Required range: x >= 0

Response

200 - application/json

List of markets for the given event

data
object[]
required
pagination
object
required