Skip to main content

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.

Source OpenAPI: 0xArchive API 1.5.0; 116 paths; 90 component schemas. Deprecated: Use /v1/hyperliquid/instruments or /v1/lighter/instruments instead. Get all available trading instruments with their specifications.

Route Metadata

FieldValue
MethodGET
Path/v1/instruments
operationIdlistInstruments
TagLegacy
FamilyLegacy
Deprecated or legacyyes

Response Contracts

Status 200

List of instruments

application/json

{
  "$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

{
  "$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
{
  "code": 401,
  "error": "Missing or invalid API key. Provide X-API-Key header."
}

Status 429

Rate limit exceeded

application/json

{
  "$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
{
  "code": 429,
  "error": "Rate limit exceeded"
}
Last modified on May 18, 2026