# Token Net Buy-Count Balance — Before and After Comparison

> Token Net Buy-Count Balance — Before and After Comparison 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).

Computes the net buy-count balance for a token and returns a deterministic before-and-after comparison report given two sets of buy/sell count observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-net-buy-share-compare?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-net-buy-count-balance-before-and-after-comparison-ff6cd463
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yDyrtpFzHMW1yTFpFRv_V

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-before-and-after-comparison-ff6cd463 -d '<json body>'
```

Example prompt: Compare the token's net buy-count balance: before it had 120 buys and 80 sells, and after it had 132 buys and 88 sells — give me the before-and-after breakdown.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC), deterministic calculation comparing net buy-count balance between two discrete time snapshots for a token. It is ideal for before-and-after event analysis (e.g., pre/post news, pre/post listing) using caller-supplied count observations rather than live data. Not suitable for real-time scanning, safety assessments, or trade recommendations.

## Known failure modes

- Missing required buy_count or sell_count fields in either 'before' or 'after' objects returns a validation error
- sell_count of 0 is rejected due to exclusiveMinimum constraint
- Values exceeding the maximum bound (1e16) cause rejection
- Malformed JSON body returns a parse error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

Token net buy-count balance — Before and after comparison: Before and after comparison 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 before and after comparison report.

## Output

A deterministic before-and-after comparison report showing net buy-count balance metrics for both the 'before' and 'after' observation snapshots, including the computed balance values and potentially a caller-threshold verdict indicating which period showed greater net buying activity. No live market scan or trade recommendation is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "buy_count": 132,
    "sell_count": 88
   },
   "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
  },
  "before": {
   "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-before-and-after-comparison-ff6cd463/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)
