GET
/
price-converter
CLI
curl --request GET \
--url 'https://api.coinpaprika.com/v1/price-converter?base_currency_id=btc-bitcoin&quote_currency_id=eth-ethereum&amount=1.2'
{
  "base_currency_id": "btc-bitcoin",
  "base_currency_name": "Bitcoin",
  "base_price_last_updated": "2019-02-26T13:32:39Z",
  "quote_currency_id": "usd-us-dollars",
  "quote_currency_name": "US Dollars",
  "quote_price_last_updated": "2019-02-26T13:33:45Z",
  "amount": 100,
  "price": 386621.99158499995
}

Query Parameters

base_currency_id
string
required
quote_currency_id
string
required
amount
integer
default:0

Response

200
application/json

successful operation

The response is of type object.