# Constant-Product AMM Average Execution Impact — One-Input Sensitivity Table

> Constant-Product AMM Average Execution Impact — One-Input Sensitivity Table 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-19).

Computes a sensitivity table showing how constant-product AMM average execution impact varies as a single input parameter (input reserve or input token quantity) sweeps across specified values, given a baseline token pair state.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-cp-impact-sensitivity?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/constant-product-amm-average-execution-impact-one-input-sensitivity-7b160938
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K9Oa2VEef99cG6dGGq3H8

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 constant-product-amm-average-execution-impact-one-input-sensitivity-7b160938 -d '<json body>'
```

Example prompt: Run a constant-product AMM execution impact sensitivity table sweeping input_reserve values of [9000, 10000, 11000] with a baseline of input_reserve=10000 and input_tokens=100, and show me how the average execution impact changes across those reserve levels.

## When to prefer this

Choose this endpoint when you need a deterministic, pre-computed sensitivity analysis of how constant-product AMM average execution impact responds to a single varying input (reserve size or token quantity), and you already have the token observations. It is a specialized calculation tool — not a live market scanner or trade recommender — best suited for DeFi modeling, pool design analysis, or pre-trade impact estimation across a parameter range.

## Known failure modes

- Invalid field value (must be 'input_reserve' or 'input_tokens') returns validation error
- Values array empty or exceeds 50 items returns schema validation error
- Baseline input_reserve or input_tokens set to zero or negative returns exclusiveMinimum violation
- Any value exceeding 1e16 magnitude returns maximum constraint error
- Malformed JSON body returns 400 bad request
- Payment not included or insufficient USDC returns 402 payment required

## How this service works

Constant-product average execution impact — One-input sensitivity table: One-input sensitivity table for Constant-product average execution impact. 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 one-input sensitivity table report.

## Output

A structured sensitivity table showing the computed constant-product average execution impact value for each swept value of the chosen input field (input_reserve or input_tokens), holding all other baseline parameters constant. Results are deterministic calculations based on supplied token observations and do not represent live market data or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field": {
   "enum": [
    "input_reserve",
    "input_tokens"
   ],
   "type": "string",
   "default": "input_reserve"
  },
  "values": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    9000,
    10000,
    11000
   ],
   "maxItems": 50,
   "minItems": 1
  },
  "baseline": {
   "type": "object",
   "default": {
    "input_tokens": 100,
    "input_reserve": 10000
   },
   "required": [
    "input_reserve",
    "input_tokens"
   ],
   "properties": {
    "input_tokens": {
     "type": "number",
     "default": 100,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "input_reserve": {
     "type": "number",
     "default": 10000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/constant-product-amm-average-execution-impact-one-input-sensitivity-7b160938/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)
