{"uid":"cap_OY1Va0MVhtnYl70LrOl5N","slug":"url-canonicalization-secondary-measure-weighted-mean-keyed-dataset-74b3bfbc","name":"URL Canonicalization — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"URL canonicalization — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-web-20-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"},"other":{"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":21},{"date":"2026-10-03","row_id":"row-3","site_group":"group-a","unique_urls":3,"observed_urls":17},{"date":"2026-10-04","row_id":"row-4","site_group":"group-b","unique_urls":4,"observed_urls":33}],"maxItems":200,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O-uWhgbttfDtkJBQT0YyH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a secondary-measure weighted mean and performs keyed dataset comparison on up to 200 rows of URL canonicalization data (observed_urls, unique_urls), producing two independent analytical reports.","exampleAgentPrompt":"I have two datasets of URL canonicalization records for site groups A and B across 4 dates — can you compute the secondary-measure weighted mean using 'observed_urls' as the target field and compare the two datasets row-by-row using the row_id key? Here's my primary dataset: [{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}], and my comparison dataset has the same rows but with observed_urls of 12 and 21 respectively.","exampleUseCases":[{"title":"Baseline vs variant URL crawl comparison","prompt":"I ran two crawls of our site network — a baseline and an updated one — and I want to compare them row by row. Can you run the keyed dataset comparison and weighted mean report on both, using 'observed_urls' as the field? Here are the rows: baseline has row-1 group-a 2026-10-01 with unique_urls=5 observed_urls=50, and the variant has the same row but observed_urls=62."},{"title":"Site group URL deduplication trend analysis","prompt":"We have 4 site groups tracked daily for URL canonicalization — can you compute the secondary-measure weighted mean for 'unique_urls' across these rows and compare group-a vs group-b datasets? Rows: [{date:'2026-11-01',row_id:'r1',site_group:'group-a',unique_urls:10,observed_urls:100},{date:'2026-11-01',row_id:'r2',site_group:'group-b',unique_urls:8,observed_urls:90}]."},{"title":"Pre/post URL normalization audit","prompt":"We applied a URL normalization pass to our index and I want to see how much the unique_urls count shifted — can you compare the pre-normalization and post-normalization records using the keyed comparison and weighted mean report with 'unique_urls' as the target field? I have 6 rows in each dataset keyed by row_id."}],"resultDescription":"Two independent analytical reports computed locally from the supplied data: (1) a secondary-measure weighted mean report for the selected field (observed_urls or unique_urls) across the provided rows, weighted by the complementary measure; and (2) a keyed dataset comparison report that aligns rows from the primary and comparison datasets by row_id and reports differences in the selected field. No external data is fetched; all computation is performed on the submitted records.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — rejected, exceeds limit","Missing required fields (row_id, site_group, date, observed_urls, unique_urls) — schema validation error","Invalid date format (not YYYY-MM-DD) — pattern validation error","Non-numeric values in observed_urls or unique_urls — type validation error","Mismatched row_ids between primary and comparison datasets — comparison report may show unmatched rows","All values null in selected field — weighted mean may be undefined or zero"],"whenToPreferThis":"Choose this endpoint when you have tabular URL canonicalization records with observed_url and unique_url counts and need both a weighted mean summary statistic and a row-keyed comparison between two dataset snapshots in a single call. Ideal for SEO audits, crawl quality monitoring, and URL deduplication analysis where you control the data and need offline analytical computation rather than live web lookups. The flat $0.01 USDC price covers both reports for up to 200 rows, making it cost-effective for small-to-medium batch analytics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:39.865Z","isFirstParty":false,"canonicalSlug":"url-canonicalization-secondary-measure-weighted-mean-keyed-dataset-74b3bfbc"}