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. Get details for a specific Lighter.xyz trading instrument. Returns a LighterInstrument object which includes fees, market ID, and minimum order amounts.

Route Metadata

FieldValue
MethodGET
Path/v1/lighter/instruments/{symbol}
operationIdgetLighterInstrument
TagLighter - Instruments
FamilyLighter
Deprecated or legacyno

Request Parameters

Path Parameters

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument path parameters",
  "type": "object",
  "required": [
    "symbol"
  ],
  "properties": {
    "symbol": {
      "description": "Trading pair symbol (e.g., ETH, BTC)",
      "type": "string",
      "example": "ETH",
      "x-parameter-location": "path"
    }
  }
}

Response Contracts

Status 200

Lighter instrument details

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument response 200",
  "type": "object",
  "properties": {
    "data": {
      "description": "Trading instrument specification (Lighter.xyz). Different schema from Hyperliquid Instrument.",
      "type": "object",
      "required": [
        "is_active",
        "liquidation_fee",
        "maker_fee",
        "market_id",
        "market_type",
        "min_base_amount",
        "min_quote_amount",
        "price_decimals",
        "quote_decimals",
        "size_decimals",
        "status",
        "symbol",
        "taker_fee"
      ],
      "properties": {
        "is_active": {
          "description": "Whether the instrument is currently tradeable",
          "type": "boolean",
          "example": true
        },
        "liquidation_fee": {
          "description": "Liquidation fee rate",
          "type": "number",
          "example": 0.005
        },
        "maker_fee": {
          "description": "Maker fee rate (can be negative for rebates)",
          "type": "number",
          "example": 0.0001
        },
        "market_id": {
          "description": "Unique market identifier",
          "type": "integer",
          "example": 0
        },
        "market_type": {
          "description": "Type of market",
          "type": "string",
          "enum": [
            "perp",
            "spot"
          ],
          "example": "perp"
        },
        "min_base_amount": {
          "description": "Minimum order size in base currency",
          "type": "number",
          "example": 0.001
        },
        "min_quote_amount": {
          "description": "Minimum order value in quote currency",
          "type": "number",
          "example": 1
        },
        "price_decimals": {
          "description": "Price decimal precision",
          "type": "integer",
          "example": 2
        },
        "quote_decimals": {
          "description": "Quote currency decimal precision",
          "type": "integer",
          "example": 6
        },
        "size_decimals": {
          "description": "Size decimal precision",
          "type": "integer",
          "example": 4
        },
        "status": {
          "description": "Market status",
          "type": "string",
          "enum": [
            "active",
            "inactive",
            "delisted"
          ],
          "example": "active"
        },
        "symbol": {
          "description": "Instrument symbol",
          "type": "string",
          "example": "ETH"
        },
        "taker_fee": {
          "description": "Taker fee rate (e.g., 0.0004 = 0.04%)",
          "type": "number",
          "example": 0.0004
        }
      }
    },
    "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 400

Invalid request

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument response 400",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
OpenAPI example
{
  "code": 400,
  "error": "Invalid request parameters"
}

Status 401

Authentication required

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument 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 404

Resource not found

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument response 404",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
OpenAPI example
{
  "code": 404,
  "error": "Resource not found"
}

Status 429

Rate limit exceeded

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getLighterInstrument 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