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.

GET/api/external/discovery/rwa-history

What 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"
Parameters
ParameterDescription
asset

query · string · optional

The asset, by id, ticker or name, e.g. nvidia, NVDA, gold. Defaults to nvidia.
days

query · 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.

Response fields of How has this tokenized stock, ETF or commodity moved over time?
FieldTypeDescription
idstringThe asset answered, by id, lowercase.
symbolstringThe asset's ticker, e.g. nvda.
namestringThe asset's name, e.g. NVIDIA.
assetTypestringWhat the asset is.
daysintegerThe window answered, in days.
pointsobject[]The series, oldest first. The spacing follows the window, and an asset charted for less than the window answers fewer points.
points[].timestampintegerUnix seconds.
points[].priceUsdnumber | nullThe price of one token at that instant, in USD.
points[].marketCapUsdnumber | nullEvery token of the asset together at that instant, in USD.
points[].volumeUsdnumber | nullThe 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