Skip to main content

GET /orderbook/:instrument_name

Aggregated order book (open and partially filled orders).

GEThttps://arc-testnet-api.realtime.exchange/orderbook/{instrument_name}

No authentication

Path parameters

instrument_namestringrequired
Instrument name, e.g. BTC-PERP, or its 0x id.

Response

200
{bids: [{price, amount, orders}], asks: [...], last_updated_timestamp, checksum}
  • price and amount are raw on-chain integers as strings. Divide price by 10^quote_decimals and amount by 10^base_decimals from GET /markets to get human values.
  • At most 500 orders per side are read before aggregation.
  • checksum is the server time in hex, not a checksum of the book. last_updated_timestamp is the response time in milliseconds.
  • Unknown instrument → 404.