# Transport Ridership Date-by-Category Pivot + Keyed Dataset Comparison

> Transport Ridership Date-by-Category Pivot + 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).

Analyzes up to 200 transport ridership records by producing a date-by-category pivot table and a keyed comparison between two supplied datasets for passenger_count or service_count.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-05-188?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/transport-ridership-date-by-category-pivot-keyed-dataset-comparison-a897fedf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H-damXiu3a-m2lmC921_3

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 transport-ridership-date-by-category-pivot-keyed-dataset-comparison-a897fedf -d '<json body>'
```

Example prompt: I have two sets of transit ridership records (up to 200 rows each) with region, date, passenger_count, and service_count — can you pivot the first dataset by date and region for passenger_count, and also compare it row-by-row against the second dataset?

## When to prefer this

Choose this endpoint when you have structured transport ridership data (passenger_count, service_count) already in hand and need both a date-by-region pivot analysis and a comparison between two versions of the dataset in a single paid call. It is best for offline/batch analytical workflows where you supply all data locally and need no live data fetching, predictions, or external enrichment.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, region, date, passenger_count, or service_count) — validation error
- Invalid date format not matching YYYY-MM-DD pattern — schema rejection
- Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000) — validation failure
- Empty rows array — minimum 1 item required
- Invalid field enum value (must be 'passenger_count' or 'service_count') — schema rejection

## How this service works

Transport ridership — Date by category pivot + Keyed dataset comparison: Date by category pivot + Keyed dataset comparison for supplied transport ridership records (passenger_count, service_count). 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 date-by-category pivot table cross-tabulating the selected field (passenger_count or service_count) across dates and regions, and (2) a keyed row-by-row comparison between the primary and secondary supplied datasets highlighting differences — all computed locally with no external data lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "passenger_count",
     "service_count"
    ],
    "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
     },
     "service_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "passenger_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "region": "group-a",
     "row_id": "row-1",
     "service_count": 1,
     "passenger_count": 10
    },
    {
     "date": "2026-10-02",
     "region": "group-b",
     "row_id": "row-2",
     "service_count": 2,
     "passenger_count": 20
    },
    {
     "date": "2026-10-03",
     "region": "group-a",
     "row_id": "row-3",
     "service_count": 3,
     "passenger_count": 15
    },
    {
     "date": "2026-10-04",
     "region": "group-b",
     "row_id": "row-4",
     "service_count": 4,
     "passenger_count": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "passenger_count",
    "service_count"
   ],
   "type": "string",
   "default": "passenger_count"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "passenger_count",
     "service_count"
    ],
    "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
     },
     "service_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "passenger_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transport-ridership-date-by-category-pivot-keyed-dataset-comparison-a897fedf/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)
