# Token Quote vs Received Amount — Two-Input Scenario Grid

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

Generates a deterministic two-dimensional scenario grid comparing quoted token amounts versus received token amounts across user-specified value ranges to compute shortfall stress metrics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-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-quote-vs-received-amount-two-input-scenario-grid-19fdaf27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2fB22oTtf-F1_jwO5yD8Z

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

Example prompt: Run a two-input scenario grid comparing quoted tokens versus received tokens, with baseline quoted=1000 and received=980, sweeping quoted amounts across [900, 1000, 1100] on the X axis and received amounts across [880, 950, 980, 1050] on the Y axis — give me the shortfall stress grid report.

## When to prefer this

Choose this endpoint when you need a deterministic, multi-scenario comparison of token quote amounts versus received amounts across a grid of input values — particularly for pre-trade slippage analysis, settlement shortfall auditing, or threshold-based verdict generation. It is not suitable for live market scanning, safety proofs, or trade recommendations.

## Known failure modes

- Invalid field_x or field_y enum values (must be 'quoted_tokens' or 'received_tokens')
- values_x or values_y arrays exceeding 10 items or being empty
- quoted_tokens in baseline set to zero or negative (exclusiveMinimum enforced)
- received_tokens or axis values outside the allowed numeric range
- Missing baseline object or required baseline fields causing validation error
- Payment not processed or insufficient USDC balance for the $0.01 call

## How this service works

Token quote versus received amount — Two-input scenario grid: Two-input scenario grid 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 two-input scenario grid report.

## Output

A deterministic two-dimensional scenario grid report covering all combinations of the specified quoted_tokens and received_tokens values, showing computed shortfall metrics and caller-threshold verdicts for each cell — not a live market scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "quoted_tokens",
    "received_tokens"
   ],
   "type": "string",
   "default": "quoted_tokens"
  },
  "field_y": {
   "enum": [
    "quoted_tokens",
    "received_tokens"
   ],
   "type": "string",
   "default": "received_tokens"
  },
  "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
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    1000,
    1100
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    980,
    1078
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-quote-vs-received-amount-two-input-scenario-grid-19fdaf27/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)
