{"uid":"cap__YKNKN3n-3qH-oQseCbt9","slug":"canonical-url-declarations-distinct-value-extraction-1363ab02","name":"Canonical URL Declarations — Distinct Value Extraction","description":"Canonical URL declarations — Distinct value extraction: Distinct value extraction for Canonical URL declarations. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded distinct value extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-unique?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","default":"","maxLength":2048},"html":{"type":"string","default":"<!doctype html><html><head></head><body><link rel=\"canonical\" href=\"https://www.iana.org/help/example-domains\" id=\"sample\"></body></html>","maxLength":100000},"term":{"type":"string","default":"product","maxLength":100,"minLength":1},"attribute":{"type":"string","default":"id","pattern":"^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$","maxLength":50},"previous_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["Older example"],"maxItems":200,"minItems":0},"attribute_value":{"type":"string","default":"sample","maxLength":200}}},"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_VG9g7FPgh4iJdp4KeOKBY","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":"Extracts distinct (unique) values from canonical URL link elements in a static HTML page, identified by a specified attribute and attribute value.","exampleAgentPrompt":"Can you extract the distinct canonical URL values from this HTML — look for elements with the attribute id set to 'sample': <!doctype html><html><head></head><body><link rel=\"canonical\" href=\"https://www.iana.org/help/example-domains\" id=\"sample\"></body></html>","exampleUseCases":[{"title":"SEO audit for canonical tags","prompt":"I have this HTML page source and I need to find all the distinct canonical URLs declared in it — specifically look for link elements where the id attribute equals 'main-canonical'. Here's the HTML: <html><head><link rel=\"canonical\" href=\"https://example.com/page\" id=\"main-canonical\"></head></html>"},{"title":"Verify canonical URL on a live page","prompt":"Can you fetch https://www.myblog.com/post/how-to-bake-bread and extract all distinct canonical href values from elements where the attribute class equals 'seo-tag'?"},{"title":"Deduplicate canonical declarations in scraped content","prompt":"I've got a batch of HTML I scraped and I want to know what unique canonical URLs are declared — focus on link elements where the attribute rel equals 'canonical', and exclude any values I've already seen like 'https://old.example.com/legacy'."}],"resultDescription":"Returns one bounded distinct value extraction result containing the unique canonical URL values found in the specified HTML (or fetched page), filtered to elements matching the given attribute and attribute value, with duplicates removed.","failureModes":["URL is behind a login wall or JavaScript rendering — static parser cannot access dynamic content","HTML exceeds 100,000 character limit — request rejected","No matching elements found for the given attribute/attribute value combination — empty result returned","URL is unreachable or returns non-200 status — fetch failure","Attribute pattern does not match schema regex — validation error"],"whenToPreferThis":"Choose this endpoint when you need to statically parse and deduplicate canonical URL declarations from a known HTML structure using a specific attribute selector, at very low cost ($0.01 per call). It is best for SEO audits, canonical tag verification, and link element inspection where JavaScript rendering is not required. Prefer alternatives if the page requires JavaScript execution or authenticated access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:29.337Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-distinct-value-extraction-1363ab02"}