Token
池子 - K 線
取得特定流動性池子的 OHLCV K 線資料
GET
池子 - K 線
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 池子地址
查詢參數
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 線數量
回應
200 - application/json
取得池子 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"
池子 - K 線

