# Token Buy Volume Fraction — Two-Input Scenario Grid

> Token Buy Volume Fraction — Two-Input Scenario Grid 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-14).

Computes a token's buy volume fraction across a two-dimensional grid of buy/sell volume scenarios using deterministic calculation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-stress-grid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-volume-fraction-two-input-scenario-grid-9cf579c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1KO3GvXNYlIGSguJRkHFT

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-two-input-scenario-grid-9cf579c3 -d '<json body>'
```

Example prompt: Run a buy volume fraction scenario grid for a token with a baseline of 60000 buy volume and 40000 sell volume — vary buy volume across 55000, 60000, 66000, 72000 and sell volume across 38000, 40000, 44000, 48000 and show me the fraction outcomes for each combination.

## When to prefer this

Choose this endpoint when you need a deterministic, multi-scenario sensitivity analysis of a token's buy volume fraction across a two-dimensional grid of buy and sell volume inputs. It is ideal for pre-trade analysis, risk stress-testing, or threshold checking where you want to see how the buy/sell volume ratio shifts under different assumptions. It does not perform live market scanning or provide trade recommendations — prefer it for offline, calculation-based scenario modeling rather than real-time signal generation.

## Known failure modes

- Invalid field_x or field_y enum value (must be 'buy_volume' or 'sell_volume')
- Baseline buy_volume or sell_volume set to zero (exclusiveMinimum:0 violated)
- values_x or values_y arrays exceed 10 items (maxItems exceeded)
- Empty values_x or values_y arrays (minItems:1 violated)
- Baseline missing required buy_volume or sell_volume fields
- Payment of 0.01 USDC not included or rejected by x402 protocol

## How this service works

Token buy volume fraction — Two-input scenario grid: Two-input scenario grid 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 two-input scenario grid report.

## Output

Returns a grid report showing the computed buy volume fraction (buy_volume divided by total volume) for each combination of the specified buy_volume and sell_volume scenario values, anchored to the provided baseline. May include a threshold verdict if a caller-defined threshold is applied. Output is deterministic and based solely on supplied token observations — not a live scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "buy_volume",
    "sell_volume"
   ],
   "type": "string",
   "default": "buy_volume"
  },
  "field_y": {
   "enum": [
    "buy_volume",
    "sell_volume"
   ],
   "type": "string",
   "default": "sell_volume"
  },
  "baseline": {
   "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
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    60000,
    66000
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    40000,
    44000
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-volume-fraction-two-input-scenario-grid-9cf579c3/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)
