About this endpoint
What it does
Returns daily price history for a queried symbol over a number of days, compared against a selected vs currency. The response includes the symbol, quote currency, day range, data source, and an array of time-series points.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| symbol | String | Yes | The asset symbol to fetch price history for. |
| vs | ENUM | No | Quote currency to compare against. Allowed values: usd, eur, gbp, btc, eth. Default: usd. |
| days | Integer | No | Number of days to return. Default: 7. Minimum: 1. Maximum: 365. |
Response
Returns a JSON object with source (String), symbol (String), vs (String), days (Integer), and points (Object Array) fields. points contains one object per time point, and each item includes t (Integer), price (Number), and volume (Number).
| Attribute | Type | Description |
|---|---|---|
| source | String | Data source identifier. |
| symbol | String | The asset symbol returned by the API. |
| vs | ENUM | Quote currency used in the response. Allowed values: usd, eur, gbp, btc, eth. |
| days | Integer | Number of days included in the history. |
| points | Object Array | Array of time-series points. Each item contains: t (Integer): Unix timestamp in milliseconds, price (Number), and volume (Number). |



