# Token Pool Quote Relative Difference — Sequential Input-Change Attribution

> Token Pool Quote Relative Difference — Sequential Input-Change Attribution 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).

Computes the sequential input-change attribution for the relative price gap between a token pool quote and a reference price, comparing before and after states deterministically.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-pool-price-gap-waterfall?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-pool-quote-relative-difference-sequential-input-change-5303c40e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_28xeTECulZgcRx4mv_yYf

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-pool-quote-relative-difference-sequential-input-change-5303c40e -d '<json body>'
```

Example prompt: Can you run a sequential input-change attribution on the token pool price gap? Before: pool price was 1.10 and reference price was 1.00; after: pool price moved to 1.21 and reference price stayed at 1.10.

## When to prefer this

Use this endpoint when you need a deterministic, cost-effective ($0.01 USDC) calculation of how the relative price gap between a token pool quote and a reference price shifted between two observations, with the change decomposed by individual input. Prefer this over live scanning tools when you have already captured your before/after price snapshots and need offline attribution analysis rather than real-time monitoring or trade signals.

## Known failure modes

- Missing required 'before' or 'after' object results in a validation error
- pool_price or reference_price set to 0 or negative violates exclusiveMinimum constraint
- Extremely large numbers near the maximum boundary may cause precision issues
- Payment of 0.01 USDC not successfully processed results in HTTP 402 and no report
- Malformed JSON body returns a schema validation error

## How this service works

Token pool quote relative difference — Sequential input-change attribution: Sequential input-change attribution for Token pool quote relative difference. 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 sequential input-change attribution report.

## Output

A deterministic sequential input-change attribution report showing how the relative difference between pool price and reference price changed from the 'before' state to the 'after' state, broken down by individual input contributions (pool_price change vs reference_price change). Returned as a structured calculation result, not a live market scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "pool_price": 1.2100000000000002,
    "reference_price": 1.1
   },
   "required": [
    "pool_price",
    "reference_price"
   ],
   "properties": {
    "pool_price": {
     "type": "number",
     "default": 1.1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "reference_price": {
     "type": "number",
     "default": 1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "pool_price": 1.1,
    "reference_price": 1
   },
   "required": [
    "pool_price",
    "reference_price"
   ],
   "properties": {
    "pool_price": {
     "type": "number",
     "default": 1.1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "reference_price": {
     "type": "number",
     "default": 1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-pool-quote-relative-difference-sequential-input-change-5303c40e/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)
