| Path | /v2/assets/price-history |
| Method | GET |
| Headers | Content-Type: application/json Authorization: Bearer <token> |
| Parameter | Required | Type | Description | Example |
|---|---|---|---|---|
| asset | Yes | string | The identifier for the asset. Can be a symbol (e.g., BTC, ETH) or asset ID. | "BTC" |
| start_time | Yes | string (ISO8601 UTC format) | The start timestamp for the historical data range. Must be a valid ISO8601 UTC timestamp. | "2024-01-01T00:00:00Z" |
| end_time | No | string (ISO8601 UTC format) | The end timestamp for the historical data range. If not provided, defaults to the most recent complete time interval. | "2024-12-31T23:59:59Z" |
| interval | No | enum | The time interval for each data point in ISO8601 duration. Defaults to P1D if not specified. Possible values: PT1H - 1 hour PT4H - 4 hours PT12H - 12 hours P1D - 1 day P1W - 1 week | "interval=P1D" |
| limit | No | integer | The maximum number of data points to return per page. Defaults to 1000, maximum is 10000. | 1000 |
curl -X GET "https://api.getcalico.com/enterprise/v2/assets/price-history?asset=BTC&start_time=2026-03-25T19:29:34.844Z&interval=P1D" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"| Name | Type | Description | Example |
|---|---|---|---|
| interval | enum | Interval in ISO 86011 duration format | "P1D" |
| currency | enum (constant) | USD pricing only | "USD" |
| source | enum (constant) | Pricing source "coingecko" | |
| bars | array | An array of bar objects | |
| bar.timestamp | string | ISO8601 UTC timestamp for the data point | 2026-07-24T13:53:54.058Z" |
| bar.open | string | Aggregated opening price of the asset during the time interval. | "462.69" |
| bar.high | string | Aggregated highest price of the asset during the time interval. | "375.73" |
| bar.low | string | Aggregated lowest price of the asset during the time interval. | "103.54" |
| bar.close | string | Aggregated closing price of the asset during the time interval. | "331.45" |
| bar.volume | string | Aggregated trading volume of the asset during the time interval. | "147.46" |
{
"data": {
"bars": [
{
"timestamp": "2024-09-15T00:00:00Z",
"open": "2417.81",
"high": "2429.85",
"low": "2341.68",
"close": "2345.5",
"volume": "160514111255.018185"
},
{
"timestamp": "2024-09-16T00:00:00Z",
"open": "2346.53",
"high": "2346.53",
"low": "2261.25",
"close": "2286",
"volume": "360704704163.409893"
},
...
{
"timestamp": "2024-12-23T00:00:00Z",
"open": "3282.8",
"high": "3457.84",
"low": "3224.07",
"close": "3442.84",
"volume": "735332157438.02071"
}
],
"source": "coingecko",
"interval": "P1D",
"currency": "USD"
},
"page": {
"next_uri": "/enterprise/v2/assets/price-history?asset=ethereum&start_time=2024-09-15T00:00:00Z&interval=P1D&limit=100&end_time=2026-09-15T00:00:00Z&cursor=eyJhc3NldCI6ImV0aGVyZXVtIiwiaW50ZXJ2YWwiOiJQMUQiLCJzdGFydF90aW1lIjoiMjAyNC0wOS0xNVQwMDowMDowMFoiLCJlbmRfdGltZSI6IjIwMjYtMDktMTVUMDA6MDA6MDBaIiwibGFzdF9iYXJfdGltZSI6IjIwMjQtMTItMjNUMDA6MDA6MDBaIn0"
}
}