{"uid":"cap_jUeht3v81EUC5aERoPn9H","slug":"link-rel-amphtml-extractor-d5272ae0","name":"link-rel-amphtml Extractor","description":"The rel=\"amphtml\" links of a page: every matching <link>/<a> with href, resolved to absolute URLs, with a count. AMP version. $0.01 per page.","url":"https://site.intel.rallylive.ca/site/link-rel/amphtml?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_YnSTzGjJ1X7G0xZn0KKzv","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":"Fetches a web page and returns all rel='amphtml' link elements with their resolved absolute URLs and a count.","exampleAgentPrompt":"Can you check the page at https://www.example.com/article and tell me if it has a rel='amphtml' link — and if so, what the AMP URL is?","exampleUseCases":[{"title":"Check if article has AMP version","prompt":"Look at this news article URL — https://techcrunch.com/2024/01/some-article — and tell me whether it has an AMP version linked in the page head, and what that AMP URL is."},{"title":"SEO audit for AMP presence","prompt":"I'm auditing our site's SEO. Can you check https://www.myblog.com/latest-post and find all rel='amphtml' links on the page so I know if we're correctly pointing to our AMP content?"},{"title":"Competitor AMP strategy research","prompt":"I want to know if our competitor at https://www.competitor-store.com is using AMP pages — can you fetch their homepage and extract any amphtml link tags with their resolved URLs?"}],"resultDescription":"Returns all <link> and <a> elements with rel='amphtml' found on the fetched page, with each href resolved to an absolute URL, plus a total count of matching links found.","failureModes":["Page is unreachable or returns non-200 status — no links returned","Page has no rel='amphtml' links — count returns 0 with empty list","Page uses JavaScript rendering so links are not in static HTML — may miss dynamically injected AMP links","Relative URLs that cannot be resolved due to missing base URL — may return partial results","Rate limiting or bot blocking by the target site — request may fail or return empty"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover whether a specific web page declares an AMP version via rel='amphtml' link tags. It is ideal for SEO auditing, content pipeline enrichment, or verifying AMP implementation. Prefer this over a generic HTML scraper when you specifically need AMP link discovery with resolved absolute URLs and a count, without parsing raw HTML yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:40:23.582Z","isFirstParty":false,"canonicalSlug":"link-rel-amphtml-extractor-d5272ae0"}