# Token Buy-to-Sell Activity Ratio — Named Scenario Comparison

> Token Buy-to-Sell Activity Ratio — Named Scenario 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-16).

Compares a baseline token buy/sell count ratio against one or more named alternative scenarios to deterministically assess how ratio changes across each scenario.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-named-scenario-comparison-4234c98d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_jBSNC7DMT0DBPSVtt9Z

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-named-scenario-comparison-4234c98d -d '<json body>'
```

Example prompt: Compare the buy-to-sell ratio for a token with a baseline of 120 buys and 80 sells against two scenarios: one called 'Bull Push' with 200 buys and another called 'Sell Pressure' with 150 sells.

## When to prefer this

Choose this endpoint when you need a deterministic, named comparison of how a token's buy-to-sell ratio shifts across multiple hypothetical scenarios, using supplied observation counts rather than live market data. Prefer it over single-calculation endpoints when evaluating 2–20 labeled alternatives side-by-side in a single call.

## Known failure modes

- sell_count of 0 rejected (exclusiveMinimum enforced)
- scenarios array empty or missing required label/overrides fields
- buy_count or sell_count exceeds maximum bound (10^16)
- overrides object contains no valid properties (minProperties:1 violated)
- scenario label exceeds 80 characters
- payment not fulfilled — x402 payment required before response is returned

## How this service works

Token buy-to-sell activity ratio — Named scenario comparison: Named scenario comparison 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 named scenario comparison report.

## Output

A structured report containing the computed buy-to-sell ratio for the baseline and each named scenario, with deterministic ratio values and optional threshold-based verdicts for each label — not a live market scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "buy_count": {
        "type": "number",
        "default": 120,
        "maximum": 10000000000000000,
        "minimum": 0
       },
       "sell_count": {
        "type": "number",
        "default": 80,
        "maximum": 10000000000000000,
        "minimum": 0,
        "exclusiveMinimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "buy_count": 132
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

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