---
title: "public/get_all_instruments"
method: POST
path: "/public/get_all_instruments"
tags: ["Market Data"]
---

# public/get_all_instruments

`POST /public/get_all_instruments`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/get_all_instruments`
- Auth: none declared

Returns a paginated, name-descending list of full instrument definitions filtered by `instrument_type`, optional `currency` and optional `risk_universe_id`, with `page`/`page_size` (max 1000) controls and pagination metadata. For options, `expired` selects the listing: `false` returns live options, `true` returns only expired options. An option enters the expired listing up to a minute before it expires, so it does not drop out of both listings at expiry. Perps and spot ignore `expired`. An empty listing returns `instrument_not_found`; a page past the end returns the last page. An option's `settlement_price` here can lag settlement by a few minutes; `public/get_instrument` returns it at once. Public endpoint.

## Request body

- GetAllInstrumentsRequest
  - `currency` string, nullable
  - `expired` boolean, required
  - `instrument_type` 'option' | 'perp' | 'erc20', required: Asset type of the instrument: `"option"`, `"perp"`, or `"erc20"`.
  - `page` integer, nullable
  - `page_size` integer, nullable
  - `risk_universe_id` integer, nullable

## Response `200`

Success

- GetAllInstrumentsResponse
  - `instruments` Instrument[], required
    - `amount_step` string, required
    - `base_asset_address` string, required: The traded asset's contract address — word 0 (`asset`) of the order action `data`. Use this (not `erc20_details`) when signing an order.
    - `base_asset_sub_id` string, required: The traded asset's sub-id — word 1 (`subId`) of the order action `data`. Decimal string; `"0"` for perps and spot.
    - `base_currency` string, required
    - `base_fee` string, required
    - `erc20_details` SpotPublicDetails, nullable
      - `borrow_index` string, required
      - `decimals` integer, required
      - `supply_index` string, required
      - `underlying_erc20_address` string, required
    - `fifo_min_allocation` string, required
    - `instrument_name` string, required
    - `instrument_type` 'option' | 'perp' | 'erc20', required: Asset type of the instrument: `"option"`, `"perp"`, or `"erc20"`.
    - `is_active` boolean, required
    - `maker_fee_rate` string, required
    - `mark_price_fee_rate_cap` string, nullable
    - `maximum_amount` string, required
    - `minimum_amount` string, required
    - `option_details` OptionDetails, nullable
      - `expiry` integer, required
      - `index` string, required
      - `option_type` string, required
      - `settlement_price` string, nullable
      - `strike` string, required
    - `perp_details` PerpDetails, nullable
      - `aggregate_funding` string, required
      - `funding_rate` string, required
      - `index` string, required
      - `max_rate_per_hour` string, required
      - `min_rate_per_hour` string, required
      - `srm_perp_margin_requirements` SrmPerpMarginRequirements, nullable: The SRM's perp margin rates for one `(currency, risk universe)`, and the leverage they imply. PMRM purposefully does not have a mirror struct as the leverage depends heavily on the composition of the portfolio.
        - `im_perp_req` string, required: Initial margin rate, as a fraction of perp notional.
        - `max_leverage` string, required: `1 / im_perp_req`, rounded to 2 decimals. A zero `im_perp_req` scales the perp market out. It reports `"0"` here, not unbounded leverage.
        - `mm_perp_req` string, required: Maintenance margin rate, as a fraction of perp notional.
    - `pro_rata_amount_step` string, required
    - `pro_rata_fraction` string, required
    - `quote_currency` string, required
    - `risk_universe_id` integer, required: Only subaccounts in this risk universe can trade the instrument.
    - `scheduled_activation` integer, required
    - `scheduled_deactivation` integer, required
    - `taker_fee_rate` string, required
    - `tick_size` string, required
  - `pagination` Pagination, required: Response envelope for paginated RPCs.
    - `count` integer, required
    - `num_pages` integer, required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/get_all_instruments/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
