# CoinGecko — Pool OHLCV Chart by Pool Address

Get CoinGecko pool OHLCV candles via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, configure supported query parameters and filters, and retrieve structured data including ohlcv list, base-token contract address, and quote-token contract address for pool candlestick charts, and historical navigation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/coingecko/coingecko-pool-ohlcv-chart-by-pool-address/?offering=051a8e50-7dbe-4460-9f4b-3d293449e9f8
API ID: 051a8e50-7dbe-4460-9f4b-3d293449e9f8
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}
Page update time: 2026-12-03T02:49:14.451Z
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:14.040Z. 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": "CoinGecko — 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. \n*refers to [`/onchain/networks`](/reference/networks-list)."
        },
        "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 each OHLCV. \nAvailable values (day): `1` \nAvailable values (hour): `1`, `4`, `12` \nAvailable values (minute): `1`, `5`, `15` \nDefault value: 1"
        },
        "before_timestamp": {
          "type": "integer",
          "description": "Return OHLCV data before this timestamp (integer seconds since epoch)."
        },
        "limit": {
          "type": "integer",
          "description": "Number of OHLCV results to return, maximum 1000. \nDefault value: 100"
        },
        "currency": {
          "type": "string",
          "description": "Return OHLCV in USD or quote token. \nDefault: `usd`",
          "enum": [
            "usd",
            "token"
          ]
        },
        "token": {
          "type": "string",
          "description": "Return OHLCV for token, use this to invert the chart. \nAvailable values: `base`, `quote`, or token address. \nDefault: `base`"
        },
        "include_empty_intervals": {
          "type": "boolean",
          "description": "Include empty intervals with no trade data. \nDefault: `false`"
        }
      }
    },
    "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 · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/day' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## 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": [
        [
          1779926400,
          1.00208165944741,
          1.00257871811779,
          0.985925654401274,
          1.00027690571219,
          3481.679733097695
        ],
        [
          1779840000,
          0.996152188066521,
          1.0040610548489,
          0.996152188066521,
          1.00208165944741,
          11911.669491500581
        ]
      ]
    },
    "id": "c2728da2-1bc8-4b3a-94ca-6248a3c6e966",
    "type": "ohlcv_request_response"
  },
  "meta": {
    "base": {
      "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "coingecko_coin_id": "tether",
      "name": "Tether USD",
      "symbol": "USDT"
    },
    "quote": {
      "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "coingecko_coin_id": "weth",
      "name": "Wrapped Ether",
      "symbol": "WETH"
    }
  }
}
```

## 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
- CoinGecko: https://openany.si/market/apis/coingecko/coingecko-pool-ohlcv-chart-by-pool-address/?offering=051a8e50-7dbe-4460-9f4b-3d293449e9f8

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