# CoinAnk Order Book Heatmap

> CoinAnk Order Book Heatmap is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Retrieves order book heatmap data for a cryptocurrency trading pair from a specified exchange, showing liquidity clusters and bid/ask density over time.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/orderbook/heatmap
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinank-order-book-heatmap-a2c1c8d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DtvIhcn7I2zQu6NRjHF5t

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 coinank-order-book-heatmap-a2c1c8d1
```

Example prompt: Can you pull the order book heatmap for BTCUSDT on Binance with a 5-minute interval? I want to see where the big liquidity walls are sitting right now.

## When to prefer this

Choose this endpoint when you need raw order book heatmap data for a specific crypto trading pair on a named exchange, particularly for identifying liquidity walls, support/resistance zones, or market depth patterns. Prefer this over generic ticker or trade history endpoints when the use case is visual or analytical order book depth analysis.

## Known failure modes

- Invalid or unsupported symbol returns empty data array
- Unsupported exchange name returns code non-zero or empty result
- Malformed interval or endTime causes empty or error response
- Payment failure (402) if USDC wallet balance is insufficient
- Rate limiting or upstream CoinAnk API unavailability returns error code

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with a status code and a data array containing order book heatmap entries — representing bid/ask price levels and their volumes/densities across time intervals for the requested trading symbol and exchange.

## 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",
     "properties": {
      "size": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "endTime": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinank-order-book-heatmap-a2c1c8d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
