Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
获取交易对的历史 K 线数据。
GET https://api.woox.io/v3/public/klineHistory
请求
curl "https://api.woox.io/v3/public/klineHistory?symbol=PERP_BTC_USDT&type=1d&limit=2"
PERP_BTC_USDT
1m
3m
5m
15m
30m
1h
2h
4h
6h
12h
1d
1w
1mon
1y
before
after
100
1000
响应
{ "success": true, "timestamp": 1794963202000, "data": { "rows": [ { "symbol": "PERP_BTC_USDT", "open": "65309", "close": "64800", "high": "65691", "low": "63321", "volume": "11.20818", "amount": "722935", "type": "1d", "startTimestamp": 1794873600000, "endTimestamp": 1794960000000 } ] } }