API Reference

Get bids and asks for a market

Example response:

{
  "bids": [
    [
      "2992300000000000000000", // price e18
      "3910000000000000000",    // size at price (number of contracts) e18
      "3910000000000000000"     // cumulative size at price (cumulative number of contracts) e18
    ],
    [
      "2921100000000000000000",
      "610000000000000000",
      "4520000000000000000"
    ],
    [
      "2903000000000000000000",
      "3110000000000000000",
      "7630000000000000000"
    ],
    [
      "2902900000000000000000",
      "4010000000000000000",
      "11640000000000000000"
    ],
    [
      "2902500000000000000000",
      "2610000000000000000",
      "14250000000000000000"
    ]
  ],
  "asks": [
    [
      "2999000000000000000000",
      "4040000000000000000",
      "4040000000000000000"
    ],
    [
      "2999400000000000000000",
      "3210000000000000000",
      "7250000000000000000"
    ],
    [
      "2999900000000000000000",
      "3010000000000000000",
      "10260000000000000000"
    ],
    [
      "3000700000000000000000",
      "4110000000000000000",
      "14370000000000000000"
    ],
    [
      "3000800000000000000000",
      "2010000000000000000",
      "16380000000000000000"
    ]
  ],
  "timestamp": 1715353764696
}
Language
Click Try It! to start a request and see the response here!