# Rainfall Observations — String Normalisation + Numeric Row Ordering

> Rainfall Observations — String Normalisation + Numeric Row Ordering 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-25).

Normalises station group strings and orders rows numerically for up to 200 rainfall observation records (rainfall_mm, duration_hours), returning two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-02-025?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rainfall-observations-string-normalisation-numeric-row-ordering-e41d587c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AKY9hN3guUO7cka9UcqSi

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 rainfall-observations-string-normalisation-numeric-row-ordering-e41d587c -d '<json body>'
```

Example prompt: Can you normalise the station group strings and order the rows by rainfall_mm for these 12 rainfall records I've collected — each one has a row_id, station_group, date, rainfall_mm, and duration_hours?

## When to prefer this

Choose this endpoint when you have rainfall observation records that need two specific local transformations — string normalisation on station group labels and numeric row ordering on a selected measurement field — without any live data lookup, prediction, or external enrichment. It is optimised for small-to-medium datasets (up to 200 rows) at very low cost ($0.01 USDC for both reports).

## Known failure modes

- More than 200 rows submitted — request rejected
- Missing required fields (row_id, station_group, date, rainfall_mm, duration_hours) cause validation errors
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Null values in rainfall_mm or duration_hours may affect numeric ordering output
- Invalid field enum value (must be 'rainfall_mm' or 'duration_hours') causes error
- Empty rows array rejected (minItems: 1)

## How this service works

Rainfall observations — String normalisation + Numeric row ordering: String normalisation + Numeric row ordering for supplied rainfall observations records (rainfall_mm, duration_hours). 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

Two analytical reports covering (1) normalised station group string values and (2) numerically ordered rows for the selected field (rainfall_mm or duration_hours), applied across up to 200 supplied rainfall observation records. No external data is fetched; all computation is local.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rainfall-observations-string-normalisation-numeric-row-ordering-e41d587c/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)
