# CoinAnk Market Order Buy/Sell Count

> CoinAnk Market Order Buy/Sell Count 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 buy and sell order count data for a given trading symbol and interval from CoinAnk market data, proxied via the claw402 x402 payment gateway.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/market-order/buy-sell-count
- 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-market-order-buy-sell-count-e0a151ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fuHFaYZT29x0TCsfwhfPZ

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-market-order-buy-sell-count-e0a151ca
```

Example prompt: Show me the buy vs sell order counts for BTCUSDT on Binance for the last 1-hour interval using CoinAnk market data.

## When to prefer this

Use this endpoint when you need buy/sell order count data from CoinAnk for crypto market analysis, particularly when you want to assess order flow imbalance or market sentiment without needing an API key — paying per call in USDC via x402.

## Known failure modes

- Missing required parameters (symbol, interval) may return empty data array
- Invalid exchange or productType values may result in empty or error responses
- Payment failure via x402 will block the request before it reaches the data layer
- Invalid or unsupported interval string may return no data
- endTime out of range may return empty data set

## 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 code field (0 for success) and a data array containing buy and sell order count records for the queried symbol, exchange, interval, and time range.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "size": "100",
   "symbol": "BTCUSDT",
   "exchange": "binance",
   "interval": "1h"
  }
 },
 "output": {
  "type": "json"
 }
}
```

## 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"
      },
      "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-market-order-buy-sell-count-e0a151ca/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)
