Skip to main content
GET
Get aggregate RWA market history
3 credits per request

  • Up to 500 sampled market cap or rolling 24h volume observations with stock, commodity, and ETF breakdowns.
  • range: 24h, 7d (default), 30d, 1y, or all.
  • metric: marketCap (default) or volume.
  • currency: Defaults to USD.
Point timestamps are Unix milliseconds. Aggregate history ranges differ from per-asset history ranges.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Query Parameters

currency
string
default:USD

Uppercase currency code from /currencies. Monetary values use this currency; percentages and quantities are unchanged.

range
enum<string>
default:7d

Aggregate history range. Returns at most 500 sampled points.

Available options:
24h,
7d,
30d,
1y,
all
metric
enum<string>
default:marketCap
Available options:
marketCap,
volume

Response

currency
string
required
Example:

"USD"

updatedAt
string<date-time> | null
required

Publication/section update time, never request time.

isStale
boolean
required

Whether the upstream publication/section has exceeded its freshness threshold.

range
enum<string>
required
Available options:
24h,
7d,
30d,
1y,
all
metric
enum<string>
required
Available options:
marketCap,
volume
points
object[]
required
Maximum array length: 500