# Token Buy-to-Sell Activity Ratio — Two-Input Scenario Grid

> Token Buy-to-Sell Activity Ratio — 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 two-dimensional scenario grid of token buy-to-sell activity ratios across combinations of buy_count and sell_count values supplied by the caller.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-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-to-sell-activity-ratio-two-input-scenario-grid-ab1ff562
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f6Q56TzU4xYG1W4STgnid

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-to-sell-activity-ratio-two-input-scenario-grid-ab1ff562 -d '<json body>'
```

Example prompt: Run a two-input scenario grid for the token buy-to-sell activity ratio using buy_count values of 100, 120, and 140 on the X axis and sell_count values of 60, 80, and 100 on the Y axis, with a baseline of 120 buys and 80 sells.

## When to prefer this

Choose this endpoint when you need to evaluate a token's buy-to-sell activity ratio across multiple combinations of buy and sell counts simultaneously — especially for sensitivity analysis, stress testing, or scenario planning — using only your own supplied observations rather than live market feeds. It is preferable over a single-calculation endpoint when you want to see the full cross-product of two input ranges in one call.

## Known failure modes

- Invalid or out-of-range buy_count or sell_count values (e.g. sell_count = 0 violates exclusiveMinimum)
- values_x or values_y arrays exceeding 10 items returns a validation error
- Mismatched field_x and field_y using the same field (e.g. both set to buy_count) may produce degenerate grid
- Missing required baseline fields causes schema validation failure
- Payment not processed correctly results in 402 response with no grid returned

## How this service works

Token buy-to-sell activity ratio — Two-input scenario grid: Two-input scenario grid for Token buy-to-sell activity ratio. 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 two-dimensional scenario grid where each cell represents the computed buy-to-sell activity ratio (and optionally a threshold verdict) for the corresponding combination of buy_count and sell_count values. All results are deterministic calculations based solely on the caller-supplied token observations, not live market data or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "buy_count",
    "sell_count"
   ],
   "type": "string",
   "default": "buy_count"
  },
  "field_y": {
   "enum": [
    "buy_count",
    "sell_count"
   ],
   "type": "string",
   "default": "sell_count"
  },
  "baseline": {
   "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
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    120,
    132
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    80,
    88
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-two-input-scenario-grid-ab1ff562/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)
