Get historical price data for a specific cryptocurrency on a selected exchange.
Market Data
Get Coin Exchange Price
Get historical price data for a specific cryptocurrency on a selected exchange.
GET
Get historical price data for a specific cryptocurrency on a selected exchange.
5 credits per request
Required
Required
- coinId: Coin identifier.
- timestamp: Unix timestamp at which to compute the price.
- exchange: Exchange identifier.
Optional
Optional
- currency: Display currency (defaults to USD).
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
The name of the exchange to get price data from
Example:
"Binance"
The base currency symbol to convert from
Example:
"BTC"
The target currency symbol to convert to
Example:
"ETH"
Unix timestamp in seconds for the historical price lookup
Example:
1636315200
Response
Get Historical coin exchange price
The price of the cryptocurrency in the target currency
Example:
15.7349