# Token Quote vs Received Amount — Named Scenario Comparison

> Token Quote vs Received Amount — 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-13).

Compares quoted token amounts against received token amounts across named scenarios to compute shortfall metrics deterministically.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-quote-vs-received-amount-named-scenario-comparison-29878318
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mBxC1CznjNy3bnO6aa77J

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-quote-vs-received-amount-named-scenario-comparison-29878318 -d '<json body>'
```

Example prompt: Can you run a token quote shortfall comparison with a baseline of 1000 quoted tokens and 980 received tokens, plus an alternative scenario called 'High Quote' where quoted_tokens is 1100?

## When to prefer this

Use this endpoint when you need a deterministic, arithmetic comparison of quoted versus received token amounts across multiple named hypothetical scenarios without needing live market data or trade execution. Prefer this over live scanning tools when the inputs are already known and you want reproducible shortfall metrics for planning, auditing, or threshold checking across up to 20 labeled cases.

## Known failure modes

- received_tokens exceeds quoted_tokens causing zero or negative shortfall (not an error, but may need interpretation)
- quoted_tokens set to zero triggers exclusiveMinimum validation error
- more than 20 scenarios supplied exceeds maxItems limit
- scenario label missing or empty triggers minLength validation error
- scenario overrides object supplied with no properties triggers minProperties validation error
- malformed numeric values cause schema type errors

## How this service works

Token quote versus received amount — Named scenario comparison: Named scenario comparison for Token quote versus received amount. 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

Returns a structured report containing shortfall calculations for each named scenario (and the baseline), including the difference between quoted and received tokens and the percentage shortfall, determined by deterministic arithmetic. No live market data, safety guarantees, or trade recommendations are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "quoted_tokens": 1000,
    "received_tokens": 980
   },
   "required": [
    "quoted_tokens",
    "received_tokens"
   ],
   "properties": {
    "quoted_tokens": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "received_tokens": {
     "type": "number",
     "default": 980,
     "maximum": 10000000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "quoted_tokens": {
        "type": "number",
        "default": 1000,
        "maximum": 10000000000000000,
        "minimum": 0,
        "exclusiveMinimum": 0
       },
       "received_tokens": {
        "type": "number",
        "default": 980,
        "maximum": 10000000000000000,
        "minimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "quoted_tokens": 1100
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-quote-vs-received-amount-named-scenario-comparison-29878318/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)
