# CoinAnk Order Book by Symbol

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

Retrieves order book (bid/ask depth) data for a specified trading symbol from CoinAnk via the claw402 x402 payment gateway

## Facts

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

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-by-symbol-807ac82f
```

Example prompt: Can you pull the current order book for BTC/USDT on Binance from CoinAnk — get me the top 20 levels for a USDT-margined perpetual contract?

## When to prefer this

Use this endpoint when you need real-time or historical order book depth data for a specific cryptocurrency trading pair from CoinAnk, especially when you want to avoid API key registration and prefer paying per call with USDC via the x402 protocol.

## Known failure modes

- Missing required symbol parameter returns error or empty data array
- Invalid exchange name results in empty data response
- Payment failure (402) if USDC wallet balance is insufficient
- Unsupported product type or interval returns empty result
- Rate limiting or upstream CoinAnk API unavailability causes failure

## 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 an array of order book entries (bids and asks) for the requested trading symbol, exchange, and product type. Data includes depth levels at various price points.

## 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": {
      "rate": {
       "type": "string"
      },
      "size": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "endTime": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      },
      "productType": {
       "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-by-symbol-807ac82f/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)
