# Transport Ridership String Normalisation + Category Frequencies

> Transport Ridership String Normalisation + Category Frequencies 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-30).

Normalises string fields and computes category frequencies across two measures (passenger_count, service_count) for up to 200 transport ridership records, returning two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-05-024?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transport-ridership-string-normalisation-category-frequencies-7f2aaf65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_09HfWNgpXmI_4FfGHugAs

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-string-normalisation-category-frequencies-7f2aaf65 -d '<json body>'
```

Example prompt: Can you normalise the region strings and compute category frequencies for both passenger_count and service_count across these ridership records? I have about 50 rows with region, date, passenger_count, and service_count fields.

## When to prefer this

Choose this endpoint when you need lightweight, offline string normalisation and categorical frequency analysis on small-to-medium transport ridership datasets (up to 200 rows) without requiring live data lookup, predictions, or external enrichment. It is ideal for data cleaning pipelines and exploratory analysis of transit records where you need both reports in a single low-cost call ($0.01 USDC).

## Known failure modes

- Submitting more than 200 rows returns a validation error
- Missing required fields (row_id, region, date, passenger_count, service_count) cause row-level rejection
- Malformed date strings not matching YYYY-MM-DD pattern are rejected
- Numeric values outside the allowed range (-1e12 to 1e12) fail schema validation
- Empty rows array returns an error

## How this service works

Transport ridership — String normalisation + Category frequencies: String normalisation + Category frequencies 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 for the submitted ridership rows: (1) a string normalisation report cleaning region and other text fields, and (2) a category frequency report showing how often each distinct value appears across passenger_count and service_count fields, covering up to 200 rows per call.

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transport-ridership-string-normalisation-category-frequencies-7f2aaf65/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)
