{"uid":"cap_ksQj5Q_R4EgYtkBdSBKGj","slug":"sitecheck-grammar-checker-d44108ad","name":"SiteCheck Grammar Checker","description":"Grammar, spelling and style check with LanguageTool: each issue with its message, the offending text, its position, up to five suggestions, the rule id and category, plus the corrected text with the first suggestion of each issue applied. Body { text, language }: up to 20 KB, language auto by default. Text is sent only to LanguageTool's public API.","url":"https://api.sitecheck-api.workers.dev/api/text/grammar?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The text to check, up to 20 KB (JSON body field)"},"language":{"type":"string","description":"auto (default), en-US, en-GB, de-DE, fr, es, pt-BR ... as LanguageTool supports them"}}},"responseSchema":{"type":"json","example":{"count":2,"issues":[{"bad":"has","length":3,"offset":2,"ruleId":"BASE_FORM","message":"Possible agreement error — use the base form here.","category":"GRAMMAR","suggestions":["have"]},{"bad":"sleep","length":5,"offset":16,"ruleId":"IT_VBZ","message":"After ‘It’, use the third-person verb form “sleeps”.","category":"GRAMMAR","suggestions":["sleeps"]}],"source":"LanguageTool public API (api.languagetool.org)","language":"en-US","checkedAt":"2026-10-15T13:48:02.031Z","corrected":"I have a cat. It sleeps all day."}},"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_SoofufL1JC4miAAWWAx27","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":"Checks text for grammar and spelling errors, returning annotated issues with suggestions and a corrected version, powered by LanguageTool","exampleAgentPrompt":"Can you check this paragraph for grammar mistakes and give me the corrected version? 'I has a cat. It sleep all day and never plays with me.' Use US English.","exampleUseCases":[{"title":"Proofread outgoing customer email","prompt":"Before I send this support reply, check it for grammar errors in US English: 'Thank you for reaching out. We has reviewed your case and our team are working on a solution.'"},{"title":"Validate multilingual marketing copy","prompt":"Check this French marketing text for grammar issues: 'Nous sommes ravis de vous presentez notre nouvelle produit.' Use fr as the language."},{"title":"Auto-proofread user-generated content","prompt":"A user just submitted this product review and I want to flag any grammar problems before it goes live: 'The battery life are amazing but the screen have some scratches out of box.' Check it in en-US and show me what needs fixing."}],"resultDescription":"Returns a JSON object with a count of issues found, an array of issue objects (each with the bad text, its character offset and length, the LanguageTool rule ID, a human-readable message, the error category, and an array of suggested corrections), the detected or specified language, the source API, the timestamp, and a fully corrected version of the input text.","failureModes":["Text exceeds 20 KB limit — request rejected","Unsupported language code returns an error or falls back to auto-detection","Malformed JSON body causes a 400 error","LanguageTool upstream API unavailable causes a 502 or timeout","Empty text field returns zero issues or an error","Network or payment (x402) failure prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need rule-based grammar and spelling validation with detailed per-error annotations (offset, rule ID, category, suggestions) and an auto-corrected output. It is particularly useful for agents automating content pipelines, proofreading user-generated text, or validating copy before publishing. It supports multiple languages via LanguageTool, making it suitable for multilingual workflows. Prefer it over LLM-based rewriting when you need structured, auditable error reports rather than a free-form rewrite.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:16.081Z","isFirstParty":false,"canonicalSlug":"sitecheck-grammar-checker-d44108ad"}