# Token Trade Depth Stress — Two-Input Scenario Grid

> Token Trade Depth Stress — 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-26).

Computes a deterministic two-dimensional scenario grid of token trade impact relative to quoted liquidity across varying trade_usd and liquidity_usd input combinations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-trade-depth-stress-grid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-trade-depth-stress-two-input-scenario-grid-16cb2440
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eLUSXE835trexMQmMfjit

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-trade-depth-stress-two-input-scenario-grid-16cb2440 -d '<json body>'
```

Example prompt: Run a two-input scenario grid for token trade depth stress: use trade_usd on the X axis with values [500, 1000, 5000, 10000] and liquidity_usd on the Y axis with values [50000, 100000, 500000], with a baseline of trade_usd=1000 and liquidity_usd=100000.

## When to prefer this

Choose this endpoint when you need a deterministic, pre-computed 2D scenario matrix examining how token trade size and quoted liquidity interact across multiple input combinations simultaneously — especially useful for pre-trade analysis, sensitivity studies, or threshold detection across a grid of values rather than a single-point calculation.

## Known failure modes

- Invalid field_x or field_y enum value (must be 'trade_usd' or 'liquidity_usd')
- values_x or values_y arrays exceed 10 items
- Baseline missing required trade_usd or liquidity_usd fields
- Zero or negative values for trade_usd or liquidity_usd (exclusiveMinimum: 0)
- Payment failure or insufficient USDC balance for x402 protocol
- field_x and field_y set to same value causing degenerate grid

## How this service works

Token trade relative to quoted liquidity — Two-input scenario grid: Two-input scenario grid for Token trade relative to quoted liquidity. 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 deterministic two-dimensional scenario grid showing computed trade depth and liquidity impact metrics for each combination of the specified trade_usd and liquidity_usd input values, along with optional threshold-based verdicts. Does not provide live market data, safety guarantees, or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "trade_usd",
    "liquidity_usd"
   ],
   "type": "string",
   "default": "trade_usd"
  },
  "field_y": {
   "enum": [
    "trade_usd",
    "liquidity_usd"
   ],
   "type": "string",
   "default": "liquidity_usd"
  },
  "baseline": {
   "type": "object",
   "default": {
    "trade_usd": 1000,
    "liquidity_usd": 100000
   },
   "required": [
    "trade_usd",
    "liquidity_usd"
   ],
   "properties": {
    "trade_usd": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "liquidity_usd": {
     "type": "number",
     "default": 100000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 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": [
    100000,
    110000.00000000001
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-trade-depth-stress-two-input-scenario-grid-16cb2440/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)
