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. Trading instrument specification (Lighter.xyz). Different schema from Hyperliquid Instrument.

Required Fields

FieldTypeDescription
is_activebooleanWhether the instrument is currently tradeable
liquidation_feenumberLiquidation fee rate
maker_feenumberMaker fee rate (can be negative for rebates)
market_idintegerUnique market identifier
market_typestringType of market
min_base_amountnumberMinimum order size in base currency
min_quote_amountnumberMinimum order value in quote currency
price_decimalsintegerPrice decimal precision
quote_decimalsintegerQuote currency decimal precision
size_decimalsintegerSize decimal precision
statusstringMarket status
symbolstringInstrument symbol
taker_feenumberTaker fee rate (e.g., 0.0004 = 0.04%)

JSON Schema

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

Referenced By

No route references were found in OpenAPI.
Last modified on May 18, 2026