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.

GET/api/external/discovery/rwa-history-brief

What 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"
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 Tokenized asset history brief: the trend in a few points
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.
pointCountintegerPoints in the full series over the window.
priceChangePercentnumber | nullFrom the first known price in the window to the last, in percent, two decimals. Null without two known prices.
priceHighUsdnumber | nullThe highest price over every point of the window, in USD. Null when none is known.
priceLowUsdnumber | nullThe lowest price over every point of the window, in USD. Null when none is known.
pointsobject[]At most 60 of the series' points, evenly spaced over the window, oldest first; the first and the last are always kept.
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