# Token Buy-to-Sell Activity Ratio — Single Calculation

> Token Buy-to-Sell Activity Ratio — Single Calculation is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Calculates the buy-to-sell activity ratio for a token given a buy count and sell count, returning a deterministic numeric result or threshold verdict.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-single-calculation-34a746bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XEtxNIQXx3819oZm1vwb5

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 token-buy-to-sell-activity-ratio-single-calculation-34a746bc -d '<json body>'
```

Example prompt: Calculate the buy-to-sell activity ratio for a token that had 120 buys and 80 sells.

## When to prefer this

Choose this endpoint when you need a single, deterministic buy-to-sell ratio calculation from explicit supplied counts, without needing live scanning, batch processing, or advanced safety analysis. Ideal for lightweight per-token checks in agent workflows where you already have aggregated buy/sell counts from another source.

## Known failure modes

- sell_count of zero is rejected (exclusiveMinimum:0 constraint), returns validation error
- values exceeding maximum (1e16) are rejected
- missing required fields (buy_count or sell_count) result in a schema validation error
- network or payment processing failure returns a non-2xx HTTP status

## How this service works

Token buy-to-sell activity ratio — Single calculation: Single calculation for Token buy-to-sell activity ratio. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded single calculation report.

## Output

A single bounded calculation report containing the buy-to-sell activity ratio derived from the supplied buy_count and sell_count values. May include a deterministic numeric ratio and optionally a caller-threshold verdict. Does not include live market data, safety guarantees, or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "buy_count": 120,
    "sell_count": 80
   },
   "required": [
    "buy_count",
    "sell_count"
   ],
   "properties": {
    "buy_count": {
     "type": "number",
     "default": 120,
     "maximum": 10000000000000000,
     "minimum": 0
    },
    "sell_count": {
     "type": "number",
     "default": 80,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-single-calculation-34a746bc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
