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

# K-line / Candlestick Data

Get K-line/candlestick data for a specified trading pair.

**Supported intervals:** `1m`, `3m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`, `1month`

Returns 500 records by default, up to 1000 maximum.

**Response array format:** [Open time, Open price, High price, Low price, Close price, Volume, Close time, Quote asset volume, Number of trades, Taker buy base asset volume, Taker buy quote asset volume]

# 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/kline": {
      "get": {
        "tags": [
          "Spot - Market Data Module"
        ],
        "summary": "K-line / Candlestick Data",
        "description": "Get K-line/candlestick data for a specified trading pair.\n\n**Supported intervals:** `1m`, `3m`, `5m`, `15m`, `30m`, `1h`, `2h`, `4h`, `6h`, `8h`, `12h`, `1d`, `3d`, `1w`, `1month`\n\nReturns 500 records by default, up to 1000 maximum.\n\n**Response array format:** [Open time, Open price, High price, Low price, Close price, Volume, Close time, Quote asset volume, Number of trades, Taker buy base asset volume, Taker buy quote asset volume]",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Trading pair",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "description": "Time interval: 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1month",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startTime",
            "in": "query",
            "description": "Start time (timestamp)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "endTime",
            "in": "query",
            "description": "End time (timestamp)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of results returned, default 500, max 1000",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Query successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {}
                  }
                },
                "example": [
                  [
                    "1761955200000",
                    "109474.09953660007",
                    "110926",
                    "80600",
                    "90421.29996835299",
                    "1855.3406849",
                    "1764547199999",
                    "171565262.69104",
                    32470,
                    "0",
                    "0"
                  ]
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {}
}
```