Skip to main content
GET
/
markets
/
{marketId}
cURL
curl --request GET \
  --url https://api.jup.ag/prediction/v1/markets/{marketId} \
  --header 'x-api-key: <api-key>'
{
  "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
  }
}

Authorizations

x-api-key
string
header
required

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

Path Parameters

marketId
string
required

Market identifier

Minimum string length: 1

Response

Market data

marketId
string
required

Market identifier

event
string
required

Associated event identifier

status
enum<string>
required

Current market status

Available options:
open,
closed,
cancelled
result
enum<string>
required

Current market result

Available options:
,
pending,
yes,
no
openTime
number
required

Unix timestamp (seconds) when the market opens

closeTime
number
required

Unix timestamp (seconds) when the market closes

settlementTime
number
required

Unix timestamp (seconds) when the market settled (0 if pending)

metadata
object
pricing
object