get_timeframe_pools_networks_onchain_ohlcv
Retrieve OHLCV (Open, High, Low, Close, Volume) data for a specific pool address on a blockchain network. Analyze historical price and volume trends with customizable timeframes, intervals, and filters to optimize data usage.
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 pool based on the provided pool 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 | ||
pool_address | Yes | ||
timeframe | Yes | ||
token | No | return OHLCV for token <br> use this to invert the chart <br> Available values: 'base', 'quote' or token address <br> Default value: 'base' |