Prerequisites
- Obtain an API key
- Set it as an environment variable:
Find U.S. Treasury assets
Fetch all assets in the U.S. Treasuries asset class, sorted by market value.filternarrows results to assets classified asUS Treasury Debtsortorders by market value, largest firstpaginationlimits to 5 results on page 1
val) plus historical snapshots (val_7d, val_30d, val_90d) and deltas (chg_7d_amt, chg_7d_pct, etc.).
Note the id field — you’ll use it in later examples.
Browse asset managers
The/v4/managers endpoint lists entities that manage RWA funds. This is one of several entity endpoints (/v4/issuers, /v4/platforms, /v4/networks) that all support the same query language.
List an asset’s tokens
An asset represents a financial product (e.g., “Ondo Short-Term US Government Bond Fund”). A token is a specific on-chain deployment of that asset — the same asset can have tokens on multiple chains. Use/v4/tokens to see all the on-chain tokens for a given asset.
Get historical NAV for an asset
Use/v4/assets/aggregates/timeseries to pull historical metrics for an asset. The timeseries endpoints require a measure_slug filter to specify which metric you want — use the Data Catalog or the /v4/assets/aggregates/meta endpoint to discover available measures.
Replace ASSET_ID with an id from a previous response.
filtercombines two conditions withand— a specific asset and the NAV measure- The timeseries endpoint defaults to daily granularity when no
aggregateblock is provided
measure descriptor, a group descriptor, and an array of points where each point is a [date, value] pair.
Track token supply across chains
Use/v4/tokens/aggregates/timeseries instead of the asset timeseries when you need chain-level granularity. The aggregate.groupBy: "token" option returns a separate series for each on-chain token, so you can see how supply is distributed across networks.
groupBy: "token"returns one series per on-chain token (e.g., Ethereum USYC, Solana USYC)mode: "stock"returns point-in-time snapshots (use"flow"to accumulate values over a period)- Compare with the previous example: asset timeseries gives you one combined series, token timeseries breaks it out per chain
Aggregate value across an asset class
To see the total value for all assets in a class combined, useaggregate.groupBy: "asset_class". This sums across every asset in the category.
groupBy: "asset_class"sums values across all assets in the class into a single seriesinterval: "month"returns one data point per month- This gives you the total market size of tokenized U.S. Treasuries over time
Query on-chain transactions
Use/v4/transactions to query individual on-chain events — mints, burns, and transfers. This example finds large transactions (over $100,000 USD) for a specific asset, demonstrating comparison operators like gte.
gte(greater than or equal) is one of several comparison operators — see Requests for the full list- Transactions default to
datedescending, but we include it explicitly for clarity - Each result includes nested
asset,token, andtransaction_typeobjects
The transactions endpoint is rate limited to 120 requests per hour per organization. See Rate Limits.
Discovering available fields
Every resource endpoint has a corresponding/meta endpoint that returns the available fields, their types, valid filter operators, and select options. This is useful for building dynamic queries or exploring what’s filterable.
Next steps
- Requests — full reference for filters, sorting, pagination, and aggregation
- Endpoints — overview of all available endpoints
- Assets schema — complete field reference for assets
- Tokens schema — complete field reference for tokens
- Data Catalog — browse all entities, fields, and measures