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 liquidation-related fills for a HIP-3 symbol. Data derived from hip3_fills where is_liquidation=true and can include liquidated-user rows plus counterparty/open-side rows. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.

Route Metadata

FieldValue
MethodGET
Path/v1/hyperliquid/hip3/liquidations/{symbol}
operationIdgetHip3Liquidations
TagHIP-3 Builder Perps - Liquidations
FamilyHIP-3
Deprecated or legacyno

Request Parameters

Path Parameters

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHip3Liquidations path parameters",
  "type": "object",
  "required": [
    "symbol"
  ],
  "properties": {
    "symbol": {
      "description": "HIP-3 trading pair symbol (e.g., hyna:BTC, km:US500). Case-sensitive.",
      "type": "string",
      "example": "hyna:BTC",
      "x-parameter-location": "path"
    }
  }
}

Query Parameters

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHip3Liquidations query parameters",
  "type": "object",
  "required": [
    "start"
  ],
  "properties": {
    "start": {
      "description": "Start timestamp (Unix milliseconds)",
      "type": "integer",
      "format": "int64",
      "example": 1769922000000,
      "x-parameter-location": "query"
    },
    "end": {
      "description": "End timestamp (Unix milliseconds). Defaults to now.",
      "type": "integer",
      "format": "int64",
      "x-parameter-location": "query"
    },
    "cursor": {
      "description": "Pagination cursor (format: {timestamp_ms}_{trade_id})",
      "type": "string",
      "x-parameter-location": "query"
    },
    "limit": {
      "description": "Maximum records to return (1-1000)",
      "type": "integer",
      "default": 1000,
      "maximum": 1000,
      "x-parameter-location": "query"
    }
  }
}

Response Contracts

Status 200

Liquidation events

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHip3Liquidations response 200",
  "description": "API response containing an array of liquidation events",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "description": "Liquidation event",
        "type": "object",
        "required": [
          "coin",
          "liquidated_user",
          "liquidator_user",
          "price",
          "side",
          "size",
          "symbol",
          "timestamp"
        ],
        "properties": {
          "closed_pnl": {
            "description": "Realized PnL from the liquidation (usually negative)",
            "type": "string",
            "nullable": true,
            "example": "-1250.50"
          },
          "coin": {
            "description": "Trading pair symbol (deprecated, use symbol instead)",
            "type": "string",
            "deprecated": true,
            "example": "BTC"
          },
          "direction": {
            "description": "Upstream direction label (for example `Close Long`, `Close Short`; HIP-3 can also emit `Open Long`, `Open Short`, or rare unclassified values such as `Long > Short`)",
            "type": "string",
            "nullable": true,
            "example": "Close Long"
          },
          "liquidated_user": {
            "description": "Address of the user who was liquidated",
            "type": "string",
            "example": "0x84eec0068b37919cc8f13d7454073ac167374cc0"
          },
          "liquidator_user": {
            "description": "Address of the liquidator (counterparty)",
            "type": "string",
            "example": "0x4d969e59b312970cc07af266938a4433ccae0b4c"
          },
          "mark_price": {
            "description": "Mark price at time of liquidation",
            "type": "string",
            "nullable": true,
            "example": "42480.25"
          },
          "price": {
            "description": "Price at which the liquidation was executed",
            "type": "string",
            "example": "42500.50"
          },
          "side": {
            "description": "Exchange side code for the liquidation-related fill (`A`/`B`). Use `direction` for close/open interpretation, especially on HIP-3.",
            "type": "string",
            "example": "B"
          },
          "size": {
            "description": "Size of the liquidated position",
            "type": "string",
            "example": "1.5"
          },
          "symbol": {
            "description": "Trading pair symbol",
            "type": "string",
            "example": "BTC"
          },
          "timestamp": {
            "description": "Liquidation timestamp (UTC)",
            "type": "string",
            "format": "date-time",
            "example": "2025-05-21T10:30:00.000Z"
          },
          "trade_id": {
            "description": "Trade ID for this liquidation",
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "example": 1234567890
          },
          "tx_hash": {
            "description": "Blockchain transaction hash",
            "type": "string",
            "nullable": true,
            "example": "0xe266d353038e679c5d7e042433054f0000e1d8e52f7860ecda84573b9b5a02ca"
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "next_cursor": {
          "description": "Cursor for pagination (format: timestamp_tradeId)",
          "type": "string",
          "nullable": true
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}

Status 400

Invalid request

application/json

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