Skip to main content
GET
/
orders
cURL
curl --request GET \
  --url https://api.jup.ag/prediction/v1/orders \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "pubkey": "<string>",
      "owner": "<string>",
      "ownerPubkey": "<string>",
      "market": "<string>",
      "marketId": "<string>",
      "marketIdHash": "<string>",
      "eventId": "<string>",
      "position": "<string>",
      "status": "pending",
      "isYes": true,
      "isBuy": true,
      "createdAt": 123,
      "updatedAt": 123,
      "contracts": "<string>",
      "maxFillPriceUsd": "<string>",
      "maxBuyPriceUsd": "<string>",
      "minSellPriceUsd": "<string>",
      "filledAt": 123,
      "filledContracts": "<string>",
      "avgFillPriceUsd": "<string>",
      "settled": true,
      "orderId": "<string>",
      "sizeUsd": "<string>",
      "eventMetadata": {
        "eventId": "<string>",
        "title": "<string>",
        "subtitle": "<string>",
        "imageUrl": "<string>",
        "isLive": true
      },
      "marketMetadata": {
        "marketId": "<string>",
        "isTradable": true,
        "title": "<string>",
        "subtitle": "<string>",
        "description": "<string>",
        "status": "<string>",
        "result": "<string>",
        "closeTime": 123,
        "openTime": 123,
        "settlementTime": 123,
        "rulesPrimary": "<string>",
        "rulesSecondary": "<string>",
        "eventId": "<string>"
      },
      "externalOrderId": "<string>",
      "bump": 1
    }
  ],
  "pagination": {
    "start": 1,
    "end": 1,
    "total": 1,
    "hasNext": true
  }
}

Authorizations

x-api-key
string
header
required

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

Query Parameters

start
integer | null
Required range: x >= 0
end
integer | null
Required range: x >= 0
ownerPubkey
string
Minimum string length: 1
userPubkey
string

Order owner public key (deprecated alias; use ownerPubkey)

Minimum string length: 1

Response

List of all orders registered on-chain

data
object[]
required
pagination
object
required