Orderbook

derivativeOrderbook Aggregator

get

This endpoint provide order book information with at least depth = 100 (50 each side) returned for a given market pair/ticker

Query parameters
ticker_idstringRequired

Specify unique ticker to search.

Example: INJ/USDT PERP
depthinteger · int64Optional

Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.

Example: 2972594860488817000
Responses
200
OK response.
application/json
get
GET /api/aggregator/v1/derivative/orderbook HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
  "asks": [
    {
      "offer_price": 50.1,
      "quantity": 9.2
    },
    {
      "offer_price": 50.1,
      "quantity": 9.2
    },
    {
      "offer_price": 50.1,
      "quantity": 9.2
    },
    {
      "offer_price": 50.1,
      "quantity": 9.2
    }
  ],
  "bids": [
    {
      "offer_price": 50.1,
      "quantity": 9.2
    },
    {
      "offer_price": 50.1,
      "quantity": 9.2
    },
    {
      "offer_price": 50.1,
      "quantity": 9.2
    }
  ],
  "ticker_id": "INJ/USDT",
  "timestamp": 1484871000
}

Revision created

GitBook: No commit message