Skip to main content
POST
Get asset metrics breakdown

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

asset_id
string
required

ID of the asset

Allows you to select one of the assets available.

The full list is available on the assets endpoint (see above).

Body

application/json
metric_ids
string[]
required

List of metrics to include according to asset metric availability.

Allows you to select one or more of the metrics available for a specific asset.

If an empty array is provided, it defaults to ['asset_price'].

Example:
group_by
enum<string>
required

Dimension to group the breakdown by.

Available options: assets, projects, product, chains, market-sector, reference-asset, chain-asset, chain-project, product+chain, venue, asset+venue, venue+chain, market-sector+venue.

reference-asset groups by the price reference the underlying assets track (for example Credit fund, S&P 500), and returns a reference_asset label on each row. Assets that track no reference asset are excluded from that breakdown.

The venue composites (asset+venue, venue+chain, market-sector+venue) combine venue with a second dimension and are only meaningful for the venue-scoped metrics (asset_tvl, asset_trading_volume, asset_notional_trading_volume).

Available options:
assets,
projects,
product,
chains,
market-sector,
reference-asset,
chain-asset,
chain-project,
product+chain,
venue,
asset+venue,
venue+chain,
market-sector+venue
Example:

"assets"

interval
enum<string>
default:7d

Length of the aggregation window. Defaults to 7d. The window ends at the latest available date, or the day before end if given.

Ignored when both start and end are given; the window is then the date range [start, end).

Available options:
24h,
7d,
30d,
90d,
180d,
365d,
1095d,
1825d,
ytd,
max
Example:

"30d"

data_ids
string[]

List of project data IDs to filter by.

Allows you to select one or more projects. When including multiple projects, separate each one with a comma.

Example:
product_ids
string[]

List of product IDs to filter by.

Allows you to select one or more products. When including multiple products, separate each one with a comma.

Example:
asset_ids
string[]

List of asset IDs to filter by.

Allows you to select one or more assets. When including multiple assets, separate each one with a comma.

chain_ids
string[]

List of chain IDs to filter by.

Allows you to select one or more chains. When including multiple chains, separate each one with a comma.

Example:
market_sector_ids
string[]

List of market sector IDs to filter by.

Allows you to select one or more market sectors. When including multiple market sectors, separate each one with a comma.

The full list of available market sectors can be retrieved from the /v2/market-sectors endpoint.

Example:
reference_asset_ids
string[]

List of reference asset IDs to filter by (for example creditfund, sp500).

The filter counterpart of group_by: reference-asset: use it to restrict the breakdown to assets tracking a specific price reference. Assets that track no reference asset are excluded.

The full list of available reference assets can be retrieved from the /v2/reference-assets endpoint.

Example:
venues
object[]

List of venues (the protocol and product a metric was earned on) to filter by. Only applies to venue-scoped metrics (asset_tvl, asset_trading_volume, asset_notional_trading_volume) -- distinct from data_ids/product_ids, which filter by the asset's own issuer or manager.

Each entry must specify both data_id and product_id together -- a product_id can never be given without its matching data_id.

Example:
includeSelf
boolean
default:false

Include the asset itself in the breakdown results.

If not specified, defaults to false.

start
string<date>

First date of the aggregation window, inclusive (YYYY-MM-DD).

With end, the window is the half-open range [start, end) and interval is ignored. Without end, the window spans interval days starting on start.

end
string<date>

End of the aggregation window, exclusive (YYYY-MM-DD). Data for this date is not included; must be after start, otherwise the request is rejected with a 400.

For a full calendar month use the first day of the next month, e.g. start=2026-08-01, end=2026-09-01. Without start, the window spans interval days ending the day before end. If omitted entirely, the window ends at the latest date for which data is available. If the day before end has no data yet, the window ends at the latest available date before it.

ignore_threshold
boolean
default:false

Ignore metric thresholds when calculating breakdowns.

If not specified, defaults to false.

Response

OK

data
object[]
errors
object[]
Example: