TOOL API
get_ timeframe_ tokens_ 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 token based on the provided token 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' } } } } } } } } } ```
Call information
- Tool slug
- coingecko-demo.get_timeframe_tokens_networks_onchain_ohlcv
- Provider
- CoinGecko
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
networkrequiredstring
token_addressrequiredstring
timeframerequiredstring
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/).