# CoinAnk Market Order Buy/Sell Value

> CoinAnk Market Order Buy/Sell Value 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 order value data for a specified trading symbol from a given exchange, with configurable time intervals and product types.

## Facts

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

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-value-da550096
```

Example prompt: What are the buy and sell order values for BTCUSDT on Binance using a 1-hour interval? Show me the last 20 data points for perpetual contracts.

## When to prefer this

Use this endpoint when you need aggregated buy vs. sell order value (taker flow) data for a specific crypto trading pair on a supported exchange, particularly for derivatives/futures market analysis. Prefer this over generic price endpoints when order flow imbalance or taker buy/sell ratio is the focus.

## Known failure modes

- Invalid or unsupported symbol returns empty data array
- Unsupported exchange or product type may return empty results
- Missing required query parameters may cause API error or empty response
- Invalid interval value returns no data
- endTime out of range returns empty data array
- Payment failure (402) if USDC wallet balance is insufficient

## 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 order value entries for the requested symbol, exchange, interval, and product type over the specified time range.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "size": "100",
   "symbol": "BTCUSDC",
   "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-value-da550096/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)
