{"uid":"cap_RgSEtjzXPKLFY-wkMGzkV","slug":"halowerk-sprach-html-element-declared-document-language-check-d851a31c","name":"HALOWERK sprach – HTML-Element Declared Document Language Check","description":"Prüft am Objekt html-element den Befund deklarierte Dokumentsprache.","url":"https://sprach.halowerk.com/v1/pruef/sprach/lang/html-element?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ziel":{"oneOf":[{"type":"string","maxLength":2048,"minLength":1,"description":"Öffentliche HTTP(S)-Adresse; bei DNS-Befunden Domain oder öffentliche IP."},{"type":"object","required":["adresse"],"properties":{"adresse":{"type":"string","maxLength":2048,"minLength":1},"selektor":{"type":"string","maxLength":240,"minLength":1,"description":"CSS-Selektor: genau ein Objekt, sonst erster Treffer des Objektfilters."},"vergleich":{"type":"string","maxLength":2048,"description":"Öffentliche Vergleichsadresse für Link-, Sitemap- oder Sprachbefunde."},"user_agent":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,80}$"},"dkim_selektor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,63}$"}},"additionalProperties":false}]}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pXsp6HyNJoi7DpkAGYqXC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the declared document language on an HTML element of a given web page and returns the found language value.","exampleAgentPrompt":"Can you check what language is declared in the HTML element of https://example.com — I want to know if the lang attribute is set correctly on the page?","exampleUseCases":[{"title":"Audit multilingual site for lang attribute","prompt":"Go through https://shop.example.de and tell me what language is declared in the HTML element — I need to confirm it's set to 'de' and not something else."},{"title":"SEO pre-launch language check","prompt":"Before we go live, can you verify that the HTML element on https://staging.myapp.com correctly declares the document language so search engines index it properly?"},{"title":"Accessibility compliance verification","prompt":"I need to check if https://gov-portal.example.org has a valid language declared on its HTML element — it's required for WCAG accessibility compliance."}],"resultDescription":"Returns the language value declared in the lang attribute of the HTML element for the given URL, along with a finding status indicating whether a valid language declaration was found, missing, or malformed.","failureModes":["URL is unreachable or returns a non-200 HTTP status","Target page has no HTML element or no lang attribute present","CSS selector matches no element or more than one element","URL is not a public HTTP/HTTPS address","Input URL exceeds maximum length of 2048 characters","Page content is not valid HTML","Network timeout when fetching the target URL"],"whenToPreferThis":"Use this endpoint when you need to specifically verify the lang attribute declared on the root HTML element of a webpage, as opposed to language declarations in hreflang tags, meta descriptions, sitemaps, or text blocks. It is the right choice for HTML-level language auditing, accessibility compliance checks (WCAG), and SEO validation where the html[lang] attribute is the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:41:54.964Z","isFirstParty":false,"canonicalSlug":"halowerk-sprach-html-element-declared-document-language-check-d851a31c"}