GET
/
coins
/
price
/
avg
cURL
curl --request GET \
  --url https://openapiv1.coinstats.app/coins/price/avg \
  --header 'X-API-KEY: <api-key>'
4 credits per request
Returns the historical average price of a specific cryptocurrency for a given date.

Authorizations

X-API-KEY
string
header
required

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

Query Parameters

coinId
string
required
Example:

"bitcoin"

timestamp
number
required
Example:

1636315200

Response

200

Get Historical global avg price