{"uid":"cap_Lvf-yC0B-INfC0HVMvYGZ","slug":"agentshelf-profile-link-hreflang-extractor-f1547020","name":"AgentShelf Profile Link Hreflang Extractor","description":"Call when an agent needs link hreflang values extracted from a public page or HTML (SSRF-safe). Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/profile-link-hreflang first.","url":"https://agentshelf.syntexa.ch/v1/profile-link-hreflang?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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p2ZHYRLQlnOBRH2yQZbyx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts hreflang attribute values from link elements on a public webpage or provided HTML, enabling internationalization and SEO analysis.","exampleAgentPrompt":"Can you pull all the hreflang link values from https://example.com so I can see which language and region variants they've declared?","exampleUseCases":[{"title":"International SEO audit for a website","prompt":"Check https://www.shopify.com for all hreflang link tags — I want to see every language and region they're targeting so I can compare it to our own site's implementation."},{"title":"Validate hreflang from raw HTML snippet","prompt":"I have this HTML from our staging site and I need you to extract all the hreflang values from the link tags in the head section so I can verify our localization setup is correct."},{"title":"Competitive localization research","prompt":"Go to https://www.airbnb.com and extract all the hreflang link attributes so I can understand how many locales they're officially supporting through their SEO markup."}],"resultDescription":"Returns the hreflang attribute values found in link elements of the page or HTML, typically including language codes (e.g. 'en', 'fr', 'de') and optional region subtags (e.g. 'en-US', 'fr-FR'), along with associated href URLs for each alternate language version.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with an error","HTML input exceeds 200,000 character limit — request rejected","No hreflang link elements present on the page — returns empty result","SSRF-blocked URLs (private/internal IPs) are rejected for security","Malformed HTML may cause incomplete extraction","URL shorter than 8 characters or longer than 2048 characters fails validation"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract hreflang link attributes from a public webpage or raw HTML for SEO auditing, internationalization verification, or localization research. It is SSRF-safe, making it suitable for agent use without risk of internal network access. Prefer the free sandbox endpoint (POST /v1/sandbox/profile-link-hreflang) for development and testing before paying $0.006 USDC per production call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:11.743Z","isFirstParty":false,"canonicalSlug":"agentshelf-profile-link-hreflang-extractor-f1547020"}