# GeckoTerminal — Pool OHLCV chart by Pool Address

Get GeckoTerminal pool OHLCV candles via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Geckoterminal, pass parameters such as aggregate, currency, include_empty_intervals, and retrieve structured data including ohlcv list, base token contract address, base token symbol, quote token contract address, and quote token symbol for historical chart, and period comparison.

Documentation: https://openany.si/market/apis/geckoterminal/geckoterminal-pool-ohlcv-chart-by-pool-address/?offering=76b191e8-b6a7-497e-aef7-fd8920b4ecdd
API ID: 76b191e8-b6a7-497e-aef7-fd8920b4ecdd
Provider: geckoterminal
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}
Page update time: 2026-12-03T02:49:03.755Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:03.137Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GeckoTerminal — Pool OHLCV chart by Pool Address request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "network": {
          "type": "string",
          "description": "network ID<br>*refers to [/networks](/api/v2/networks)"
        },
        "pool_address": {
          "type": "string",
          "description": "pool contract address"
        },
        "timeframe": {
          "type": "string",
          "description": "timeframe of the OHLCV chart",
          "enum": [
            "day",
            "hour",
            "minute"
          ]
        }
      },
      "required": [
        "network",
        "pool_address",
        "timeframe"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "aggregate": {
          "type": "string",
          "description": "time period to aggregate for each OHLCV<br><br><b>Available values (day):</b> `1`<br><br><b>Available values (hour):</b> `1`, `4`, `12`<br><br><b>Available values (minute):</b> `1`, `5`, `15`"
        },
        "before_timestamp": {
          "type": "string",
          "description": "return OHLCV data before this timestamp (integer seconds since epoch)"
        },
        "limit": {
          "type": "integer",
          "description": "number of OHLCV results to return, maximum 1000",
          "maximum": 1000
        },
        "currency": {
          "type": "string",
          "description": "return OHLCV in USD or quote token",
          "enum": [
            "usd",
            "token"
          ]
        },
        "include_empty_intervals": {
          "type": "boolean",
          "description": "include empty intervals with no trade data"
        },
        "token": {
          "type": "string",
          "description": "return OHLCV for token<br>use this to invert the chart<br>Available values: 'base', 'quote', or token address"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "attributes": {
          "type": "object",
          "properties": {
            "ohlcv_list": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            }
          }
        },
        "id": {
          "type": "string"
        },
        "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"
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/pools/0x60594a405d53811d3bc4766596efd80fd545a270/ohlcv/hour?aggregate=4&currency=usd&include_empty_intervals=false&limit=100&token=base' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json;version=20230203'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "data": {
    "attributes": {
      "ohlcv_list": [
        [
          1712534400,
          3454.61590249189,
          3660.85954963415,
          3417.91885296256,
          3660.85954963415,
          306823.277031161
        ],
        [
          1712448000,
          3362.60273217873,
          3455.28884490954,
          3352.95305060685,
          3454.61590249189,
          242144.864784184
        ],
        [
          1712361600,
          3323.05578706056,
          3391.19811016133,
          3317.73497182435,
          3362.60273217873,
          273323.661682931
        ]
      ]
    },
    "id": "bc786a99-7205-4c80-aaa1-b9634d97c926",
    "type": "ohlcv_request_response"
  },
  "meta": {
    "base": {
      "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "coingecko_coin_id": "weth",
      "name": "Wrapped Ether",
      "symbol": "WETH"
    },
    "quote": {
      "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "coingecko_coin_id": "tether",
      "name": "Tether USD",
      "symbol": "USDT"
    }
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- geckoterminal: https://openany.si/market/apis/geckoterminal/geckoterminal-pool-ohlcv-chart-by-pool-address/?offering=76b191e8-b6a7-497e-aef7-fd8920b4ecdd

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
