# Exchange Rate
Exchange rates are taken from several sources such as:
# Ticker
Ticker contains current Market Prices and exchanges rate API.
# Request
- HTTP Method:
GET
- URL:
https://apirone.com/api/v2/ticker?currency=btc
Parameter | Type | Description | Required |
---|---|---|---|
currency | string | Currency type (btc, ltc, bch, doge, trx, usdt@trx) |
# Request example
curl 'https://apirone.com/api/v2/ticker?currency=btc'
# Success Response Reference
- HTTP Status Code:
200
- Content Type:
application/json
Parameter | Type | Description |
---|---|---|
symbol | string | Currency symbol code ISO 4217 (opens new window) |
amount | decimal | Exchange rate |
# Response example
{
"aed": 206678.9716,
"afn": 4418186.4483,
"all": 5858642.659,
"amd": 29717200.6033,
"usd": 56269.799,
...
}
# Error response
- HTTP Status Code:
400
500
- Content Type:
application/json