{"uid":"cap_4mIpgV-_7UcDIVUOszN_a","slug":"agentshelf-hreflang-extractor-33cf4a69","name":"AgentShelf Hreflang Extractor","description":"Call when an agent needs anchor hreflang values extracted from a public page or HTML (SSRF-safe). Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/profile-a-hreflang first.","url":"https://agentshelf.syntexa.ch/v1/profile-a-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.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x2XAkWp6omH1YDRGFDp9D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts anchor hreflang attribute values from a public webpage URL or raw HTML in an SSRF-safe manner","exampleAgentPrompt":"Can you extract all the hreflang values from https://example.com/about — I need to see which language and region alternates are declared on that page?","exampleUseCases":[{"title":"Multilingual SEO audit for a website","prompt":"Pull all the hreflang tags from https://shop.acme.com/products — I want to know which language and country variants they've declared for that page."},{"title":"Verify alternate language links in HTML","prompt":"Here's the raw HTML of our homepage — can you extract all the hreflang attribute values from the anchor tags so I can check our international link setup is correct?"},{"title":"Competitor internationalization research","prompt":"Check https://competitor.com/pricing and tell me all the hreflang values they use — I want to see which locales they're targeting with alternate language pages."}],"resultDescription":"A list of hreflang attribute values extracted from anchor elements on the specified page or HTML, representing language and region codes (e.g. 'en-US', 'fr-FR', 'x-default') along with their associated URLs, enabling analysis of a page's international SEO link annotations.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","HTML input exceeds 200,000 character limit — request rejected","URL is blocked for SSRF safety reasons (private/internal IP ranges) — returns an SSRF error","Page contains no anchor hreflang attributes — returns an empty result set","Malformed HTML prevents proper parsing — partial or empty results","URL string is shorter than 8 characters or longer than 2048 characters — validation error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract hreflang alternate language annotations from a live webpage or known HTML for SEO auditing, internationalization verification, or competitor research. It is SSRF-safe, making it appropriate for agent pipelines that fetch arbitrary user-supplied URLs. Prefer the free sandbox endpoint (/v1/sandbox/profile-a-hreflang) for testing before committing to the $0.002 USDC paid call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:01.056Z","isFirstParty":false,"canonicalSlug":"agentshelf-hreflang-extractor-33cf4a69"}