{"uid":"cap_B4mnyitb6iNcd-_c7Hyzh","slug":"canonical-url-declarations-text-length-ranking-92ae4a07","name":"Canonical URL Declarations — Text Length Ranking","description":"Canonical URL declarations — Text length ranking: Text length ranking 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 text length ranking result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-canonical-rank?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_H7Y3lExMano-GT7wyTore","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 or HTML snippet to extract canonical URL declarations and ranks the matched element's text by length against a list of previous texts.","exampleAgentPrompt":"Check the canonical URL declaration on https://example.com/product-page for the element with id 'main-canonical', extract its text, and rank its length against these previous texts: ['Older example', 'Another version'] — use 'product' as the search term.","exampleUseCases":[{"title":"SEO canonical tag audit over time","prompt":"Parse https://myshop.com/shoes and find the canonical link element with id 'canonical-main', then rank its text length against these previous snapshots: ['Old canonical text', 'Even older text'] — use 'shoes' as the term so I can track how the canonical declaration has changed."},{"title":"Validate canonical tag in HTML draft","prompt":"I have a draft HTML file — here it is: <!doctype html><html><head><link rel='canonical' href='https://example.com/page' id='can1'></head><body></body></html> — check the canonical element with attribute id='can1' and rank its text length against ['Previous draft text'] using the term 'page'."},{"title":"Benchmark canonical text length across releases","prompt":"For the page at https://docs.mysite.com/api-reference, find the canonical declaration element where data-version='v2', use 'api' as the search term, and rank its text length against these past release values: ['v1 canonical text', 'v0 canonical text'] so I can see if it's gotten longer."}],"resultDescription":"Returns a bounded text length ranking result indicating where the canonical URL element's extracted text falls in length relative to the provided list of previous texts, along with the rank position and relevant length metrics.","failureModes":["URL is unreachable or returns non-200 HTTP status — parsing fails with no result","Page requires JavaScript rendering — static parser returns empty or incomplete canonical data","No element matches the specified attribute and attribute_value — ranking cannot be performed","HTML input exceeds 100,000 character limit — request rejected","Previous texts array exceeds 200 items — request rejected","Malformed HTML input — parser may return unexpected or empty results"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, static parse of a single page's canonical URL HTML element and want to rank its text length against a historical or comparative list of texts — particularly useful for SEO monitoring, regression tracking of canonical tags, or validating canonical declarations in HTML drafts without needing JavaScript rendering or full browser execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:16.893Z","isFirstParty":false,"canonicalSlug":"canonical-url-declarations-text-length-ranking-92ae4a07"}