代币 - K 线
Get token price candles
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.
token_get_candles授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路径参数
A chain name listed in supported networks Supported blockchain chains
sol, eth, bsc An address of a token
查询参数
Time resolution for candle data Candle resolution
1s, 15s, 30s, 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M Price type: usd (default) or native token price Price type for candle data
usd, native Start timestamp (Unix epoch in seconds)
End timestamp (Unix epoch in seconds)
Number of candles to return
响应
Get Candles
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"

