getPoolOHLCV
Retrieve historical OHLCV data for cryptocurrency pools to analyze price trends, perform backtesting, and create visualizations across multiple blockchain networks.
Instructions
Get historical price data (OHLCV) for a pool - essential for price analysis, backtesting, and visualization. Requires network and pool address.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end | No | End time for historical data (max 1 year from start) | |
interval | No | Interval granularity: 1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h | 24h |
inversed | No | Whether to invert the price ratio for alternative pair perspective (e.g., ETH/USDC vs USDC/ETH) | |
limit | No | Number of data points to retrieve (max 366) - adjust for different analysis needs | |
network | Yes | Network ID from getNetworks (e.g., "ethereum", "solana") | |
poolAddress | Yes | Pool address or identifier | |
start | Yes | Start time for historical data (Unix timestamp, RFC3339 timestamp, or yyyy-mm-dd format) |
Input Schema (JSON Schema)
{
"properties": {
"end": {
"description": "End time for historical data (max 1 year from start)",
"type": "string"
},
"interval": {
"default": "24h",
"description": "Interval granularity: 1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h",
"type": "string"
},
"inversed": {
"default": false,
"description": "Whether to invert the price ratio for alternative pair perspective (e.g., ETH/USDC vs USDC/ETH)",
"type": "boolean"
},
"limit": {
"default": 1,
"description": "Number of data points to retrieve (max 366) - adjust for different analysis needs",
"type": "number"
},
"network": {
"description": "Network ID from getNetworks (e.g., \"ethereum\", \"solana\")",
"type": "string"
},
"poolAddress": {
"description": "Pool address or identifier",
"type": "string"
},
"start": {
"description": "Start time for historical data (Unix timestamp, RFC3339 timestamp, or yyyy-mm-dd format)",
"type": "string"
}
},
"required": [
"network",
"poolAddress",
"start"
],
"type": "object"
}