{"uid":"cap_rDEwsYXvwDjv6gG_U-sJL","slug":"canonical-url-declarations-structured-extraction-588b19c2","name":"Canonical URL Declarations — Structured Extraction","description":"Canonical URL declarations — Structured extraction: Structured 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 structured extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-items?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_1BYrAnRa7veZYjwpaZj8V","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 canonical URL declarations from a public web page or supplied HTML using static parsing, returning structured results.","exampleAgentPrompt":"Can you extract the canonical URL declaration from https://www.example.com/product-page — look for the element with attribute id equal to 'canonical-link' and give me the structured result?","exampleUseCases":[{"title":"SEO audit for canonical tags","prompt":"Pull the canonical URL declared on https://www.myshop.com/shoes/sneakers and tell me what the canonical href is — I want to check if it's set correctly for SEO."},{"title":"Validate canonical in HTML snippet","prompt":"Here's some HTML I have locally — can you extract the canonical URL declaration from it? Look for the link tag with id 'main-canonical' and give me the structured result."},{"title":"Detect duplicate content canonical","prompt":"Check https://blog.acme.com/2024/post-copy and extract its canonical link tag so I can verify whether it's pointing back to the original article URL."}],"resultDescription":"Returns a structured extraction result containing the canonical URL declaration(s) found in the page or HTML, including matched element details such as the href value, attribute matches, and surrounding context. One bounded result per call.","failureModes":["URL is not publicly accessible (returns error or empty result)","Page requires JavaScript rendering — static parsing will miss dynamically inserted canonical tags","HTML input exceeds 100,000 character limit","No canonical declaration found on the page (empty result returned)","Invalid URL format provided","Attribute pattern does not match schema regex, causing validation error"],"whenToPreferThis":"Choose this endpoint when you need to quickly and cheaply extract canonical URL link declarations from a single public web page or a known HTML snippet using static (non-JavaScript) parsing. It is ideal for SEO audits, content deduplication checks, or structured data pipelines that need canonical tag data without full browser rendering. At $0.01 USDC per call it is cost-effective for high-volume page checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:24.838Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-structured-extraction-588b19c2"}