Skip to main content
POST
/
v1beta1
/
create_market_data_subscription
Create Market Data Subscription
curl --request POST \
  --url https://traderapi.us-east-1.privatelink.preprod.polymarketexchange.com/api/v1beta1/create_market_data_subscription \
  --header 'Content-Type: application/json' \
  --data '
{
  "depth": 123,
  "snapshot_only": true,
  "symbols": [
    "<string>"
  ],
  "unaggregated": true
}
'
{
  "result": {
    "update": {
      "symbol": "aec-nfl-buf-nyj-2025-01-15",
      "state": "INSTRUMENT_STATE_OPEN",
      "bids": [
        {
          "px": 5500,
          "qty": 1000
        },
        {
          "px": 5450,
          "qty": 2500
        }
      ],
      "offers": [
        {
          "px": 5550,
          "qty": 1500
        },
        {
          "px": 5600,
          "qty": 2000
        }
      ],
      "stats": {
        "last_trade_px": 5525,
        "last_trade_qty": 500,
        "open_px": 5400,
        "high_px": 5700,
        "low_px": 5300,
        "shares_traded": 15000,
        "open_interest": 50000
      },
      "book_hidden": false,
      "transact_time": "2025-01-15T18:30:00Z"
    }
  }
}

Body

application/json
depth
integer<int32>
snapshot_only
boolean
symbols
string[]
unaggregated
boolean

Response

A successful response.(streaming responses)

error
object
result
object