CoinGecko Exchange Rates API

BTC exchange rates against other currencies.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /exchange_rates Get current BTC exchange rates · Get BTC exchange rates #
Ask an LLM
“What is the current exchange rate of Bitcoin against all supported currencies?”
“Which fiat currencies, crypto and precious metals can I get BTC rates for?”
Tell an agent
Get the current BTC exchange rates.
Show Bitcoin's exchange rates against all supported currencies.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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 Crypto Market Data Exchange Rates API
  description: The CoinGecko Crypto Market Data API provides comprehensive and reliable cryptocurrency price and market data through RESTful JSON endpoints. It offers over 70 endpoints covering real-time and historical prices, trading volumes, market capitalization, OHLCV data, exchange information, NFT metrics, derivatives data, and public treasury holdings for over 18,000 coins. The Demo API plan provides free access with 30 calls per minute to a subset of 30 publicly accessible endpoints.
  version: 3.0.1
  contact:
    name: CoinGecko Support
    url: https://support.coingecko.com
  termsOfService: https://www.coingecko.com/en/terms
servers:
- url: https://api.coingecko.com/api/v3
  description: CoinGecko Demo API Server
security:
- demoApiKeyHeader: []
- demoApiKeyQuery: []
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'
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