# URL Canonicalization — Equal-Width Histogram + Two-Measure Correlation

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

Analyzes URL canonicalization records by computing an equal-width histogram over a chosen field and calculating the correlation between observed_urls and unique_urls across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-20-171?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-canonicalization-equal-width-histogram-two-measure-correlation-47b28d5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vhzMnsA1aB9f5SSBM_gpr

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-equal-width-histogram-two-measure-correlation-47b28d5b -d '<json body>'
```

Example prompt: I have URL canonicalization records with observed_urls and unique_urls for several site groups — can you run a histogram with 10 bins on the observed_urls field and also compute the correlation between observed_urls and unique_urls across all rows?

## When to prefer this

Choose this endpoint when you have URL canonicalization data (observed vs. unique URL counts per site group and date) and need both a distribution view (histogram) and a relationship metric (correlation) in a single call. It is ideal for small-to-medium datasets of up to 200 rows where you want offline, deterministic statistical summaries without any live web lookups or external enrichment.

## Known failure modes

- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, date, observed_urls, unique_urls) in any row — validation error
- Invalid date format (must match YYYY-MM-DD pattern)
- bins value outside allowed range 1–30 — rejected
- All rows have null values for the selected field — histogram cannot be computed
- Only one non-null data point — correlation undefined

## How this service works

URL canonicalization — Equal-width histogram + Two-measure correlation: Equal-width histogram + Two-measure correlation 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 analytical reports: (1) an equal-width histogram dividing the selected field (observed_urls or unique_urls) into the specified number of bins with counts per bin, and (2) a correlation coefficient measuring the linear relationship between observed_urls and unique_urls across the submitted rows. Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-equal-width-histogram-two-measure-correlation-47b28d5b/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)
