# Token Observed Price Change — Before and After Comparison

> Token Observed Price Change — Before and After Comparison 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).

Compares two sets of token price observations (before and after) and returns a deterministic report of the price change between them.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-price-change-compare?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-observed-price-change-before-and-after-comparison-5bfd3d46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7-OhtvTnlv5pxDYSQeOcf

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-observed-price-change-before-and-after-comparison-5bfd3d46 -d '<json body>'
```

Example prompt: Compare these two token price snapshots for me: before the event the price moved from $1.00 to $1.20, and after the event it moved from $1.10 to $1.32 — give me a before-and-after comparison report of the price change.

## When to prefer this

Use this endpoint when you have two discrete token price observation windows (each with a current and previous price) and need a fast, deterministic before-and-after comparison report. Ideal for event-driven analysis — e.g., comparing price movement before vs. after a token listing, news event, or protocol upgrade. Not suitable for live price feeds, real-time scanning, trade signals, or multi-asset batch comparisons.

## Known failure modes

- Missing or zero current_price or previous_price in either snapshot (violates exclusiveMinimum:0 constraint)
- Price values exceeding the maximum allowed value (1e16)
- Malformed JSON body or missing required fields in before/after objects
- Payment failure or insufficient USDC balance for x402 protocol
- Unexpected server error from the shared 50-profile engine

## How this service works

Token observed price change — Before and after comparison: Before and after comparison for Token observed price change. 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 before and after comparison report.

## Output

Returns a bounded comparison report showing the price change (absolute and/or percentage) for both the 'before' and 'after' observation windows, along with a deterministic or caller-threshold verdict on how the two periods compare. Not a live scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "current_price": 1.32,
    "previous_price": 1.1
   },
   "required": [
    "current_price",
    "previous_price"
   ],
   "properties": {
    "current_price": {
     "type": "number",
     "default": 1.2,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "previous_price": {
     "type": "number",
     "default": 1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "current_price": 1.2,
    "previous_price": 1
   },
   "required": [
    "current_price",
    "previous_price"
   ],
   "properties": {
    "current_price": {
     "type": "number",
     "default": 1.2,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "previous_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-observed-price-change-before-and-after-comparison-5bfd3d46/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)
