交易對 - K 線
取得交易對的 OHLCV K 線資料(格式:TOKEN_A_ADDRESS-TOKEN_B_ADDRESS)
Documentation Index
Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
Use this file to discover all available pages before exploring further.
授權
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路徑參數
支援網路列表中的鏈名稱 Supported blockchain chains
sol, eth, bsc 交易對標識符(格式:TOKEN_A_ADDRESS-TOKEN_B_ADDRESS)。交易對會自動排序
查詢參數
K 線資料的時間粒度 Candle resolution
1s, 15s, 30s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M 價格類型:usd(預設)或原生代幣價格 Price type for candle data
usd, native 開始時間戳(Unix 秒級時間戳)
結束時間戳(Unix 秒級時間戳)
回傳的 K 線數量
回應
取得交易對 K 線
Close price
"51.2"
High price
"51.8"
Low price
"50.1"
Open price
"50.5"
Timestamp
1709251200000
Volume in USD or native currency (depending on priceType)
"1000000"
Number of trades (swaps) in this candle bar
128
Base token quantity (e.g. number of CAKE or SOL tokens traded)
"42000.5"

