---
title: "Get all instruments"
description: "List all instruments, optionally only active ones or only some kinds."
---

| | |
|---|---|
| SDK | `client.get_all_instruments(...)` |
| HTTP | `POST https://market-data.<domain>/full/v1/all_instruments`, or `/lite/v1/all_instruments` for [lite names](../../guides/environments.md#encoding-full-or-lite) (the SDKs' default) |
| WebSocket | method `v1/all_instruments` on `wss://market-data.<domain>/ws/full`, or `/ws/lite` for lite names |
| Auth | None (public) |
| Retries | Read: the SDKs retry retryable errors ([rules](../../guides/errors-and-retries.md)) |
| Contract id | `instrument.get_all_instruments` (`RPCGetAllInstrumentsV1`) |

## Request

Body type `ApiGetAllInstrumentsRequest`. Fields the server fills are left out.

- `is_active` · lite `ia` · bool · optional, default `false` — Fetch only active instruments
- `kinds` · lite `k` · enum Kind[] · optional, default `['PERPETUAL']` — The kind filter to apply. If empty, this defaults to PERPETUAL only. Otherwise, only entries matching the filter will be returned
  Values: `PERPETUAL`, `FUTURE`, `CALL`, `PUT`, `SPOT_SWAP`, `STABLE_PERP` ([details](../enums.md#kind)).

## Response

Body type `ApiGetAllInstrumentsResponse` (the same object is the JSON-RPC `result` over WebSocket).

- `result` · lite `r` · object InstrumentDisplay[] · required — List of instruments
- `result[].instrument` · lite `i` · string (instrument name) · required — The instrument name, e.g. `BTC_USDT_Perp` (perpetual), `BTC_USDT_SFP` (stable funding perp) or `BTC_USDT_SpotSwap` (spot swap).
- `result[].instrument_hash` · lite `ih` · string (uint256) · required — The asset ID used for instrument signing.
- `result[].base` · lite `b` · string · required — The base currency
- `result[].quote` · lite `q` · string · required — The quote currency
- `result[].kind` · lite `k` · enum Kind · required — The kind of instrument
  Values: `PERPETUAL`, `FUTURE`, `CALL`, `PUT`, `SPOT_SWAP`, `STABLE_PERP` ([details](../enums.md#kind)).
- `result[].venues` · lite `v` · enum Venue[] · required — Venues that this instrument can be traded at
  Values: `ORDERBOOK`, `RFQ` ([details](../enums.md#venue)).
- `result[].settlement_period` · lite `sp1` · enum InstrumentSettlementPeriod · optional — The settlement period of the instrument
  Values: `PERPETUAL`, `DAILY`, `WEEKLY`, `MONTHLY`, `QUARTERLY` ([details](../enums.md#instrumentsettlementperiod)).
- `result[].base_decimals` · lite `bd` · integer (int8) · required — The smallest denomination of the base asset supported by Grvt (+3 represents 0.001, -3 represents 1000, 0 represents 1)
- `result[].quote_decimals` · lite `qd` · integer (int8) · required — The smallest denomination of the quote asset supported by Grvt (+3 represents 0.001, -3 represents 1000, 0 represents 1)
- `result[].tick_size` · lite `ts` · string · required — The size of a single tick. Decimal string, e.g. "0.1"; up to 9 decimals.
- `result[].min_size` · lite `ms` · string · required — The minimum contract size. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result[].create_time` · lite `ct` · string (int64 unix ns) · required — Creation time in unix nanoseconds
- `result[].max_position_size` · lite `mp` · string · optional — The maximum position size. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result[].funding_interval_hours` · lite `fi` · integer (uint8) · optional — Defines the funding interval to be applied.
- `result[].adjusted_funding_rate_cap` · lite `af` · string · optional — Funding rate cap over the defined `intervalHours`.
- `result[].adjusted_funding_rate_floor` · lite `af1` · string · optional — Funding rate floor over the defined `intervalHours`.
- `result[].min_notional` · lite `mn` · string · required — The minimum order notional value, in the quote asset. Decimal string, e.g. "12.5".
- `result[].asset_class` · lite `ac` · enum AssetClass · optional — The asset class of the underlying the instrument tracks
  Values: `CRYPTO`, `EQUITY`, `COMMODITY`, `FX`, `INDEX`, `EQUITY_NASDAQ`, `EQUITY_NYSE`, `EQUITY_KRX`, `COMMODITY_CME`, `PRE_IPO` ([details](../enums.md#assetclass)).
- `result[].status` · lite `s` · enum InstrumentStatus · optional — The current lifecycle/trading status of the instrument
  Values: `ACTIVE`, `REDUCE_ONLY`, `MAINTENANCE`, `HALTED`, `CLOSED`, `PENDING`, `DELISTED` ([details](../enums.md#instrumentstatus)).
- `result[].guaranteed_exit_band` · lite `ge` · string · optional — The guaranteed exit band, expressed in percentage points
- `result[].spread_penalty_tolerance` · lite `sp2` · string · optional — The spread penalty tolerance, expressed in percentage points
- `result[].funding_cap_adjustment_time` · lite `fc` · string (int64 unix ns) · optional — Timestamp in unix nanoseconds at which the funding cap adjustment applies
- `result[].funding_cap_adjustment_value` · lite `fc1` · string · optional — The funding cap adjustment value, expressed as a decimal daily rate
- `result[].triple_swap_day` · lite `ts2` · enum DayOfWeek · optional — Stable perps only: the weekday whose daily funding charge covers 3 days (the weekend)
  Values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY` ([details](../enums.md#dayofweek)).

## Errors

Errors come back as `{"code", "message", "status"}` (lite `{"c", "m", "s"}`) with the HTTP status. Codes this call can return, as code, name (HTTP status) ([all error codes](../errors.md)):

`1002` InternalServer (500) · `1003` InvalidRequest (400) · `1006` RateLimit (429, retryable)

## Example

```python
from grvt import Grvt

with Grvt(env="testnet") as client:
    resp = client.get_all_instruments()
    print(resp)
```

Raw HTTP (set `GRVT_DOMAIN`, see [Environments](../../guides/environments.md)):

With full field names:

```sh
curl -sS "https://market-data.$GRVT_DOMAIN/full/v1/all_instruments" \
  -H "Content-Type: application/json" \
  --data '{}'
```

With lite field names:

```sh
curl -sS "https://market-data.$GRVT_DOMAIN/lite/v1/all_instruments" \
  -H "Content-Type: application/json" \
  --data '{}'
```
