# Token Position Price Stress — Batch Calculation

> Token Position Price Stress — Batch Calculation 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-29).

Calculates price stress impact on multiple token positions in a single batch, returning deterministic P&L or threshold verdict for each row of supplied token observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-valuation-stress-batch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-position-price-stress-batch-calculation-145b1d5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_71iTJMQ8sktz2-P81CXds

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-position-price-stress-batch-calculation-145b1d5d -d '<json body>'
```

Example prompt: Stress test these two token positions for me: 1000 tokens at $2.00 with a -20% price change, and 1100 tokens at $2.20 with a -22% price change — give me the batch calculation report showing the impact on each.

## When to prefer this

Use this endpoint when you need deterministic, reproducible stress calculations on one or more token positions using your own supplied price observations — not live market data. Ideal for batch risk checks, pre-trade analysis, or portfolio audits where you already have the token quantities, current prices, and hypothetical price change percentages. Prefer this over single-row alternatives when processing multiple positions in one call (up to 200 rows), and over live-scan services when you need a fixed, auditable result rather than a real-time market sweep.

## Known failure modes

- Invalid price_usd (must be > 0 and ≤ 1e16) returns validation error
- price_change_percent outside -100 to 1000 range rejected
- position_tokens <= 0 or missing causes row-level validation failure
- Batch exceeds 200 rows returns payload too large error
- Missing required fields per row returns schema validation error
- Payment failure via x402 protocol results in 402 response with no calculation

## How this service works

Token position price stress — Batch calculation: Batch calculation for Token position price stress. 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 batch calculation report.

## Output

A bounded batch calculation report containing, for each input row, the deterministic stress outcome showing the computed value impact of the specified price change on the token position (e.g. position value before and after shock, P&L change, or a pass/fail verdict against a caller-specified threshold). Up to 200 rows processed per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "position_tokens",
     "price_usd",
     "price_change_percent"
    ],
    "properties": {
     "price_usd": {
      "type": "number",
      "default": 2,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "position_tokens": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "price_change_percent": {
      "type": "number",
      "default": -20,
      "maximum": 1000,
      "minimum": -100
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "price_usd": 2,
     "position_tokens": 1000,
     "price_change_percent": -20
    },
    {
     "price_usd": 2.2,
     "position_tokens": 1100,
     "price_change_percent": -22
    }
   ],
   "maxItems": 200,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-position-price-stress-batch-calculation-145b1d5d/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)
