> For the complete documentation index, see [llms.txt](https://satangdev.gitbook.io/satang-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://satangdev.gitbook.io/satang-api/apis-v3/public/kline-candlestick-data.md).

# Kline/Candlestick data

## Get Klines

<mark style="color:blue;">`GET`</mark> `https://satangcorp.com/api/v3/klines`

#### Query Parameters

| Name      | Type   | Description                                         |
| --------- | ------ | --------------------------------------------------- |
| symbol    | string | A pair symbol, such as 'btc\_thb', 'eth\_thb'       |
| interval  | string | Kline chart interval                                |
| startTime | number | Timestamp in ms to get klines from                  |
| endTime   | number | Timestamp in ms to get klines until                 |
| limit     | number | Maximum number of results (default: 500, max: 1000) |

{% tabs %}
{% tab title="200 " %}

```
[
    [
        1588291200000,                      // Open time
        "282450",                           // Open
        "320000",                           // High
        "268001.1",                         // Low
        "296500",                           // Close
        "5351.5262812840843957824",         // Volume
        1590969599999,                      // Close time
        "1576716878.099914548375732560787", // Quote asset volume
        44334,                              // Number of trades
        "4727.2283849640843957824",         // Taker buy base asset volume
        "1393749766.424898104509753060787", // Taker buy quote asset volume
        "0"                                 // Ignore
    ],
    [
        1590969600000,
        "296900",
        "315000",
        "291761.11",
        "303784.19474381",
        "1568.09222435",
        1593561599999,
        "476304404.8337150416177231",
        17918,
        "1251.02055406",
        "379846660.1933756919130791",
        "0"
    ]
]
```

{% endtab %}
{% endtabs %}
