# CoinGecko — Exchange Volume Chart by ID

Get CoinGecko historical exchange volume charts via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as days, and retrieve structured data including structured JSON records, identifiers, and response metadata for exchange activity charts, and exchange comparisons, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/coingecko/coingecko-exchange-volume-chart-by-id/3f39f529-06cc-4db2-894e-2dab0933430e/
API ID: 3f39f529-06cc-4db2-894e-2dab0933430e
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/exchanges/{id}/volume_chart
Page update time: 2026-12-03T02:49:14.324Z
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
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:13.731Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## CoinGecko Exchange Volume Chart API

Provide an exchange or derivatives exchange ID and a supported days value. The root array contains two-element rows: Unix timestamp in milliseconds and trading volume in BTC. Volume can be represented as a decimal string.

## What You Can Build

- **Exchange activity charts**: Plot reported BTC volume against its observation time.
- **Exchange comparisons**: Retain the identifier, lookback and denomination for each series.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `[]` | Chart row: Unix timestamp in milliseconds and reported BTC trading volume |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Exchange Volume Chart by ID 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": {
        "id": {
          "type": "string",
          "description": "Exchange ID or derivative exchange ID. \n*refers to [`/exchanges/list`](/reference/exchanges-list) or [`/derivatives/exchanges/list`](/reference/derivatives-exchanges-list)."
        }
      },
      "required": [
        "id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "days": {
          "type": "string",
          "description": "Data up to number of days ago.",
          "enum": [
            "1",
            "7",
            "14",
            "30",
            "90",
            "180",
            "365"
          ]
        }
      },
      "required": [
        "days"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "array",
    "items": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ]
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko/api/v3/exchanges/binance/volume_chart?days=1' \
  -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
[
  [
    1779719400000,
    "76327.6889417086372104"
  ],
  [
    1779720000000,
    "76335.761747668369059"
  ]
]
```

## 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.

## Common questions
### Can I use a derivatives exchange ID?
Yes. This contract accepts an exchange ID or a derivatives exchange ID, such as binance_futures.

### Which lookback periods are supported?
days accepts the strings 1, 7, 14, 30, 90, 180 or 365.

### Are the volume values in USD?
No. The documented chart values are BTC-denominated. Preserve the decimal representation when precision matters.

### Can I choose a custom interval?
This selected contract exposes id and days only. Sampling is automatic; do not add an interval parameter.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- CoinGecko: https://openany.si/coingecko/coingecko-exchange-volume-chart-by-id/3f39f529-06cc-4db2-894e-2dab0933430e/

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