# URL Canonicalization — Duplicate Key Report + Secondary-Measure Weighted Mean

> URL Canonicalization — Duplicate Key Report + 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-10-25).

Analyzes up to 200 URL canonicalization records to produce a duplicate key report and a secondary-measure weighted mean, using local analytical engines with no external lookups.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-20-067?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-duplicate-key-report-secondary-measure-weighted-402f8f96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cbDM288hn0V--PL1aLYu_

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-duplicate-key-report-secondary-measure-weighted-402f8f96 -d '<json body>'
```

Example prompt: Run a duplicate key report and weighted mean on my URL canonicalization records — here are 4 rows: site-group-a on 2026-10-01 with 10 observed_urls and 1 unique_url, site-group-b on 2026-10-02 with 20 observed and 2 unique, site-group-a on 2026-10-03 with 15 observed and 3 unique, and site-group-b on 2026-10-04 with 30 observed and 4 unique — use observed_urls as the primary field.

## When to prefer this

Choose this endpoint when you have a batch of URL canonicalization records (up to 200 rows) and need both a duplicate key audit and a weighted statistical summary in a single call. It is ideal for data quality pipelines, SEO tooling, or web analytics workflows where you supply your own data and need offline computation with no external API calls or live lookups.

## Known failure modes

- Submitting more than 200 rows will be rejected or truncated
- Missing required fields (row_id, site_group, date, observed_urls, unique_urls) will cause validation errors
- Invalid date format (not YYYY-MM-DD) will fail schema validation
- Null values in numeric fields may affect weighted mean computation
- Empty rows array will return an error
- Field selector must be exactly 'observed_urls' or 'unique_urls'

## How this service works

URL canonicalization — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean 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

Returns two independent analytical reports: (1) a duplicate key report identifying repeated row keys within the submitted URL canonicalization records, and (2) a secondary-measure weighted mean computed over the chosen field (observed_urls or unique_urls) across all submitted rows, up to 200 rows total.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-canonicalization-duplicate-key-report-secondary-measure-weighted-402f8f96/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)
