{"uid":"cap_jgGGTdV7wTPTM7hdAqwFG","slug":"canonical-url-declarations-term-context-excerpts-192e3d4b","name":"Canonical URL Declarations — Term Context Excerpts","description":"Canonical URL declarations — Term context excerpts: Term context excerpts 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 term context excerpts result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-contexts?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_shVuc2x88d6JKq7sukRgS","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 public webpage or supplied HTML to extract context excerpts surrounding occurrences of a specified term within canonical URL declarations.","exampleAgentPrompt":"Parse the HTML at https://example.com/product-page and extract all context excerpts around the term 'product' found within canonical URL declarations, specifically looking at the id attribute for value 'main-canonical'.","exampleUseCases":[{"title":"SEO canonical tag audit","prompt":"Check https://shop.example.com/shoes and pull out all the context snippets around the term 'shoes' in any canonical link declarations on that page — I want to verify the canonical tags are referencing the right URLs."},{"title":"Duplicate content investigation","prompt":"I have this HTML snippet with several canonical link tags — can you extract every excerpt where the term 'category' appears within the canonical declarations? Here's the HTML: <!doctype html><html><head><link rel=\"canonical\" href=\"https://site.com/category/boots\"></head></html>"},{"title":"Canonical attribute value verification","prompt":"For the page at https://blog.mysite.com/article-1, find all canonical URL declaration excerpts that contain the term 'article' and check specifically within the href attribute."}],"resultDescription":"Returns bounded context excerpts showing where and how the specified term appears within canonical URL declarations on the parsed page, including surrounding text snippets from matching HTML elements identified by the given attribute and attribute value.","failureModes":["URL is not publicly accessible or requires authentication — returns error or empty result","HTML exceeds 100,000 character limit — input truncated or rejected","Term not found in any canonical URL declaration — returns empty excerpts array","JavaScript-rendered content not visible — static parser only sees server-rendered HTML","Invalid attribute name pattern — rejected by schema validation","URL resolves to non-HTML content (PDF, image) — parsing fails or yields no results"],"whenToPreferThis":"Choose this endpoint when you need to specifically extract term-level context from canonical link declarations in HTML, particularly for SEO audits, duplicate content analysis, or verifying canonical tag correctness. It is ideal when you already have the HTML or a public URL and want targeted excerpts rather than a full-page scrape. It is not suitable for JavaScript-rendered pages, authenticated pages, or general full-text extraction tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:34.164Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-term-context-excerpts-192e3d4b"}