---
title: "Persisted price history for one active registry asset"
method: GET
path: "/asset-registry/price/history"
tags: ["asset-registry"]
---

# Persisted price history for one active registry asset

`GET /asset-registry/price/history`

## Request

- Base URL: `https://api.dre.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dre.app/asset-registry/price/history`
- Auth: none declared
- TypeScript: <https://skmtc.dev/dre/apis/dre-api/docs/asset-registry/price/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Takes the same selector as `GET /asset-registry/price`, plus a window. Points are chronological, uniquely timestamped, and bounded:

| Window | Source | Sampling | Max points |
|---|---|---|---|
| `24h` | 15-minute | raw buckets | 96 |
| `1w` | 15-minute | last per UTC hour | 168 |
| `1m` | 15-minute | last per UTC 6-hour bucket | 124 |
| `3m` | daily | daily | 92 |
| `6m` | daily | daily | 184 |
| `1y` | daily | daily | 366 |
| `all` | daily | widened as needed | 500 |

## Query parameters

- `assetKey` string
- `chainId` number
- `address` string
- `window` '24h' | '1w' | '1m' | '3m' | '6m' | '1y' | 'all', required

## Response `200`

`{ assetKey, window, points[] }`.

## Other responses

- `400`: Missing, incomplete, or duplicated asset selector.
- `404`: No **active** registry asset matches the selector.

---

[API](https://skmtc.dev/dre/apis/dre-api.md) - [All operations](https://skmtc.dev/dre/apis/dre-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dre/apis/dre-api/revisions/af4c974abc44?raw)
