# CoinAnk Aggregated Buy/Sell Volume by Market Order

> CoinAnk Aggregated Buy/Sell Volume by Market Order 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 aggregated buy and sell volume data from market orders across crypto exchanges, filtered by coin, interval, and product type.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/market-order/agg-buy-sell-volume
- 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-aggregated-buy-sell-volume-by-market-order-ea23b457
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_olH8aaDF1wY1SPK64OI8p

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-aggregated-buy-sell-volume-by-market-order-ea23b457
```

Example prompt: Can you pull the aggregated buy and sell volume for BTC on Binance and Bybit using 1-hour intervals, looking at perpetual contracts, for the last 10 data points ending now?

## When to prefer this

Use this endpoint when you need aggregated taker buy/sell volume data across one or more cryptocurrency exchanges for a specific coin and time interval, particularly for order flow analysis, market pressure detection, or identifying buy/sell imbalances in spot or derivatives markets. Prefer this over raw trade feeds when you want pre-aggregated cross-exchange volume without needing to set up API keys.

## Known failure modes

- Invalid or unsupported baseCoin symbol returns empty data array
- Invalid interval value causes malformed query response
- Unsupported exchange name silently returns no data
- Payment not fulfilled causes 402 HTTP error blocking the response
- End time in wrong format may cause query failure or empty results
- Size parameter out of range may return default or error response

## 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 aggregated buy and sell volume figures for market orders, segmented by the requested coin, exchange(s), interval, and product type.

## 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"
      },
      "endTime": {
       "type": "string"
      },
      "baseCoin": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      },
      "exchanges": {
       "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-aggregated-buy-sell-volume-by-market-order-ea23b457/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)
