# Token Net Buy-Count Balance — Single Calculation

> Token Net Buy-Count Balance — 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-16).

Calculates the net buy-count balance (buy count minus sell count ratio) for a single token observation given buy and sell count inputs.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-net-buy-share-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-net-buy-count-balance-single-calculation-0a088fa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J-GYWIxOKW_h96KJG3mWs

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-net-buy-count-balance-single-calculation-0a088fa3 -d '<json body>'
```

Example prompt: Calculate the net buy-count balance for a token that had 120 buy transactions and 80 sell transactions.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC), deterministic single-calculation of net buy-count balance from raw buy and sell transaction counts. Prefer it over batch endpoints when processing one token observation at a time. It is not a live market scanner or safety tool — use it purely for computing the buy-sell count metric from supplied data.

## Known failure modes

- Missing sell_count (required field) returns a validation error
- sell_count of zero is rejected due to exclusiveMinimum constraint
- Values exceeding the maximum bound (10^16) are rejected
- Missing or malformed values object returns a 400-level error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

Token net buy-count balance — Single calculation: Single calculation for Token net buy-count balance. 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 calculation report giving the net buy-count balance derived from the supplied buy_count and sell_count values. The result is a deterministic numeric output (not a live scan, safety proof, or trade recommendation) reflecting the buy-sell count imbalance for the provided token observation.

## 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-net-buy-count-balance-single-calculation-0a088fa3/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)
