> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List instruments (Deprecated) JSON Schema

> List instruments (Deprecated) JSON Schema contract. Includes parameters, response shapes, examples, and implementation notes from the 0xArchive contract.

Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas.

**Deprecated:** Use `/v1/hyperliquid/instruments` or `/v1/lighter/instruments` instead. Get all available trading instruments with their specifications.

## Route Metadata

| Field                | Value             |
| -------------------- | ----------------- |
| Method               | `GET`             |
| Path                 | `/v1/instruments` |
| operationId          | `listInstruments` |
| Tag                  | Legacy            |
| Family               | Legacy            |
| Deprecated or legacy | yes               |

## Response Contracts

### Status 200

List of instruments

#### application/json

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "listInstruments response 200",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "description": "Trading instrument specification (Hyperliquid)",
        "type": "object",
        "required": [
          "is_active",
          "name",
          "sz_decimals"
        ],
        "properties": {
          "instrument_type": {
            "description": "Type of instrument",
            "type": "string",
            "enum": [
              "perp",
              "spot"
            ],
            "nullable": true,
            "example": "perp"
          },
          "is_active": {
            "description": "Whether the instrument is currently tradeable",
            "type": "boolean",
            "example": true
          },
          "max_leverage": {
            "description": "Maximum leverage allowed",
            "type": "integer",
            "nullable": true,
            "example": 50
          },
          "name": {
            "description": "Instrument symbol",
            "type": "string",
            "example": "BTC"
          },
          "only_isolated": {
            "description": "If true, only isolated margin mode is allowed",
            "type": "boolean",
            "nullable": true
          },
          "sz_decimals": {
            "description": "Size decimal precision",
            "type": "integer",
            "example": 4
          }
        }
      }
    },
    "meta": {
      "description": "Response metadata",
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "next_cursor": {
          "description": "Cursor for pagination (timestamp). Use this value as the `cursor` parameter to fetch the next page of results.",
          "type": "string",
          "nullable": true
        },
        "request_id": {
          "description": "Unique request ID for support",
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}
```

### Status 401

Authentication required

#### application/json

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "listInstruments response 401",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
```

##### OpenAPI example

```json theme={"theme":"github-dark"}
{
  "code": 401,
  "error": "Missing or invalid API key. Provide X-API-Key header."
}
```

### Status 429

Rate limit exceeded

#### application/json

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "listInstruments response 429",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
```

##### OpenAPI example

```json theme={"theme":"github-dark"}
{
  "code": 429,
  "error": "Rate limit exceeded"
}
```
