{"uid":"cap_0Jmt7XRxIfe__hX2FsVgd","slug":"canonical-url-declarations-prior-text-set-comparison-03169d96","name":"Canonical URL Declarations — Prior Text-Set Comparison","description":"Canonical URL declarations — Prior text-set comparison: Prior text-set comparison 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 prior text-set comparison result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-compare?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_i1r7QbeqEIYUMIAEFVpMl","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's canonical URL link element and compares its text or attribute value against a set of previously known strings to detect changes.","exampleAgentPrompt":"Check whether the canonical URL on https://example.com/product-page has changed — compare it against these previously seen values: ['https://example.com/product-page', 'https://example.com/old-product'] using the href attribute of the element with id 'canonical-tag'.","exampleUseCases":[{"title":"SEO canonical URL drift detection","prompt":"Check if the canonical URL on https://shop.example.com/running-shoes has changed from what we saw last week — our previous values were ['https://shop.example.com/running-shoes', 'https://shop.example.com/shoes/running'] and I want to compare against the href attribute of the element with id 'main-canonical'."},{"title":"CMS migration canonical validation","prompt":"I just migrated our blog and I need to verify the canonical tags are still correct — parse https://blog.example.com/post-123 and compare its canonical href against these old CMS values: ['https://old-blog.example.com/post-123', 'https://blog.example.com/post-123'] to see if anything changed."},{"title":"Third-party HTML audit for canonicals","prompt":"Here's the raw HTML of a page we received from a vendor: <!doctype html><html><head><link rel='canonical' href='https://vendor.com/item/99' id='can'></head><body></body></html> — compare the canonical href on element id 'can' against our known previous values ['https://vendor.com/item/99', 'https://vendor.com/product/99'] and tell me if it matches."}],"resultDescription":"Returns a bounded comparison result indicating whether the canonical URL element's extracted text or attribute value matches, partially matches, or differs from the provided set of previously known strings, along with the extracted current value.","failureModes":["URL is inaccessible or returns non-200 status — parsing fails with an error","HTML does not contain a canonical link element — empty or null result returned","JavaScript-rendered canonical tags are not detected — static parsing only, no JS execution","Attribute or attribute_value selector finds no matching element — comparison cannot proceed","HTML input exceeds 100,000 character limit — request rejected","previous_texts array exceeds 200 items — request rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost static parse of a page's canonical URL declaration and want to compare it against a known set of prior values to detect drift or confirm stability. Ideal for SEO monitoring pipelines, CMS migration audits, and agentic workflows that need to track canonical URL changes over time without requiring JavaScript rendering or login access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:16.475Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-prior-text-set-comparison-03169d96"}