Market Data

public/get_all_currencies

Changed on

Returns detailed metadata for every configured currency, including supported instrument types, risk managers, spot price and 24h-ago price, SRM/portfolio margin collateral discounts, lending borrow/supply APYs, open-interest caps and utilization per manager, and protocol asset addresses. Currencies that exist but have no configured assets are omitted. Public endpoint, no authentication required.

post/public/get_all_currencies

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

EmptyRequest required

This method takes no parameters; send an empty object {}.

Braced rather than a unit struct so schemars emits {"type": "object"}: a unit struct emits null, which contradicts the line above and forced every generated client to cast around the params type.

Response

Success

Currency[] required
currency, string required
managers, UniverseManagers[] required

Managers risk-pricing this currency, one entry per universe where at least one manager covers it.

market_type, 'ALL' | 'SRM_BASE_ONLY' | 'SRM_OPTION_ONLY' | 'SRM_PERP_ONLY' | 'CASH' required

Which instrument/collateral classes the currency is enabled for.

option, AssetEntry nullable

A non-spot asset (option or perp) and its per-universe risk.

perp, AssetEntry nullable

A non-spot asset (option or perp) and its per-universe risk.

spot, SpotAssetEntry[] required

Every spot asset registered to this currency (e.g. lending "USDC" and non-lending "USDC-NL").

spot_price, string required
spot_price_24h, string nullable

Changes