Skip to main content

Data API: Exchange Rates

Table of Endpoints

NameMethodEndpointScope
Get Exchange RatesGET/v2/exchange-ratesN/A

Get Exchange Rates

Get current exchange rates. Default base currency is USD but it can be defined as any supported currency (see Currencies endpoint). Returned rates will define the exchange rate for one unit of the base currency.

This endpoint doesn't require authentication.

HTTP Request

GET https://api.coinbase.com/v2/exchange-rates

Scopes

  • No permission required

Arguments

ParameterTypeRequiredDescription
currencystringOptionalBase currency (default: USD)

Examples

Request

curl https://api.coinbase.com/v2/exchange-rates?currency=BTC

Response

{
"data": {
"currency": "BTC",
"rates": {
"AED": "36.73",
"AFN": "589.50",
"ALL": "1258.82",
"AMD": "4769.49",
"ANG": "17.88",
"AOA": "1102.76",
"ARS": "90.37",
"AUD": "12.93",
"AWG": "17.93",
"AZN": "10.48",
"BAM": "17.38",
...
}
}
}

Was this helpful?