# 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, usdc@trx). You can specify multiple cryptocurrencies in request
fiat string Fiat currency (if you specify multiple cryptocurrencies, fiat parameter is required )

# Request example

curl 'https://apirone.com/api/v2/ticker?currency=btc'

# Request example with fiat currency

curl 'https://apirone.com/api/v2/ticker?currency=btc&fiat=usd'

# Request example with multiple cryptocurrencies and fiat currency

curl 'https://apirone.com/api/v2/ticker?currency=btc,ltc&fiat=usd'

# 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": 56716.8657
}

# Response example with fiat currency

{
	"usd": 56716.8657
}

# Response example with multiple cryptocurrencies and fiat currency

{
	"btc": {
		"usd": 56816.0542
	},
	"ltc": {
		"usd": 65.5183
	}
}

# Error response

  • HTTP Status Code: 400 500
  • Content Type: application/json

Playground