TOOL API

get_timeframe_pools_networks_onchain_ohlcv

When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. This endpoint allows you to **get the OHLCV chart (Open, High, Low, Close, Volume) of a pool based on the provided pool address on a network** # Response Schema ```json { $ref: '#/$defs/ohlcv_get_timeframe_response', $defs: { ohlcv_get_timeframe_response: { type: 'object', properties: { data: { type: 'object', properties: { id: { type: 'string' }, attributes: { type: 'object', properties: { ohlcv_list: { type: 'array', items: { type: 'array', items: { type: 'number' } } } } }, type: { type: 'string' } } }, meta: { type: 'object', properties: { base: { type: 'object', properties: { address: { type: 'string' }, coingecko_coin_id: { type: 'string' }, name: { type: 'string' }, symbol: { type: 'string' } } }, quote: { type: 'object', properties: { address: { type: 'string' }, coingecko_coin_id: { type: 'string' }, name: { type: 'string' }, symbol: { type: 'string' } } } } } } } } } ```

finance1 credits

Call information

Tool slug
coingecko-demo.get_timeframe_pools_networks_onchain_ohlcv
Provider
CoinGecko
Average response
0 ms
Calls in 7 days
0

Input parameters

networkrequired

string

pool_addressrequired

string

timeframerequired

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