# URL Canonicalization — Two-Measure Correlation + Secondary-Measure Weighted Mean

> URL Canonicalization — Two-Measure Correlation + 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).

Computes two-measure correlation and secondary-measure weighted mean analytics on URL canonicalization datasets containing observed_urls and unique_urls metrics, for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-20-181?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-two-measure-correlation-secondary-measure-ea8b7a53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_frf1paCsEkmItD4CluepF

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-two-measure-correlation-secondary-measure-ea8b7a53 -d '<json body>'
```

Example prompt: I have URL canonicalization data for two site groups over four days — run both the two-measure correlation and secondary-measure weighted mean reports on the observed_urls field for these rows: row-1 group-a 2026-10-01 observed=10 unique=1, row-2 group-b 2026-10-02 observed=20 unique=2, row-3 group-a 2026-10-03 observed=15 unique=3, row-4 group-b 2026-10-04 observed=30 unique=4.

## When to prefer this

Choose this endpoint when you need simultaneous correlation analysis and weighted mean computation on URL canonicalization datasets (observed_urls vs unique_urls) grouped by site and date, all in a single low-cost call. It is especially useful for web crawl quality audits, duplicate URL detection efficiency analysis, or site group comparisons where both a relationship metric and a weighted summary are needed without any external data enrichment or live lookups.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, site_group, date, observed_urls, unique_urls) — validation error
- Invalid date format not matching YYYY-MM-DD pattern — schema validation failure
- Null values in numeric fields may affect correlation computation
- row_id exceeds 80 character limit — validation error
- Empty rows array — minimum 1 item required

## How this service works

URL canonicalization — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + 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 generated from the supplied URL canonicalization rows: (1) a two-measure correlation report quantifying the statistical relationship between observed_urls and unique_urls, and (2) a secondary-measure weighted mean report summarizing the weighted average of the selected field. Both reports are computed locally from the submitted 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-canonicalization-two-measure-correlation-secondary-measure-ea8b7a53/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)
