GET
/
exchange_rates
BTC-to-Currency Exchange Rates
curl --request GET \
  --url https://api.coingecko.com/api/v3/exchange_rates \
  --header 'x-cg-demo-api-key: <api-key>'
{
  "rates": {
    "btc": {
      "name": "Bitcoin",
      "unit": "BTC",
      "value": 1,
      "type": "crypto"
    },
    "eth": {
      "name": "Ether",
      "unit": "ETH",
      "value": 20.656,
      "type": "crypto"
    },
    "ltc": {
      "name": "Litecoin",
      "unit": "LTC",
      "value": 684.945,
      "type": "crypto"
    },
    "bch": {
      "name": "Bitcoin Cash",
      "unit": "BCH",
      "value": 102.254,
      "type": "crypto"
    },
    "bnb": {
      "name": "Binance Coin",
      "unit": "BNB",
      "value": 119.846,
      "type": "crypto"
    }
  }
}

Tips

  • You may use this endpoint to convert the response data, which is originally in BTC, to other currencies.

Note

  • Cache / Update Frequency: every 5 minutes for all the API plans.

Authorizations

x-cg-demo-api-key
string
header
required

Response

200 - application/json

List rates

The response is of type object.