CoinGecko Exchange Rates API

BTC exchange rates against other currencies.

Operations 1

GET /exchange_rates Get BTC exchange rates #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coingecko:coingecko-exchange-rates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coingecko-exchange-rates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coingecko Exchange Rates API
  version: '1.0'
  description: 'Operations tagged Exchange Rates across 2 of this provider''s published API definitions: coingecko-crypto-market-data-api-openapi.yml, coingecko-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.coingecko.com/api/v3
  description: CoinGecko Demo API Server
- url: https://pro-api.coingecko.com/api/v3
tags:
- name: Exchange Rates
  description: BTC exchange rates against other currencies.
paths:
  /exchange_rates:
    get:
      operationId: getExchangeRates
      summary: Get BTC exchange rates
      description: Get the current exchange rates for BTC against all supported currencies. Includes fiat currencies, cryptocurrencies, and precious metals.
      tags:
      - Exchange Rates
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  rates:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/ExchangeRate'
      security:
      - demoApiKeyHeader: []
      - demoApiKeyQuery: []
    servers:
    - url: https://api.coingecko.com/api/v3
      description: CoinGecko Demo API Server
components:
  schemas:
    ExchangeRate:
      type: object
      properties:
        name:
          type: string
          description: Currency name
        unit:
          type: string
          description: Currency unit symbol
        value:
          type: number
          description: Exchange rate value relative to BTC
        type:
          type: string
          description: Currency type (fiat, crypto, commodity)
          enum:
          - fiat
          - crypto
          - commodity
    ExchangeRates:
      type: object
      required:
      - rates
      properties:
        rates:
          type: object
          description: Exchange rates keyed by currency code
          additionalProperties:
            type: object
            required:
            - name
            - unit
            - value
            - type
            properties:
              name:
                type: string
                description: Currency name
              unit:
                type: string
                description: Currency unit symbol
              value:
                type: number
                description: Exchange rate value relative to BTC
              type:
                type: string
                description: 'Currency type: crypto, fiat, or commodity'
  securitySchemes:
    demoApiKeyHeader:
      type: apiKey
      in: header
      name: x-cg-demo-api-key
      description: CoinGecko Demo API key passed via request header. Obtain a free key from the CoinGecko developer dashboard.
    demoApiKeyQuery:
      type: apiKey
      in: query
      name: x_cg_demo_api_key
      description: CoinGecko Demo API key passed via query string parameter.
    headerAuth:
      type: apiKey
      in: header
      name: x-cg-pro-api-key
      description: Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)
    queryAuth:
      type: apiKey
      in: query
      name: x_cg_pro_api_key
      description: Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)
externalDocs:
  description: CoinGecko API Documentation
  url: https://docs.coingecko.com
x-refined-from:
- coingecko-crypto-market-data-api-openapi.yml
- coingecko-openapi.json