# Trade Observations — Numeric Interval Filter + Adjacent Row Changes

> Trade Observations — Numeric Interval Filter + Adjacent Row Changes 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).

Filters trade observation rows by a numeric interval on export_amount or import_amount, and computes adjacent row changes, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-06-127?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/trade-observations-numeric-interval-filter-adjacent-row-changes-8ca734e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_83nSZO7DtUnk3-IraxC9x

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 trade-observations-numeric-interval-filter-adjacent-row-changes-8ca734e2 -d '<json body>'
```

Example prompt: I have 50 trade observation rows with export_amount and import_amount values — can you filter them to only show rows where export_amount falls between 1000 and 50000, and also show me the adjacent row-to-row changes in export_amount across all rows?

## When to prefer this

Choose this endpoint when you need to simultaneously (a) filter a set of trade observation rows to those whose export or import amount falls within a specific numeric range, and (b) compute step-by-step changes between adjacent rows on that same field — all within a single paid call covering both reports. It is especially useful for economics or trade analytics workflows where you supply your own data and want offline, deterministic computation with no external data access.

## Known failure modes

- Input rows array is empty or exceeds 200 items — validation error
- row_id missing or blank — schema validation failure
- date field does not match YYYY-MM-DD pattern — rejected
- minimum greater than maximum — may return empty interval filter result
- export_amount or import_amount values outside ±1,000,000,000,000 — rejected
- field enum value not 'export_amount' or 'import_amount' — schema error
- Payment of 0.01 USDC not confirmed via x402 — request blocked

## How this service works

Trade observations — Numeric interval filter + Adjacent row changes: Numeric interval filter + Adjacent row changes for supplied trade observations records (export_amount, import_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) a numeric interval filter report listing which rows have the selected field (export_amount or import_amount) within the specified minimum and maximum bounds, and (2) an adjacent row changes report showing the difference in the selected field between each consecutive row. Both reports cover up to 200 input rows and are computed locally without external lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "export_amount",
     "import_amount"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "region": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "export_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "import_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "region": "group-a",
     "row_id": "row-1",
     "export_amount": 10,
     "import_amount": 1
    },
    {
     "date": "2026-10-02",
     "region": "group-b",
     "row_id": "row-2",
     "export_amount": 20,
     "import_amount": 2
    },
    {
     "date": "2026-10-03",
     "region": "group-a",
     "row_id": "row-3",
     "export_amount": 15,
     "import_amount": 3
    },
    {
     "date": "2026-10-04",
     "region": "group-b",
     "row_id": "row-4",
     "export_amount": 30,
     "import_amount": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "export_amount",
    "import_amount"
   ],
   "type": "string",
   "default": "export_amount"
  },
  "maximum": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trade-observations-numeric-interval-filter-adjacent-row-changes-8ca734e2/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)
