# Token Buy Volume Fraction — Target Gap Calculation

> Token Buy Volume Fraction — Target Gap 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 gap between a token's current buy volume fraction and a specified target value, given buy and sell volume inputs.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-target-gap?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-volume-fraction-target-gap-calculation-7faaee49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yS8j9-zgheP4fwpj2A1Jv

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-target-gap-calculation-7faaee49 -d '<json body>'
```

Example prompt: Given buy volume of 60,000 and sell volume of 40,000, calculate the buy volume fraction and tell me how far it is from a target of 70%.

## When to prefer this

Use this endpoint when you need a fast, deterministic calculation of how far a token's buy volume fraction deviates from a specific numeric target, using caller-supplied volume figures. Prefer it over full market-scan services when you already have the buy and sell volume data and only need the gap computed cheaply and reliably.

## Known failure modes

- buy_volume or sell_volume set to 0 or omitted (schema requires exclusiveMinimum > 0)
- target value outside allowed numeric range
- malformed JSON input body
- payment not included or insufficient (0.01 USDC required per call)

## How this service works

Token buy volume fraction — Target gap calculation: Target gap calculation 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 target gap calculation report.

## Output

Returns a deterministic report showing the computed buy volume fraction from the supplied buy and sell volumes, and the numerical gap between that fraction and the caller-supplied target value. Does not provide live market data, safety guarantees, or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "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-target-gap-calculation-7faaee49/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)
