{"uid":"cap_eC4C7958GxEnNgrjEFw-q","slug":"canonical-url-declarations-literal-attribute-matches-28e1ab9c","name":"Canonical URL Declarations — Literal Attribute Matches","description":"Canonical URL declarations — Literal attribute matches: Literal attribute matches 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 literal attribute matches result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-attribute-match?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_naNVoEzr0JlYeUPCDuyJZ","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":"Parses a web page (by URL or raw HTML) to find canonical link elements whose specified attribute exactly matches a given value, returning matched results filtered by a search term.","exampleAgentPrompt":"Check the page at https://example.com/products and find all canonical link elements where the attribute 'id' exactly matches 'main-canonical', filtering results for the term 'product'.","exampleUseCases":[{"title":"Verify canonical tag ID on product page","prompt":"Go to https://shop.example.com/item/42 and find any canonical link elements where the 'id' attribute is exactly 'canonical-link' — I want to confirm the canonical tag for the term 'item' is set up correctly."},{"title":"Audit canonical declarations in raw HTML","prompt":"I have this HTML snippet from our CMS — can you parse it and find all canonical link tags where the 'class' attribute exactly matches 'seo-canonical', looking for the term 'blog'?"},{"title":"Check competitor canonical attribute setup","prompt":"Look at https://competitor.com/landing-page and extract any canonical URL declarations where the attribute 'data-type' equals 'primary', filtering for the term 'landing'."}],"resultDescription":"Returns a bounded set of canonical link element matches where the specified attribute exactly equals the given value, filtered by the search term. Each result reflects a literal attribute match found in the static HTML of the page (no JavaScript rendering). Results are scoped to one page fetch and include the matched canonical href and relevant attribute data.","failureModes":["URL is unreachable or returns non-200 status — no results returned","Page requires JavaScript rendering — canonical tags injected by JS will not be found","HTML provided is malformed or exceeds 100,000 character limit — parse error","Attribute name fails regex validation (must start with letter, alphanumeric/colon/underscore/hyphen only) — validation error","No canonical elements match the given attribute value — empty result set","Term or attribute_value exceed length limits — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to statically parse a single page's canonical link declarations and filter by an exact attribute value match — ideal for SEO audits, canonical tag verification, or scraping canonical href values without JavaScript execution. Prefer this over full-page scraping tools when your goal is specifically canonical URL metadata, and over general HTML parsers when you need the preset logic for canonical declarations with attribute filtering already built in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:39:51.322Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-literal-attribute-matches-28e1ab9c"}