{"uid":"cap_rLs4yIzzkW5DVae4gRR6_","slug":"canonical-url-declarations-attribute-presence-check-e596567d","name":"Canonical URL Declarations — Attribute Presence Check","description":"Canonical URL declarations — Attribute presence check: Attribute presence check 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 attribute presence check result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-attribute-presence?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_kktHD9qRvvDEKMiXHl3wR","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":"Checks whether a specific attribute (and optionally its value) is present on canonical URL link elements in a given webpage or HTML snippet.","exampleAgentPrompt":"Check if the canonical link tag on https://example.com/blog/post-1 has an attribute called 'id' with the value 'canonical-main' — use static HTML parsing, no JavaScript rendering needed.","exampleUseCases":[{"title":"SEO audit for canonical tag attributes","prompt":"I need to verify that the canonical link element on https://shop.mysite.com/products/shoes has an 'hreflang' attribute present — can you check the page for me using static parsing?"},{"title":"Validate custom canonical attribute in raw HTML","prompt":"Here's some HTML I pasted — check if the canonical URL declaration has a 'data-priority' attribute with the value 'high': <!doctype html><html><head><link rel=\"canonical\" href=\"https://example.com\" data-priority=\"high\"></head></html>"},{"title":"QA check for canonical ID attribute during deployment","prompt":"Before we push to production, can you confirm the canonical tag in our staging page at https://staging.example.com/landing has an 'id' attribute set to 'canonical-tag'? Use static HTML parsing only."}],"resultDescription":"Returns a bounded attribute presence check result indicating whether the specified attribute (and optionally its expected value) exists on the canonical URL link element found in the parsed page or HTML snippet. No JavaScript rendering is performed; the check is based on static HTML parsing only.","failureModes":["URL is not publicly accessible or returns non-200 status","HTML content exceeds 100,000 character limit","Attribute name does not match required pattern (must start with letter, alphanumeric/colon/underscore/hyphen)","No canonical link element found in the page","Supplied URL and HTML both empty or malformed","Term parameter missing or empty (minLength 1 required)"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, static check for the presence of a specific HTML attribute on a canonical link tag — particularly useful for SEO audits, CI/CD validation pipelines, or monitoring canonical tag markup compliance without needing full browser rendering or JavaScript execution. Ideal when cost efficiency matters ($0.01 per call) and the target page is publicly accessible over HTTPS.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:29.336Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-attribute-presence-check-e596567d"}