# CoinGecko — Crypto Global Market Data

Get CoinGecko global crypto market data 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 reported active cryptocurrency count, reported market count, usd, and btc for market overview panels, and dominance views, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/coingecko/coingecko-crypto-global-market-data/6f09617b-0531-4c18-9a58-ebf96f1e259b/
API ID: 6f09617b-0531-4c18-9a58-ebf96f1e259b
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/global
Page update time: 2026-12-03T02:49:14.231Z
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.503Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## CoinGecko Global Crypto Market API

Call this GET endpoint without business input parameters. The data object combines global counts, currency-keyed market totals, market-cap dominance percentages and updated\_at. Keep percentage values separate from monetary totals.

## What You Can Build

- **Market overview panels**: Display reported global totals alongside their currency units.
- **Dominance views**: Show reported coin percentages separately from capitalization values.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data.active_cryptocurrencies` | Reported active cryptocurrency count |
| `data.markets` | Reported market count |
| `data.total_market_cap.usd` | Reported global market capitalization in USD |
| `data.total_volume.usd` | Reported global trading volume in USD |
| `data.market_cap_percentage.btc` | Reported Bitcoin market-cap share as a percentage |
| `data.updated_at` | Reported update time as Unix seconds |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Crypto Global Market Data 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": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "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": {
        "active_cryptocurrencies": {
          "type": "integer"
        },
        "ended_icos": {
          "type": "integer"
        },
        "market_cap_change_percentage_24h_usd": {
          "type": "number"
        },
        "market_cap_percentage": {
          "type": "object",
          "properties": {
            "btc": {
              "type": "number"
            },
            "eth": {
              "type": "number"
            },
            "usdt": {
              "type": "number"
            }
          }
        },
        "markets": {
          "type": "integer"
        },
        "ongoing_icos": {
          "type": "integer"
        },
        "total_market_cap": {
          "type": "object",
          "properties": {
            "btc": {
              "type": "number"
            },
            "eth": {
              "type": "number"
            },
            "usd": {
              "type": "number"
            }
          }
        },
        "total_volume": {
          "type": "object",
          "properties": {
            "btc": {
              "type": "number"
            },
            "eth": {
              "type": "number"
            },
            "usd": {
              "type": "number"
            }
          }
        },
        "upcoming_icos": {
          "type": "integer"
        },
        "updated_at": {
          "type": "integer"
        },
        "volume_change_percentage_24h_usd": {
          "type": "number"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko/api/v3/global' \
  -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": {
    "active_cryptocurrencies": 17397,
    "ended_icos": 3376,
    "market_cap_change_percentage_24h_usd": -1.6081983639177684,
    "market_cap_percentage": {
      "btc": 57.9539332566265,
      "eth": 9.58227145398409,
      "usdt": 7.223241338072757
    },
    "markets": 1476,
    "ongoing_icos": 49,
    "total_market_cap": {
      "btc": 34570737.199462704,
      "eth": 1259418635.423994,
      "usd": 2621040321355.0405
    },
    "total_volume": {
      "btc": 1254779.1727158197,
      "eth": 45711847.69194817,
      "usd": 95133256404.37308
    },
    "upcoming_icos": 0,
    "updated_at": 1779878351,
    "volume_change_percentage_24h_usd": 33.064521460740046
  }
}
```

## 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 filter the global totals to a list of coins?
No coin filter is exposed by this implementation. Use a coin-market endpoint for a selected asset list.

### Is market_cap_percentage a monetary value?
No. It contains dominance percentages by coin key. total_market_cap and total_volume contain currency-denominated values.

### Can I choose vs_currency?
This contract has no business input parameters. Read the required currency from the returned totals maps.

### What timestamp unit does updated_at use?
The documented global response uses Unix seconds, unlike historical chart arrays that use milliseconds.

### 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-crypto-global-market-data/6f09617b-0531-4c18-9a58-ebf96f1e259b/

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