# Road Segment Observations — Numeric Row Ordering + Keyed Dataset Comparison

> Road Segment 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-31).

Performs two analytical reports on road segment observation data: numeric row ordering and keyed dataset comparison for length_m or travel_seconds fields across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-15-123?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/road-segment-observations-numeric-row-ordering-keyed-dataset-comparison-8fbf088e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n8rEBRFFBg35hiYYw-oRd

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 road-segment-observations-numeric-row-ordering-keyed-dataset-comparison-8fbf088e -d '<json body>'
```

Example prompt: I have two sets of road segment observations — each with row_id, station_group, date, length_m, and travel_seconds — and I want to rank them numerically by travel_seconds and also compare the two datasets row-by-row using row_id as the key. Can you run both reports on my data (up to 50 rows per dataset)?

## When to prefer this

Choose this endpoint when you have structured road segment observation data with both length_m and travel_seconds fields and need two simultaneous analytical outputs — a numeric ranking and a keyed cross-dataset comparison — without requiring external data lookups, predictions, or live traffic data. Best when datasets are up to 200 rows and you already have the data locally.

## Known failure modes

- Missing required fields (row_id, station_group, date, length_m, travel_seconds) cause validation errors
- Exceeding 200 rows per dataset returns an error
- Invalid date format (not YYYY-MM-DD) fails schema validation
- Null values in the selected field may affect ordering and comparison results
- Mismatched row_ids between primary and comparison datasets may produce incomplete comparison output
- Payment failure via x402 protocol prevents execution

## How this service works

Road segment observations — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison for supplied road segment observations records (length_m, travel_seconds). 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 numerically ordered ranking of the submitted road segment rows by the selected field (length_m or travel_seconds), and (2) a keyed comparison between the primary dataset and the 'other' dataset matched by row_id, highlighting differences in the chosen metric.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/road-segment-observations-numeric-row-ordering-keyed-dataset-comparison-8fbf088e/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)
