{"uid":"cap_H7nGXWSpIpqqENOqYXM_w","slug":"canonical-url-declarations-joined-text-extraction-81da14c8","name":"Canonical URL Declarations — Joined Text Extraction","description":"Canonical URL declarations — Joined text extraction: Joined text 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 joined text extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-text?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_MSQKubfd8PU0OLsyDJWni","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":"Statically parses a web page or supplied HTML to extract the joined text content associated with canonical URL declaration elements, filtered by a specified attribute and search term.","exampleAgentPrompt":"Extract the joined text from the canonical URL declaration element with id 'main-canonical' on https://example.com/product-page — use 'product' as the search term and check against these previously seen texts: ['Old canonical text'].","exampleUseCases":[{"title":"SEO canonical tag audit","prompt":"Pull the joined text from the canonical link element with id 'canonical-tag' on https://www.mysite.com/blog/article-1, using 'article' as the term, so I can check what canonical URL is declared there."},{"title":"HTML snippet canonical text check","prompt":"I have this HTML snippet with a canonical link element — can you extract the joined text from the element where the id is 'sample' using the term 'product'? Here's the HTML: <!doctype html><html><head></head><body><link rel=\"canonical\" href=\"https://www.iana.org/help/example-domains\" id=\"sample\"></body></html>"},{"title":"Duplicate canonical detection across pages","prompt":"Check https://shop.example.com/category/shoes for canonical URL declaration text using the term 'category' and the 'class' attribute with value 'seo-canonical', and flag it if it matches any of these previously extracted texts: ['https://shop.example.com/shoes', 'https://shop.example.com/footwear']."}],"resultDescription":"Returns a bounded joined text extraction result containing the text content found within canonical URL declaration elements on the target page or HTML, matched by the specified attribute name and value, with deduplication context from previously seen texts.","failureModes":["URL is inaccessible or returns non-200 status — extraction fails with no result","JavaScript-rendered content not visible — static parser only sees initial HTML","No matching canonical element found for the given attribute/value pair — empty result returned","HTML payload exceeds 100,000 character limit — request rejected","Invalid attribute name pattern — request fails schema validation","URL exceeds 2048 character limit — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to statically extract text from canonical URL declaration elements in a page's HTML without JavaScript rendering, login, or browser emulation. It is ideal for lightweight SEO audits, canonical tag checks, and metadata extraction where the canonical link element is present in the raw HTML. Prefer it over full browser-based scrapers when speed and cost matter and the target content does not require JavaScript to render.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:34.653Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-joined-text-extraction-81da14c8"}