{"uid":"cap_EkCYkbuwDRpMqZQBIKoO-","slug":"agentshelf-syntexa-ch-amp-html-link-extractor-c4430545","name":"agentshelf.syntexa.ch AMP HTML Link Extractor","description":"Call when an agent needs link rel=amphtml hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-amphtml first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-amphtml?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aIDMCA58qwcz_dGQeZ7pR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts link rel=amphtml href values from a given public URL or raw HTML document, returning the AMP version URLs found on the page.","exampleAgentPrompt":"Can you extract the AMP version URL from this page — https://www.example-news.com/article/breaking-story — by pulling the link rel=amphtml href from it?","exampleUseCases":[{"title":"Find AMP version of news article","prompt":"I need the AMP URL for this article — https://www.theguardian.com/technology/2024/ai-article — can you pull the link rel=amphtml href from that page?"},{"title":"Check raw HTML for AMP alternate link","prompt":"I have this raw HTML from a webpage and I need you to extract any link rel=amphtml hrefs from it so I can redirect mobile users to the AMP version."},{"title":"SEO audit for AMP discoverability","prompt":"For this URL https://www.myblog.com/post/seo-tips, can you check if there's an amphtml link rel tag and tell me what AMP URL it points to?"}],"resultDescription":"Returns the extracted href values from all link rel=amphtml elements found in the page or HTML, typically one or more AMP page URLs. If no amphtml link is present, returns an empty result or null.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with error","Page has no link rel=amphtml elements — returns empty result","HTML input exceeds 200,000 character limit — rejected with validation error","URL is blocked due to SSRF protection (private/internal IPs) — rejected","Malformed HTML prevents parsing — may return empty or partial result","URL string shorter than 8 characters — rejected by schema validation"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover the AMP alternate URL for a given public webpage, either by providing a URL to fetch or raw HTML to parse. It is SSRF-safe for agent use. If a free sandbox version (POST /v1/sandbox/profile-rel-amphtml) is available, prefer that first to avoid the $0.009 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:18:42.875Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-amp-html-link-extractor-c4430545"}