# Municipal Waste Numeric Row Ordering + Secondary-Measure Weighted Mean

> Municipal Waste Numeric Row Ordering + Secondary-Measure Weighted Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Performs numeric row ordering and secondary-measure weighted mean analysis on municipal waste records (collected_tonnes, recycled_tonnes) for up to 200 rows, returning two analytical reports per call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-11-121?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/municipal-waste-numeric-row-ordering-secondary-measure-weighted-mean-d78a53a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6zLXIcHfZzB0YRZ9vsGIK

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 municipal-waste-numeric-row-ordering-secondary-measure-weighted-mean-d78a53a7 -d '<json body>'
```

Example prompt: I have a dataset of municipal waste records for four regions — can you rank the rows numerically by collected_tonnes and also compute the weighted mean of collected_tonnes across all rows? Here are the rows: row-1 group-a 2026-10-01 collected=10 recycled=1, row-2 group-b 2026-10-02 collected=20 recycled=2, row-3 group-a 2026-10-03 collected=15 recycled=3, row-4 group-b 2026-10-04 collected=30 recycled=4.

## When to prefer this

Choose this endpoint when you have municipal waste tabular data (up to 200 rows) and need both a ranked ordering of records and a weighted mean statistic in a single low-cost call ($0.01 USDC). It is ideal for offline/local analytical workflows where no live data lookup, external API calls, or predictions are needed — just deterministic computation on supplied rows.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, region, date, collected_tonnes, or recycled_tonnes) — validation error
- Invalid date format (must match YYYY-MM-DD) — pattern mismatch error
- Numeric values outside allowed range (±1,000,000,000,000) — schema validation failure
- Empty rows array — minItems violation
- Invalid field enum value (must be collected_tonnes or recycled_tonnes) — enum validation error

## How this service works

Municipal waste — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied municipal waste records (collected_tonnes, recycled_tonnes). 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 numeric row ordering that ranks the supplied waste records by the chosen measure (collected_tonnes or recycled_tonnes), and (2) a secondary-measure weighted mean that computes the weighted average of the chosen field across all supplied rows, weighted by the other measure. Both reports are computed locally without external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/municipal-waste-numeric-row-ordering-secondary-measure-weighted-mean-d78a53a7/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)
