工具 API

get_timeframe_tokens_networks_onchain_ohlcv

使用此工具时,请始终使用 `jq_filter` 参数来减少响应大小并提升性能。除非您确定不需要这些数据。此端点允许您根据提供的代币地址在某个网络上获取该代币的OHLCV图表(开盘价、最高价、最低价、收盘价、成交量)

finance1 积分

调用信息

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

输入参数

network必填

string

token_address必填

string

timeframe必填

string

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

include_inactive_source

include token data from inactive pools using the most recent swap, 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/).