get_timeframe_tokens_networks_onchain_ohlcv
Retrieve OHLCV chart data (Open, High, Low, Close, Volume) for any cryptocurrency token by providing its blockchain address and network. Supports multiple timeframes and filtering options for analyzing price movements.
Instructions
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
{
$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'
}
}
}
}
}
}
}
}
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| token_address | Yes | ||
| timeframe | Yes | ||
| aggregate | No | 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 | No | return OHLCV data before this timestamp (integer seconds since epoch) | |
| currency | No | return OHLCV in USD or quote token Default value: usd | |
| include_empty_intervals | No | include empty intervals with no trade data, default: false | |
| include_inactive_source | No | include token data from inactive pools using the most recent swap, default: false | |
| limit | No | number of OHLCV results to return, maximum 1000 Default value: 100 | |
| jq_filter | No | 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/). |