工具 API
get_ timeframe_ tokens_ networks_ onchain_ ohlcv
使用此工具时,请始终使用 `jq_filter` 参数来减少响应大小并提升性能。除非您确定不需要这些数据。此端点允许您根据提供的代币地址在某个网络上获取该代币的OHLCV图表(开盘价、最高价、最低价、收盘价、成交量)
调用信息
- 工具标识
- coingecko-demo.get_timeframe_tokens_networks_onchain_ohlcv
- 服务提供方
- CoinGecko
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
network必填string
token_address必填string
timeframe必填string
aggregatetime period to aggregate each OHLCV Available values (day): `1` Available values (hour): `1` , `4` , `12` Available values (minute): `1` , `5` , `15` Available values (second): `1`, `15`, `30` Default value: 1
before_timestampreturn OHLCV data before this timestamp (integer seconds since epoch)
currencyreturn OHLCV in USD or quote token Default value: usd
include_empty_intervalsinclude empty intervals with no trade data, default: false
include_inactive_sourceinclude token data from inactive pools using the most recent swap, default: false
limitnumber of OHLCV results to return, maximum 1000 Default value: 100
jq_filterA jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/).