# Structured Data Observations — Numeric Row Ordering + Keyed Dataset Comparison

> Structured Data Observations — Numeric Row Ordering + Keyed Dataset 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-26).

Ranks rows numerically by a chosen field and compares two structured datasets keyed by row identifier, producing two analytical reports from supplied observation records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-08-123?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/structured-data-observations-numeric-row-ordering-keyed-dataset-09f13202
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1ZtCw-VRl7oWVn9bGHpi0

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 structured-data-observations-numeric-row-ordering-keyed-dataset-09f13202 -d '<json body>'
```

Example prompt: I have two sets of site observation records (up to 200 rows each, with fields row_id, site_group, date, valid_items, and total_items) — can you rank all the rows in the first dataset by valid_items and then compare them against the second dataset keyed by row_id, giving me both reports?

## When to prefer this

Choose this endpoint when you need both a numeric ranking of structured observation rows and a keyed cross-dataset comparison in a single call for up to 200 rows. It is ideal for data auditing, snapshot diffing, or performance ranking tasks where you already have the data locally and need analytical outputs without any external lookups or predictions. At $0.01 USDC for two reports, it is cost-effective for lightweight batch analysis of valid_items or total_items fields across site groups.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, site_group, date, valid_items, total_items) on any row — validation error
- Invalid date format (must match YYYY-MM-DD) — schema validation failure
- Numeric field values outside allowed range (±1,000,000,000,000) — rejected
- Empty rows array — schema minItems violation
- Field selector not one of 'valid_items' or 'total_items' — enum validation error
- Payment failure via x402 — 402 response, no report returned

## How this service works

Structured data observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison for supplied structured data observations records (valid_items, total_items). 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) the supplied rows ranked numerically by the chosen field (valid_items or total_items), and (2) a keyed comparison between the primary rows dataset and the secondary 'other' dataset matched by row_id, highlighting differences in the selected field values. No external data is fetched; analysis is performed entirely on the supplied records.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/structured-data-observations-numeric-row-ordering-keyed-dataset-09f13202/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)
