# ACODA Liquidation Heatmap

> ACODA Liquidation Heatmap is a paid API for AI agents from acoda.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns a time-price liquidation intensity heatmap for BTC, ETH, or SOL perpetual markets, combining CEX liquidation events with Hyperliquid position data

## Facts

- Endpoint: GET https://acoda.xyz/v1/heatmap
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/acoda-liquidation-heatmap-9cb3a588
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UIKPbm4VWWBEahm0pvioX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability acoda-liquidation-heatmap-9cb3a588
```

Example prompt: Pull the ACODA liquidation heatmap for BTC-USDT-PERP over the last 12 hours with 40 price buckets and 24 time buckets — I want to see where liquidation clusters are building up near the current mark price.

## When to prefer this

Choose ACODA's liquidation heatmap when an agent needs structured, bucketed liquidation intensity data for BTC, ETH, or SOL perps — especially when combining CEX-observed liquidation events with transparent on-chain position data from Hyperliquid. Prefer this over generic order book endpoints when the goal is identifying price-level liquidation cascade risk or building a quantitative view of forced selling pressure over time.

## Known failure modes

- Unsupported market symbol returns validation error — only BTC-USDT-PERP, ETH-USDT-PERP, SOL-USDT-PERP are accepted
- Payment not completed (402) — x402 micropayment of $0.05 USDC must succeed before data is returned
- Invalid time_buckets or price_buckets parameter type causes schema rejection
- Extremely short window_hours may return sparse grid with low-intensity cells
- Hyperliquid data feed outage may result in stale or partial heatmap data

## How this service works

Measured liquidation intelligence combining observed CEX liquidation events with position-level data from Hyperliquid, the largest transparent perp venue. A pay-per-call JSON API for AI trading agents.

## Output

A JSON object containing a 2D grid of time-price cells, each with an intensity score (0-1) and price range bounds (price_low, price_high). Also includes the queried market symbol, current mark price, and the model version used (e.g. liq-heatmap-v2.1). The grid enables agents to identify price levels and time periods with the highest liquidation density.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "market": {
       "enum": [
        "BTC-USDT-PERP",
        "ETH-USDT-PERP",
        "SOL-USDT-PERP"
       ],
       "type": "string",
       "description": "Perp market (canonical BASE-QUOTE-PERP)"
      },
      "time_buckets": {
       "type": "string",
       "description": "Time buckets (default 24)"
      },
      "window_hours": {
       "type": "string",
       "description": "Lookback window in hours (default 24)"
      },
      "price_buckets": {
       "type": "string",
       "description": "Price buckets (default 40)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grid": [
   {
    "t_ms": 1786500000000,
    "cells": [
     {
      "intensity": 0.8,
      "price_low": 62000,
      "price_high": 62500
     }
    ]
   }
  ],
  "paid": true,
  "market": "BTC-USDT-PERP",
  "mark_price": 63490.11,
  "model_version": "liq-heatmap-v2.1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/acoda-liquidation-heatmap-9cb3a588/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acoda.xyz](https://www.zero.xyz/host/acoda.xyz/llms.txt)
