---
title: "Query Latest Klines"
method: GET
path: "/info/kline/last"
tags: ["Kline"]
---

# Query Latest Klines

`GET /info/kline/last`

Get latest N kline candles, sorted by timestamp descending.

## Query parameters

- `symbol_name` string, required
- `interval` integer, required
- `limit` integer

## Response `200`

Kline data array

- object
  - `code` integer
  - `data` Kline[]
    - `symbolName` string
    - `timestamp` integer — K-line start time (seconds)
    - `intrvl` integer — Interval (seconds)
    - `open` string
    - `high` string
    - `low` string
    - `close` string
    - `volume` string
    - `turnover` string
    - `tradeCount` integer

---

[API](https://skmtc.dev/afx/apis/afx-dex-exchange-api.md) · [All operations](https://skmtc.dev/afx/apis/afx-dex-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/afx/afx-dex-exchange-api/revisions/7153776e5985/schema)
