Skip to main content
GET
/
coins
/
price
/
exchange
Get historical price data for a specific cryptocurrency on a selected exchange.
curl --request GET \
  --url https://openapiv1.coinstats.app/coins/price/exchange \
  --header 'X-API-KEY: <api-key>'
{
  "price": 15.7349
}
5 credits per request

Authorizations

X-API-KEY
string
header
required

API key needed to access the endpoints. Example: 'demo-api-key'

Query Parameters

exchange
string
required

The name of the exchange to get price data from

Example:

"Binance"

from
string
required

The base currency symbol to convert from

Example:

"BTC"

to
string
required

The target currency symbol to convert to

Example:

"ETH"

timestamp
number
required

Unix timestamp in seconds for the historical price lookup

Example:

1636315200

Response

Get Historical coin exchange price

price
number
required

The price of the cryptocurrency in the target currency

Example:

15.7349

I