LogoLogo
  • Introduction
  • Get started
  • Trading Account
  • Signing
  • REST API
    • Account
      • Get Account Info
      • Get Positions
      • Get ABR payments
    • Market
      • Get Markets
      • Get Assets
      • Get Orderbook
    • Trade
      • Create Order
      • Cancel Order
      • Query order
      • List historical orders
      • List active orders
      • Trade list
    • Time
  • Web Sockets
    • Authentication
    • Connectivity check
    • Subscription
    • Public topics
      • trade
      • marketInfo
      • orderBook
      • accountCreated
      • kline
    • Private topics
      • conditionalOrder
      • balance
      • order
      • fill
  • Glossary
Powered by GitBook
On this page
  1. REST API
  2. Market

Get Orderbook

PreviousGet AssetsNextTrade

Last updated 1 year ago

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
    ]
  ]
}