get_timeframe_tokens_networks_onchain_ohlcv
Retrieve OHLCV (Open, High, Low, Close, Volume) data for a specific token on a blockchain network using token address and timeframe. Use jq_filter
to customize response size and optimize performance.
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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregate | No | time period to aggregate each OHLCV <br> Available values (day): `1` <br> Available values (hour): `1` , `4` , `12` <br> Available values (minute): `1` , `5` , `15` <br> 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 <br> Default value: usd | |
include_empty_intervals | No | include empty intervals with no trade data, default: false | |
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/). | |
limit | No | number of OHLCV results to return, maximum 1000 <br> Default value: 100 | |
network | Yes | ||
timeframe | Yes | ||
token_address | Yes |