工具 API
get_ timeframe_ pools_ networks_ onchain_ ohlcv
使用此工具时,请始终使用 `jq_filter` 参数来减少响应大小并提高性能。 仅在确定不需要数据时才可省略。 此接口允许您**获取网络上指定流动性池地址的 OHLCV 图表(开盘价、最高价、最低价、收盘价、成交量)**
调用信息
- 工具标识
- coingecko-demo.get_timeframe_pools_networks_onchain_ohlcv
- 服务提供方
- CoinGecko
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
network必填string
pool_address必填string
timeframe必填string
tokenreturn OHLCV for token use this to invert the chart Available values: 'base', 'quote' or token address Default value: 'base'
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
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/).