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 } }
Get all markets for a specific event
Get API key via https://portal.jup.ag
Event identifier
1
x >= 0
List of markets for the given event
Show child attributes
Was this page helpful?