GET
/
coins
/
{coinId}
/
charts
cURL
curl --request GET \
  --url https://openapiv1.coinstats.app/coins/{coinId}/charts \
  --header 'X-API-KEY: <api-key>'
[
  [
    1438905600,
    2.83162,
    0.0101411,
    1
  ],
  [
    1438992000,
    2.7976,
    0.0100039,
    1
  ],
  [
    1439078400,
    0.725225,
    0.00278432,
    1
  ],
  [
    1439164800,
    0.671728,
    0.00252591,
    1
  ],
  [
    1439251200,
    0.71888,
    0.00271961,
    1
  ]
]
3 credits per request
Returns historical chart data for a specific cryptocurrency using coinId.

Authorizations

X-API-KEY
string
header
required

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

Path Parameters

coinId
string
required

The identifier of coin, which you received from /coins call response.

Query Parameters

period
enum<string>
required
Available options:
all,
24h,
1w,
1m,
3m,
6m,
1y

Response

200
application/json

Get Historical global avg price chart.

The response is of type number[][].