Market Data

public/get_all_currencies

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
  • URL: https://api.derive.xyz/v3/public/get_all_currencies
  • 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

currencystring required
market_type'ALL' | 'SRM_BASE_ONLY' | 'SRM_OPTION_ONLY' | 'SRM_PERP_ONLY' | 'CASH' required
spot_pricestring required
spot_price_24hstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.