Discovery and markets API
Tokenized asset history brief: the trend in a few points
At most 60 points of price, market cap and volume over 1 to 365 days, plus the price change, high and low.
/api/external/discovery/rwa-history-briefWhat it returns
The brief of rwa-history; prefer it unless you need every point. The same asset and window, with the series thinned to at most 60 points evenly spaced over it, the first and the last always kept, each exactly as rwa-history lists it. Over every point of the window it adds the price change from the first known price to the last and the highest and lowest price.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/discovery/rwa-history-brief"
| Parameter | Description |
|---|---|
assetquery · string · optional | The asset, by id, ticker or name, e.g. nvidia, NVDA, gold. Defaults to nvidia. |
daysquery · string · optional | The trailing window, a whole number of days from 1 to 365. Defaults to 30; anything else is a 400 (enforced after the API-key gate). |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
id | string | The asset answered, by id, lowercase. |
symbol | string | The asset's ticker, e.g. nvda. |
name | string | The asset's name, e.g. NVIDIA. |
assetType | string | What the asset is. |
days | integer | The window answered, in days. |
pointCount | integer | Points in the full series over the window. |
priceChangePercent | number | null | From the first known price in the window to the last, in percent, two decimals. Null without two known prices. |
priceHighUsd | number | null | The highest price over every point of the window, in USD. Null when none is known. |
priceLowUsd | number | null | The lowest price over every point of the window, in USD. Null when none is known. |
points | object[] | At most 60 of the series' points, evenly spaced over the window, oldest first; the first and the last are always kept. |
points[].timestamp | integer | Unix seconds. |
points[].priceUsd | number | null | The price of one token at that instant, in USD. |
points[].marketCapUsd | number | null | Every token of the asset together at that instant, in USD. |
points[].volumeUsd | number | null | The volume traded in the 24 h before that instant, in USD. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key