{"uid":"cap_EUgZj7gq6SCtC8k5zSfnQ","slug":"brainiac-document-language-check-697575bf","name":"BRAINIAC Document Language Check","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/accessibility/document-language-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/\\S+$","maxLength":2000,"minLength":8},"html":{"type":"string","maxLength":200000,"minLength":1}}},"responseSchema":{"type":"json","example":{"url":"","issues":[{"code":"language_missing","kind":"confirmed","element":"html","explanation":"The page has no lang attribute on the html element.","remediation":"Add a lang attribute, such as lang=\"en\", that matches the page language."},{"code":"language_not_compared","kind":"manual","element":"document","explanation":"The page text was not checked for its human language.","remediation":"Confirm that the lang value matches the language people read on the page."}],"source":"html","status":"checked","language":"","warnings":[],"checkedAt":"2026-11-02T19:00:00.000Z","limitations":["This is a static HTML check. It is not a WCAG conformance claim.","JavaScript is not run, so states that appear only after interaction are not seen.","…"],"languageStatus":"missing","wcagCompliance":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U-KANFhwYfn6IclR6Sq1S","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a webpage or HTML document for missing, invalid, or mismatched lang attributes and WCAG language accessibility issues","exampleAgentPrompt":"Can you check whether https://www.example.com has a proper lang attribute set on the html element and flag any WCAG language accessibility issues?","exampleUseCases":[{"title":"Pre-launch accessibility audit","prompt":"Before we publish the new landing page, check https://www.acmecorp.com/landing for any missing or incorrect language attributes that would fail WCAG accessibility requirements."},{"title":"CI pipeline HTML validation","prompt":"Here's the raw HTML for our checkout page — can you scan it for language accessibility issues like a missing lang attribute and tell me exactly what to fix?"},{"title":"Third-party site compliance check","prompt":"I need to verify that https://partner-site.example.org has correct language attributes set for accessibility compliance — flag anything that looks wrong and tell me how to remediate it."}],"resultDescription":"A JSON object containing: the page URL or source indicator, an array of issues each with a code (e.g. 'language_missing'), kind ('confirmed' or 'manual'), affected element, plain-English explanation, and remediation advice; the detected language value; overall language status ('missing', 'present', etc.); a WCAG compliance boolean; warnings array; timestamp of the check; and a list of static-analysis limitations (e.g. JavaScript not executed, manual checks not auto-confirmed).","failureModes":["URL is unreachable or returns a non-200 response — check may fail or return an error status","HTML input exceeds 200,000 character limit — request rejected","Neither url nor html provided — request invalid","Page uses JavaScript to set lang dynamically — static check won't detect it","Network timeout fetching the URL — no result returned"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call, no-account accessibility check specifically focused on document language attributes and WCAG language requirements. It is ideal for CI/CD pipelines, agent-driven audits, or one-off checks where you don't want to maintain a subscription to a full accessibility platform. It supports both URL-based fetching and raw HTML input, making it flexible for pre-publication checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:17.405Z","isFirstParty":false,"canonicalSlug":"brainiac-document-language-check-697575bf"}