Api Endpoint

cryptofeed402

Recent crypto liquidations API for one coin: OKX USDT-SWAP public liquidation events in the last 0.25-24 hours (default 1h) with long vs short counts and USD notional, contract value and each event's time, price, size and side. Unknown symbol or no events 404, upstream error 503, no charge. JSON. Free sample at /samples/liquidations. $0.003 USDC per call on Base.

Open interactive test console

Offering

Provider
cryptofeed402.site
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://cryptofeed402.site/liquidations/BTC
MIME type
application/json
First seen
2026-11-21T18:13:11.599Z
Last seen
Tags
liquidations, perpetuals, okx, Crypto, trading-agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x93e4B468A88B1f084Efc781ec7A1E2D195a40D22"
  }
]

Observed health

Status
Healthy
Latest latency
606 ms
Average latency
290 ms
HTTP status
402
Last checked
Reachability
100% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "hours": {
          "type": "string",
          "pattern": "^[0-9]+(\\.[0-9]+)?$",
          "description": "Optional window in hours, 0.25-24 (default 1)"
        }
      }
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "pattern": "^[A-Za-z0-9]{2,20}$",
          "description": "Ticker, case-insensitive, e.g. BTC"
        }
      },
      "required": [
        "symbol"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string"
        },
        "as_of": {
          "type": "string"
        },
        "window_hours": {
          "type": "integer"
        },
        "venue": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "notional_usd_total": {
          "type": "integer"
        },
        "long_liquidations": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "notional_usd": {
              "type": "integer"
            }
          }
        },
        "short_liquidations": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "notional_usd": {
              "type": "integer"
            }
          }
        },
        "contract_value": {
          "type": "object",
          "properties": {
            "ct_val": {
              "type": "number"
            },
            "ct_val_ccy": {
              "type": "string"
            }
          }
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "time": {
                "type": "string"
              },
              "price": {
                "type": "integer"
              },
              "size_contracts": {
                "type": "number"
              },
              "size_coins": {
                "type": "number"
              },
              "notional_usd": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "venue": {
                "type": "string"
              }
            }
          }
        },
        "billing": {
          "type": "string"
        },
        "disclaimer": {
          "type": "string"
        },
        "provenance": {
          "type": "object",
          "description": "Freshness/provenance (additive). fetched_at = when cryptofeed402 fetched or built the data; observed_at = when the upstream data was observed (as_of); truncated = true only if rows were dropped by a fixed size cap",
          "properties": {
            "source": {
              "type": "string"
            },
            "fetched_at": {
              "type": "string"
            },
            "as_of": {
              "type": "string"
            },
            "observed_at": {
              "type": "string"
            },
            "max_age_s": {
              "type": "number"
            },
            "age_s": {
              "type": "number"
            },
            "truncated": {
              "type": "boolean"
            },
            "data_sha256": {
              "type": "string"
            },
            "canon": {
              "type": "string"
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "symbol",
        "as_of",
        "window_hours",
        "venue"
      ]
    }
  },
  "required": [
    "type"
  ]
}