Market Data

public/get_currency

Returns the full detail record for one currency named by the required currency parameter: supported instrument types, risk managers, current and 24h spot price, margin collateral discounts, lending APYs and totals, per-manager open-interest caps and current OI, and protocol asset addresses. Returns a not-found error for unknown currencies. Public endpoint.

post/public/get_currency

Request

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

Request body

currencystring required

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.