OpenAny
Get API keyAPI Key
APICrypto & DeFi

coingecko logo
CoinGecko BTC Exchange Rates API

Get CoinGecko BTC Exchange Rates 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 currency name and type to display btc conversions, group currency choices, and build reference comparisons, ready for production pipelines and AI agent automation.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
3Selected implementation · last 30 days
Success rate · 30d
66.67%Selected implementation · last 30 days
USE THIS API

CoinGecko BTC Exchange Rates API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
CoinGecko BTC Exchange Rates API

CoinGecko BTC Exchange Rates API

This GET operation has no declared business input parameters. Its rates object is keyed by currency code, with each entry describing the amount of that currency corresponding to one BTC.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs No business query or body inputs are declared.
Selected implementation coingecko · CoinGecko — BTC-to-Currency Exchange Rates
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Display BTC conversions: Choose a supported currency entry from the returned table.
  • Group currency choices: Separate fiat and crypto entries using type.
  • Build reference comparisons: Record collection times in your application when storing rate snapshots.

Returned Data

Field Meaning
rates.<code>.name Currency name
rates.<code>.unit Display unit or currency symbol
rates.<code>.value Units of the currency per one BTC
rates.<code>.type Currency classification such as fiat or crypto

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/coingecko/api/v3/exchange_rates \
  -H "Authorization: Bearer ${OPENANY_API_KEY}"

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The request below is a calling template; use the published contract and returned response for the selected implementation.

Published CoinGecko BTC Exchange Rates API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters

No input fields are required by this API contract.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
CoinGeckoCurrent
CoinGecko — BTC-to-Currency Exchange Rates · GET · View API reference
$0 / call3
66.67%successP50314ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · CoinGeckoUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/coingecko/api/v3/exchange_rates
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

No input fields are required by this API contract.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • ratesobject
    • aedobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • amdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • arsobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • audobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bamobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bchobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bdtobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bhdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bitsobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bmdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • bnbobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • brlobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • btcobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • cadobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • chfobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • clpobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • cnyobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • copobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • crcobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • czkobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • dkkobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • dopobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • dotobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • eosobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • ethobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • eurobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • gbpobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • gelobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • gtqobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • hkdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • hnlobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • hufobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • idrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • ilsobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • inrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • jpyobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • kesobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • krwobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • kwdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • lbpobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • linkobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • lkrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • ltcobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • mmkobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • mxnobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • myrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • ngnobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • nokobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • nzdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • penobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • phpobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • pkrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • plnobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • ronobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • rubobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • sarobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • satsobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • sekobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • sgdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • solobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • svcobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • thbobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • tryobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • twdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • uahobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • usdobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • vefobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • vndobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • xagobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • xauobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • xdrobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • xlmobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • xrpobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • yfiobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • zarobject
      • namestring
      • typestring
      • unitstring
      • valuenumber
    • zmwobject
      • namestring
      • typestring
      • unitstring
      • valuenumber

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official response / contract request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/coingecko/api/v3/exchange_rates' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "rates": {
        "aed": {
          "name": "United Arab Emirates Dirham",
          "type": "fiat",
          "unit": "DH",
          "value": 278488.131
        },
        "amd": {
          "name": "Armenian Dram",
          "type": "fiat",
          "unit": "֏",
          "value": 27881224.901
        },
        "ars": {
          "name": "Argentine Peso",
          "type": "fiat",
          "unit": "$",
          "value": 106789785.77
        },
        "aud": {
          "name": "Australian Dollar",
          "type": "fiat",
          "unit": "A$",
          "value": 105840.918
        },
        "bam": {
          "name": "Bosnia and Herzegovina Convertible Mark",
          "type": "fiat",
          "unit": "KM",
          "value": 127362.018
        },
        "bch": {
          "name": "Bitcoin Cash",
          "type": "crypto",
          "unit": "BCH",
          "value": 220.614
        },
        "bdt": {
          "name": "Bangladeshi Taka",
          "type": "fiat",
          "unit": "৳",
          "value": 9307822.089
        },
        "bhd": {
          "name": "Bahraini Dinar",
          "type": "fiat",
          "unit": "BD",
          "value": 28600.735
        },
        "bits": {
          "name": "Bits",
          "type": "crypto",
          "unit": "μBTC",
          "value": 1000000.0
        },
        "bmd": {
          "name": "Bermudian Dollar",
          "type": "fiat",
          "unit": "$",
          "value": 75817.765
        },
        "bnb": {
          "name": "Binance Coin",
          "type": "crypto",
          "unit": "BNB",
          "value": 115.992
        },
        "brl": {
          "name": "Brazil Real",
          "type": "fiat",
          "unit": "R$",
          "value": 382288.415
        },
        "btc": {
          "name": "Bitcoin",
          "type": "crypto",
          "unit": "BTC",
          "value": 1.0
        },
        "cad": {
          "name": "Canadian Dollar",
          "type": "fiat",
          "unit": "CA$",
          "value": 104717.981
        },
        "chf": {
          "name": "Swiss Franc",
          "type": "fiat",
          "unit": "Fr.",
          "value": 59575.401
        },
        "clp": {
          "name": "Chilean Peso",
          "type": "fiat",
          "unit": "CLP$",
          "value": 67941058.208
        },
        "cny": {
          "name": "Chinese Yuan",
          "type": "fiat",
          "unit": "¥",
          "value": 515083.156
        },
        "cop": {
          "name": "Colombian Peso",
          "type": "fiat",
          "unit": "$",
          "value": 279126134.558
        },
        "crc": {
          "name": "Costa Rican Colón",
          "type": "fiat",
          "unit": "₡",
          "value": 34279241.577
        },
        "czk": {
          "name": "Czech Koruna",
          "type": "fiat",
          "unit": "Kč",
          "value": 1582693.892
        },
        "dkk": {
          "name": "Danish Krone",
          "type": "fiat",
          "unit": "kr.",
          "value": 487401.483
        },
        "dop": {
          "name": "Dominican Peso",
          "type": "fiat",
          "unit": "RD$",
          "value": 4460079.423
        },
        "dot": {
          "name": "Polkadot",
          "type": "crypto",
          "unit": "DOT",
          "value": 60793.71
        },
        "eos": {
          "name": "EOS",
          "type": "crypto",
          "unit": "EOS",
          "value": 966946.841
        },
        "eth": {
          "name": "Ether",
          "type": "crypto",
          "unit": "ETH",
          "value": 36.856
        },
        "eur": {
          "name": "Euro",
          "type": "fiat",
          "unit": "€",
          "value": 65223.37
        },
        "gbp": {
          "name": "British Pound Sterling",
          "type": "fiat",
          "unit": "£",
          "value": 56399.471
        },
        "gel": {
          "name": "Georgian Lari",
          "type": "fiat",
          "unit": "₾",
          "value": 201993.691
        },
        "gtq": {
          "name": "Guatemalan Quetzal",
          "type": "fiat",
          "unit": "Q",
          "value": 578018.87
        },
        "hkd": {
          "name": "Hong Kong Dollar",
          "type": "fiat",
          "unit": "HK$",
          "value": 594140.994
        },
        "hnl": {
          "name": "Honduran Lempira",
          "type": "fiat",
          "unit": "L",
          "value": 2016966.507
        },
        "huf": {
          "name": "Hungarian Forint",
          "type": "fiat",
          "unit": "Ft",
          "value": 23216805.355
        },
        "idr": {
          "name": "Indonesian Rupiah",
          "type": "fiat",
          "unit": "Rp",
          "value": 1350406835.492
        },
        "ils": {
          "name": "Israeli New Shekel",
          "type": "fiat",
          "unit": "₪",
          "value": 215451.345
        },
        "inr": {
          "name": "Indian Rupee",
          "type": "fiat",
          "unit": "₹",
          "value": 7255573.761
        },
        "jpy": {
          "name": "Japanese Yen",
          "type": "fiat",
          "unit": "¥",
          "value": 12079021.102
        },
        "kes": {
          "name": "Kenyan Shilling",
          "type": "fiat",
          "unit": "KSh",
          "value": 9815367.857
        },
        "krw": {
          "name": "South Korean Won",
          "type": "fiat",
          "unit": "₩",
          "value": 114295300.075
        },
        "kwd": {
          "name": "Kuwaiti Dinar",
          "type": "fiat",
          "unit": "KD",
          "value": 23466.584
        },
        "lbp": {
          "name": "Lebanese Pound",
          "type": "fiat",
          "unit": "ل.ل",
          "value": 6790586630.179
        },
        "link": {
          "name": "Chainlink",
          "type": "crypto",
          "unit": "LINK",
          "value": 8071.362
        },
        "lkr": {
          "name": "Sri Lankan Rupee",
          "type": "fiat",
          "unit": "Rs",
          "value": 24658404.204
        },
        "ltc": {
          "name": "Litecoin",
          "type": "crypto",
          "unit": "LTC",
          "value": 1467.048
        },
        "mmk": {
          "name": "Burmese Kyat",
          "type": "fiat",
          "unit": "K",
          "value": 159202903.032
        },
        "mxn": {
          "name": "Mexican Peso",
          "type": "fiat",
          "unit": "MX$",
          "value": 1312974.009
        },
        "myr": {
          "name": "Malaysian Ringgit",
          "type": "fiat",
          "unit": "RM",
          "value": 300716.004
        },
        "ngn": {
          "name": "Nigerian Naira",
          "type": "fiat",
          "unit": "₦",
          "value": 104085661.749
        },
        "nok": {
          "name": "Norwegian Krone",
          "type": "fiat",
          "unit": "kr",
          "value": 703191.355
        },
        "nzd": {
          "name": "New Zealand Dollar",
          "type": "fiat",
          "unit": "NZ$",
          "value": 129943.993
        },
        "pen": {
          "name": "Peruvian Sol",
          "type": "fiat",
          "unit": "S/",
          "value": 258167.906
        },
        "php": {
          "name": "Philippine Peso",
          "type": "fiat",
          "unit": "₱",
          "value": 4669881.64
        },
        "pkr": {
          "name": "Pakistani Rupee",
          "type": "fiat",
          "unit": "₨",
          "value": 21107508.631
        },
        "pln": {
          "name": "Polish Zloty",
          "type": "fiat",
          "unit": "zł",
          "value": 276389.874
        },
        "ron": {
          "name": "Romanian Leu",
          "type": "fiat",
          "unit": "lei",
          "value": 341733.412
        },
        "rub": {
          "name": "Russian Ruble",
          "type": "fiat",
          "unit": "₽",
          "value": 5459045.262
        },
        "sar": {
          "name": "Saudi Riyal",
          "type": "fiat",
          "unit": "SR",
          "value": 283561.022
        },
        "sats": {
          "name": "Satoshi",
          "type": "crypto",
          "unit": "sats",
          "value": 100000000.0
        },
        "sek": {
          "name": "Swedish Krona",
          "type": "fiat",
          "unit": "kr",
          "value": 706593.222
        },
        "sgd": {
          "name": "Singapore Dollar",
          "type": "fiat",
          "unit": "S$",
          "value": 96873.041
        },
        "sol": {
          "name": "Solana",
          "type": "crypto",
          "unit": "SOL",
          "value": 910.892
        },
        "svc": {
          "name": "Salvadoran Colón",
          "type": "fiat",
          "unit": "₡",
          "value": 663313.856
        },
        "thb": {
          "name": "Thai Baht",
          "type": "fiat",
          "unit": "฿",
          "value": 2477440.273
        },
        "try": {
          "name": "Turkish Lira",
          "type": "fiat",
          "unit": "₺",
          "value": 3480331.296
        },
        "twd": {
          "name": "New Taiwan Dollar",
          "type": "fiat",
          "unit": "NT$",
          "value": 2384248.866
        },
        "uah": {
          "name": "Ukrainian hryvnia",
          "type": "fiat",
          "unit": "₴",
          "value": 3356872.299
        },
        "usd": {
          "name": "US Dollar",
          "type": "fiat",
          "unit": "$",
          "value": 75817.765
        },
        "vef": {
          "name": "Venezuelan bolívar fuerte",
          "type": "fiat",
          "unit": "Bs.F",
          "value": 7591.632
        },
        "vnd": {
          "name": "Vietnamese đồng",
          "type": "fiat",
          "unit": "₫",
          "value": 1997306794.202
        },
        "xag": {
          "name": "Silver - Troy Ounce",
          "type": "commodity",
          "unit": "XAG",
          "value": 995.118
        },
        "xau": {
          "name": "Gold - Troy Ounce",
          "type": "commodity",
          "unit": "XAU",
          "value": 16.843
        },
        "xdr": {
          "name": "IMF Special Drawing Rights",
          "type": "fiat",
          "unit": "XDR",
          "value": 53137.563
        },
        "xlm": {
          "name": "Lumens",
          "type": "crypto",
          "unit": "XLM",
          "value": 516007.211
        },
        "xrp": {
          "name": "XRP",
          "type": "crypto",
          "unit": "XRP",
          "value": 57106.503
        },
        "yfi": {
          "name": "Yearn.finance",
          "type": "crypto",
          "unit": "YFI",
          "value": 31.064
        },
        "zar": {
          "name": "South African Rand",
          "type": "fiat",
          "unit": "R",
          "value": 1242588.207
        },
        "zmw": {
          "name": "Zambian Kwacha",
          "type": "fiat",
          "unit": "ZK",
          "value": 1419566.341
        }
      }
    }

Common questions

What is the base currency?

BTC is the fixed base. Each value describes how many units of the named currency correspond to one BTC.

Can I change the base to ETH or USD?

No base-currency parameter is declared. Use a different operation for a direct non-BTC base query.

Can I request historical rates?

This endpoint exposes no date or time-range input and is not a historical series endpoint.

Are these rates executable trade quotes?

No. Use them as reference market data, not as guaranteed buy or sell execution prices.

Does the response include a quote timestamp?

The documented rate entries contain name, unit, value and type. Record your own retrieval time when freshness tracking is needed.

Do I need separate calls for each currency?

The response is a currency-keyed table. Select supported entries in your application rather than assuming a currency filter input exists.

Use CoinGecko BTC Exchange Rates API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.