Trade.mn API
About usContact us
  • API Doc
    • General API Information
    • API Key Setup
    • HTTP Return Codes
    • General Information on Endpoints
    • Endpoint security type
    • SIGNED (TRADE) Endpoint security
      • Timing security
    • Public API Endpoints
      • Terminology
      • ENUM definitions
      • General endpoints
      • Market Data endpoints
        • Order book (USER_DATA)
        • Recent trades list (USER_DATA)
      • Trading endpoints
        • New order (TRADE)
        • Cancel order (TRADE)
        • Current open orders (TRADE)
        • Trade history (TRADE)
      • Wallet endpoints
        • Wallet balance (WALLET)
        • Wallet balance by asset (WALLET)
    • Websocket (Socket.io)
    • Error Codes
    • Postman Collections
Powered by GitBook
On this page

Was this helpful?

  1. API Doc
  2. Public API Endpoints
  3. Market Data endpoints

Order book (USER_DATA)

GET /api/v3/depth

Get order book. (Захиалгын сангийн мэдэээл)

Parameters:

Name
Type
Mandatory
Description

symbol

STRING

YES

timestamp

LONG

YES

Response:

{
  "sell": {
    "10": 100, // price: quantity
    "11": 11
  },
  "buy": {
    "1": 25000,
    "5": 2121,
    "6": 5000
  }
}
PreviousMarket Data endpointsNextRecent trades list (USER_DATA)

Last updated 1 year ago

Was this helpful?