{"uid":"cap_c6L6Z9KtqvMZPa5zSt-Vy","slug":"link-rel-alternate-extractor-faf6985c","name":"link-rel-alternate Extractor","description":"The rel=\"alternate\" links of a page: every matching <link>/<a> with href, resolved to absolute URLs, with a count. Language/format alternates. $0.01 per page.","url":"https://site.intel.rallylive.ca/site/link-rel/alternate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_EAHe5huOf5cnD0Ov89vv3","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":"Extracts all rel=\"alternate\" links from a web page, resolving them to absolute URLs with a count, useful for finding language and format alternates.","exampleAgentPrompt":"Can you pull all the rel=\"alternate\" links from https://www.example.com/article — I want to see every language version and alternate format (like AMP or RSS) that page declares, with their absolute URLs?","exampleUseCases":[{"title":"Multilingual site language discovery","prompt":"Check https://www.bbc.com/news and give me all the alternate language versions it links to — I want the full absolute URLs for each language variant declared on that page."},{"title":"RSS and feed link detection","prompt":"Does https://techcrunch.com declare any RSS or Atom feed alternates in its link tags? Fetch the rel=alternate links and show me what it finds."},{"title":"SEO hreflang audit","prompt":"I need to audit the hreflang setup on https://www.shopify.com — can you grab all the rel=alternate links so I can verify every language and region variant is properly declared?"}],"resultDescription":"A list of all <link> and <a> elements with rel=\"alternate\" found on the target page, each resolved to an absolute URL, along with a total count of matching links. Typical results include hreflang entries for different language/region versions and format alternates such as RSS, Atom, AMP, or PDF representations.","failureModes":["Page returns non-200 status — no links extracted","Page has no rel=alternate links — returns empty list with count 0","Relative URLs that cannot be resolved if base URL is ambiguous","JavaScript-rendered pages may not expose alternate links if only rendered client-side","Rate limiting or access restrictions on the target page returning an error","Invalid or malformed URL input causing request failure"],"whenToPreferThis":"Use this endpoint when you specifically need to discover language alternates (hreflang), format alternates (RSS, AMP, PDF), or other rel=alternate link annotations declared in a page's HTML. It is preferable over a full-page scrape when you only need alternate link metadata and want a focused, low-cost extraction. Choose this over generic link extractors when the rel attribute type matters and you want resolved absolute URLs ready to use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:57.015Z","isFirstParty":false,"canonicalSlug":"link-rel-alternate-extractor-faf6985c"}