Get Orderbook

limit - it is a depth. Max top number of elements returned on each side of orderbook. Currently supported values are 1, 50 and 100.

multiplier - multiplier to group order book values, 1 - means ungrouped, allowed values [1,10,100,1000,10000]

get
Query parameters
marketIdstringRequired
multipliernumber · enumRequiredPossible values:
limitnumber · enumRequiredPossible values:
Responses
200Success
application/json
get
GET /v1/public/order-book?marketId=text&multiplier=1&limit=1 HTTP/1.1
Host: 
Accept: */*
200Success
{
  "marketId": "text",
  "multiplier": 1,
  "limit": 1,
  "timestamp": 1,
  "bids": [
    [
      1,
      1
    ]
  ],
  "asks": [
    [
      1,
      1
    ]
  ]
}

Last updated