# URL Canonicalization — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill

> URL Canonicalization — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill 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).

Computes a secondary-measure weighted mean and fills missing values in URL canonicalization datasets (observed_urls, unique_urls) across up to 200 supplied rows, returning 2 independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-20-187?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/url-canonicalization-secondary-measure-weighted-mean-explicit-missing-aed670aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d_3BjilIyFUXjrmyQ2KqJ

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 url-canonicalization-secondary-measure-weighted-mean-explicit-missing-aed670aa -d '<json body>'
```

Example prompt: Can you run a weighted mean and missing-value fill analysis on my URL canonicalization data? I have up to 50 rows with site_group, date, observed_urls, and unique_urls fields — use 'observed_urls' as the target field and fill missing values with the median.

## When to prefer this

Choose this endpoint when you have a pre-collected dataset of URL canonicalization records (observed_urls, unique_urls) and need both a weighted mean aggregation and missing-value imputation in a single low-cost call. It is ideal for offline/batch analytical workflows where no live web lookup or prediction is needed, and where you want two complementary statistical reports from shared local computation on up to 200 rows.

## Known failure modes

- Fewer than 1 row submitted — request rejected
- More than 200 rows submitted — exceeds batch limit
- Invalid date format (not YYYY-MM-DD) — validation error
- Field value outside allowed numeric range — schema rejection
- Unknown fill method or field enum value — request rejected
- All values null for a group — weighted mean undefined, may return null or NaN

## How this service works

URL canonicalization — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied url canonicalization records (observed_urls, unique_urls). 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 independent analytical reports: (1) a secondary-measure weighted mean computation over the selected field (observed_urls or unique_urls) grouped by site_group and date, and (2) an explicit missing-value fill report replacing nulls using the chosen method (zero, mean, or median) — both derived entirely from the supplied row data, with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-canonicalization-secondary-measure-weighted-mean-explicit-missing-aed670aa/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)
