# Token Buy Volume Fraction — Before and After Comparison

> Token Buy Volume Fraction — 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-21).

Computes and compares the buy volume fraction (buy volume as a share of total volume) for a token between two time periods, returning a deterministic before-and-after report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-volume-fraction-before-and-after-comparison-7a511509
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lhoe1BX_tlR6zvQmlkXO1

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

Example prompt: Compare the buy volume fraction for this token: before, it had 60,000 in buy volume and 40,000 in sell volume; after, it had 66,000 in buy volume and 44,000 in sell volume — tell me how the buy share changed.

## When to prefer this

Choose this endpoint when you have two discrete volume snapshots for a token and need a fast, deterministic calculation of how the buy volume fraction (buy share of total volume) changed between them. It is ideal for event-driven analysis (e.g., before/after a news release, listing, or market move) where you supply your own data and want an objective numeric comparison rather than a live scan or recommendation.

## Known failure modes

- Missing or zero buy_volume or sell_volume fields returns a validation error
- Values outside the allowed range (0 to 1e16 exclusive) are rejected
- Malformed JSON body returns a 400 error
- Payment not provided or insufficient USDC results in a 402 Payment Required response

## How this service works

Token buy volume fraction — Before and after comparison: Before and after comparison for Token buy volume fraction. 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 report showing the buy volume fraction (buy volume divided by total volume) for both the before and after snapshot, along with a comparison verdict or delta indicating how the share changed between the two periods. No live market data or trade recommendations are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "buy_volume": 66000,
    "sell_volume": 44000
   },
   "required": [
    "buy_volume",
    "sell_volume"
   ],
   "properties": {
    "buy_volume": {
     "type": "number",
     "default": 60000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "sell_volume": {
     "type": "number",
     "default": 40000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "buy_volume": 60000,
    "sell_volume": 40000
   },
   "required": [
    "buy_volume",
    "sell_volume"
   ],
   "properties": {
    "buy_volume": {
     "type": "number",
     "default": 60000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "sell_volume": {
     "type": "number",
     "default": 40000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-volume-fraction-before-and-after-comparison-7a511509/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)
