cURL
curl --request GET \ --url https://openapiv1.coinstats.app/coins/price/avg \ --header 'X-API-KEY: <api-key>'
{ "USD": 45123.45, "BTC": 1, "ETH": 15.234 }
Get the historical average price of a specific cryptocurrency for a given date.
API key needed to access the endpoints. Example: 'demo-api-key'
"bitcoin"
1636315200
Get Historical global avg price
Price in US Dollars
45123.45
Price in Bitcoin (BTC)
1
Price in Ethereum (ETH)
15.234
Was this page helpful?