GET
/
exchange
/
chart
cURL
curl --request GET \
  --url https://openapiv1.coinstats.app/exchange/chart \
  --header 'X-API-KEY: <api-key>'
{
  "result": [
    [
      1735120800000,
      8.4033,
      0.00008561,
      0.00240652
    ],
    [
      1735120800000,
      8.4033,
      0.00008561,
      0.00240652
    ]
  ]
}
50 credits per request
Returns exchange chart data for specific time ranges displayed on the CoinStats website. Note: Make sure the exchange is synced first by calling PATCH /sync for up to date infromation.

Authorizations

X-API-KEY
string
header
required

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

Query Parameters

portfolioId
string
required

The identifier of portfolio, which you received from /exchange/balance call response.

type
string
required

One of 24h, 1w, 1m, 3m, 6m, 1y, all time periods.

Response

200
application/json

Get exchange chart

The response is of type object.