---
updatedAt: 2026-08-18T12:22:41.000Z
agentTools:
  projectIndex: https://apidocs.bct.host/llms.txt
---

# Order Book Depth Data

Get order book depth data for a specified trading pair. No authentication required.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "HK Spot OpenAPI",
    "description": "Hong Kong Station Spot OpenAPI documentation v5. Uses Header + HMAC-SHA512 signature authentication mechanism.",
    "version": "5.0.0"
  },
  "servers": [
    {
      "url": "https://trade-hk.osl.com",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Spot - Market Data Module",
      "description": "Market data retrieval endpoints"
    }
  ],
  "paths": {
    "/api/v5/order/depth": {
      "get": {
        "tags": [
          "Spot - Market Data Module"
        ],
        "summary": "Order Book Depth Data",
        "description": "Get order book depth data for a specified trading pair. No authentication required.",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Trading pair",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Depth, default 100, max 1000",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Query successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderDepth"
                },
                "example": {
                  "symbol": "BTCUSD",
                  "lastUpdateId": "1156547",
                  "price": "78000",
                  "asks": [
                    [
                      "90000",
                      "0.00035478"
                    ]
                  ],
                  "bids": [
                    [
                      "78000",
                      "0.0037201"
                    ],
                    [
                      "50000",
                      "3.11235796"
                    ],
                    [
                      "20000",
                      "0.00015"
                    ]
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "OrderDepth": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Trading pair",
            "example": "BTCUSD"
          },
          "lastUpdateId": {
            "type": "string",
            "description": "Last update ID",
            "example": "1156547"
          },
          "price": {
            "type": "string",
            "description": "Latest price",
            "example": "78000"
          },
          "asks": {
            "type": "array",
            "description": "Ask list, [[price, quantity], ...]",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "bids": {
            "type": "array",
            "description": "Bid list, [[price, quantity], ...]",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {}
}
```