{"uid":"cap_OXnryo1vje5OVenMl-snh","slug":"agentshelf-og-locale-extractor-48fe4db5","name":"AgentShelf OG Locale Extractor","description":"Call when an agent needs og:locale extracted from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/profile-og-locale first.","url":"https://agentshelf.syntexa.ch/v1/profile-og-locale?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_ict_M5d6kFW8LMfVnr-OM","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 the og:locale Open Graph meta tag value from a public webpage URL or raw HTML content, in an SSRF-safe manner.","exampleAgentPrompt":"Can you extract the og:locale value from https://www.bbc.com/news — I want to know what locale that page declares in its Open Graph metadata?","exampleUseCases":[{"title":"Locale detection for SEO audit","prompt":"I'm auditing the SEO metadata on our landing pages — can you pull the og:locale value from https://example.com to check if it's correctly set to en_US?"},{"title":"Internationalization QA for CMS","prompt":"We just published a French version of our blog post and I need to verify it has the right locale declared — can you check the og:locale tag from this HTML I've got?"},{"title":"Competitor locale research","prompt":"I want to see what locale our competitor's homepage is targeting — can you fetch and extract the og:locale meta value from https://www.shopify.com?"}],"resultDescription":"Returns the extracted og:locale value from the page's Open Graph metadata (e.g. 'en_US', 'fr_FR'). If the tag is absent or the page cannot be fetched, returns an empty or null result.","failureModes":["URL is unreachable or returns non-200 HTTP status","og:locale meta tag is absent from the page","HTML content exceeds 200,000 character limit","URL is blocked due to SSRF safety restrictions","Malformed HTML that prevents meta tag parsing","Input URL is shorter than 8 characters or longer than 2048 characters"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract the og:locale Open Graph meta attribute from a page, particularly in SSRF-safe context. Prefer this over general-purpose scrapers when you only need the locale tag and want a lightweight, purpose-built extractor with predictable pricing. Use the free sandbox POST /v1/sandbox/profile-og-locale first to test before paying.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:56.886Z","isFirstParty":false,"canonicalSlug":"agentshelf-og-locale-extractor-48fe4db5"}