Exchange Rates
DevelopingGET
/exchange-ratesLast modified: 17 days ago
API endpoint is useful for applications where you want to get exchange rates for all currencies.
Request
Header Params
x-api-key
string
required
Example:
{{CHAMPION_API_KEY}}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {3}]
required
code
string
required
name
string
required
price
integer | number
required
meta
object
required
method
string
required
base_currency
string
required
Example
Success
{
"data": [
{
"code": "BTC",
"name": "Bitcoin",
"price": 66866
},
{
"code": "LTC",
"name": "Litecoin",
"price": 69.64
},
{
"code": "BCH",
"name": "Bitcoin Cash",
"price": 353.08
},
{
"code": "ETH",
"name": "Ethereum",
"price": 2521.03
},
{
"code": "DOGE",
"name": "DogeCoin",
"price": 0.137811
},
{
"code": "TCN",
"name": "Test Coin",
"price": 1
},
{
"code": "DASH",
"name": "Dash",
"price": 22.99
},
{
"code": "USDTERC20",
"name": "Tether USD ERC20",
"price": 1
},
{
"code": "BNB",
"name": "Binance Coin",
"price": 587.59
},
{
"code": "TRX",
"name": "Tron",
"price": 0.162905
},
{
"code": "USDTTRC20",
"name": "Tether USD TRC20",
"price": 1
},
{
"code": "ZANO",
"name": "Zano",
"price": 6.18
}
],
"meta": {
"method": "exchange-rates",
"base_currency": "USD"
}
}
Last modified: 17 days ago