Discovery and markets API
How has this tokenized stock, ETF or commodity moved over time?
One tokenized real-world asset's price, market cap and 24 h volume over 1 to 365 days, oldest first, in USD. The window sets the spacing.
/api/external/discovery/rwa-historyWhat it returns
One tokenized real-world asset's price, market cap and traded volume over a window, oldest point first, every figure in USD. The window is 1 to 365 days and sets the spacing: a week answers hourly points, a year answers daily ones. The asset is an id, ticker or name (nvidia, NVDA, gold); one shared by more than one asset resolves to none, so pass the id. An asset that is not listed, or not charted, returns 404.
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"
| 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. |
points | object[] | The series, oldest first. The spacing follows the window, and an asset charted for less than the window answers fewer points. |
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