Latest K-line Data
Market Data APIs
Real-time K-Line
Get real-time K-line data for the current time period that is being formed and updated.
GET
Latest K-line Data
Notes
- This endpoint returns K-line data for the current period being formed, data updates continuously with trades
- Suitable for real-time chart display, current price monitoring, and intraday dynamic updates
- Not recommended for historical backtesting, technical indicator statistics, or fixed data storage
- For completed period data, use Historical K-Line:
/v1/market/kline
Supported Markets
Forex, Metals, Indices, US Stocks, HK Stocks, A-Shares, Crypto Examples:- Forex: EURUSD, GBPUSD, USDJPY
- Metals: XAUUSD, XAGUSD
- Indices: SPX, NDX, DJI
- US Stocks: AAPL.US, TSLA.US, MSFT.US
- HK Stocks: 700.HK, 9988.HK, 3690.HK
- A-Shares: 600519.SH, 000001.SZ, 920186.BJ
- Crypto: BTCUSDT, ETHUSDT, ADAUSDT
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| symbols | Yes | Trading symbol codes, comma-separated, e.g., AAPL.US,00700.HK |
| interval | Yes | K-line period, options: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M |
| type | No | Symbol type, optional. Not required when the symbol is unambiguous; if the API returns an AMBIGUOUS_SYMBOL error, pass the value as indicated. Values: stock, indices, crypto, forex |
Response Fields
| Field | Description |
|---|---|
| symbol | Trading Symbol |
| interval | K-line period |
| klines | K-line data array |
| └─ time | K-line timestamp (milliseconds) |
| └─ open | Opening price |
| └─ high | Highest price |
| └─ low | Lowest price |
| └─ close | Closing price |
| └─ volume | Trading volume |
| └─ quote_volume | Trading amount |
Authorizations
Query Parameters
Comma-separated symbols (e.g., AAPL.US,00700.HK)
Example:
"AAPL.US,00700.HK"
K-line interval
Available options:
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M Example:
"3m"
Symbol type, optional. Not required when the symbol is unambiguous; if the API returns an AMBIGUOUS_SYMBOL error, pass the value as indicated
Available options:
stock, indices, crypto, forex Example:
"stock"
Response
Successful response
Example:
0
Example:
"success"
Example:
[
{
"symbol": "AAPL.US",
"interval": "3m",
"klines": [
{
"time": 1773259020000,
"open": "260.86",
"high": "261.05",
"low": "260.7",
"close": "260.81",
"volume": "963419",
"quote_volume": "251311057.55"
}
]
},
{
"symbol": "00700.HK",
"interval": "3m",
"klines": [
{
"time": 1773293400000,
"open": "542.5",
"high": "544.5",
"low": "542",
"close": "544.5",
"volume": "80300",
"quote_volume": "43656433.33"
}
]
}
]