工具 API

get_timeframe_pools_networks_onchain_ohlcv

使用此工具时,请始终使用 `jq_filter` 参数来减少响应大小并提高性能。 仅在确定不需要数据时才可省略。 此接口允许您**获取网络上指定流动性池地址的 OHLCV 图表(开盘价、最高价、最低价、收盘价、成交量)**

finance1 积分

调用信息

工具标识
coingecko-demo.get_timeframe_pools_networks_onchain_ohlcv
服务提供方
CoinGecko
平均响应
0 ms
近 7 天调用
0

输入参数

network必填

string

pool_address必填

string

timeframe必填

string

token

return OHLCV for token use this to invert the chart Available values: 'base', 'quote' or token address Default value: 'base'

aggregate

time 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_timestamp

return OHLCV data before this timestamp (integer seconds since epoch)

currency

return OHLCV in USD or quote token Default value: usd

include_empty_intervals

include empty intervals with no trade data, default: false

limit

number of OHLCV results to return, maximum 1000 Default value: 100

jq_filter

A 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/).