# CoinAnk Aggregated Buy/Sell Value by Market Order

> CoinAnk Aggregated Buy/Sell Value 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 value data for market orders across crypto exchanges for a given coin, interval, and time range.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/market-order/agg-buy-sell-value
- 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-value-by-market-order-033f86cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2dhWiGvoiqYBlbqDH-DfA

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-value-by-market-order-033f86cc
```

Example prompt: Can you pull the aggregated buy and sell market order values for BTC across all major exchanges over 1-hour intervals — I want to see the last 10 data points up to now?

## When to prefer this

Use this endpoint when you need aggregated taker buy/sell market order value data for a specific cryptocurrency across one or more exchanges, broken down by time interval. Ideal for order flow analysis, detecting buy/sell imbalances, or monitoring market pressure without requiring API key registration — just pay per call with USDC.

## Known failure modes

- Invalid or unsupported baseCoin symbol returns empty data array
- Invalid interval value results in error or empty response
- Payment failure (402) if USDC wallet balance is insufficient
- Unsupported exchange name silently returns empty data
- Invalid productType causes empty or error response
- endTime out of range returns empty data array

## 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 aggregated buy and sell market order values for the specified coin, interval, exchanges, and time range.

## 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-value-by-market-order-033f86cc/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)
