Grammar Checker API

Grammar correction for production workflows.

Correct grammar, spelling, and punctuation while preserving voice, meaning, language, and paragraph structure. Get corrected text plus a complete word-level diff.

5 to 10,000 words per request. 1 credit per word.

GRAMMAR CHECKER
Input 12 words

This are a sample sentence with some grammar mistake inside of it.

Corrected text
  • Result 2 edits
  • Input words 12
  • Changed true
  • Variant Auto

Grammar

Replace “are” with “is”.

Agreement

Replace “mistake” with “mistakes”.

Build grammar review into any writing product.

A synchronous endpoint with a complete diff, stable character offsets, and optional English-variant targeting.

Complete word-level diff

Render track changes from replace, insert, and delete operations that reference the submitted text.

Minimal-change correction

Correct writing mechanics while preserving voice, meaning, language, and paragraph structure.

English variant control

Use automatic detection or target en-US, en-GB, en-CA, en-AU, or en-IN.

Clean-text handling

Text that needs no correction is returned unchanged with an empty diff.

Safe retries

Use an idempotency key to avoid duplicate processing and duplicate charges during retries.

Script-aware billing

The response returns the word count used for billing, with 1 credit charged per word.

Pair grammar correctionwith the rest of Walter.

Use one developer portal and scoped API keys for humanization, AI text detection, grammar correction, plagiarism scanning, and AI image detection.

AI Detector API interface preview
AI Detector API interface preview

AI Detector API

Live

Analyze text for AI-generated content with confidence scores and sentence-level details.

AI Humanizer API interface preview
AI Humanizer API interface preview

AI Humanizer API

Live

Transform AI-generated text into natural, human-like content through a documented REST endpoint.

AI Voice Detector API interface preview
AI Voice Detector API interface preview

AI Voice Detector API

Coming soon

Audio detection is planned for a future Walter API release.

Plagiarism Checker API interface preview
Plagiarism Checker API interface preview

Plagiarism Checker API

Live

Scan text against web sources and return a score, matched URLs, and highlighted character ranges.

Grammar Checker API interface preview
Grammar Checker API interface preview

Grammar Checker API

Live

Correct grammar, spelling, and punctuation and return corrected text plus a complete word-level diff.

AI Image Detector API interface preview
AI Image Detector API interface preview

AI Image Detector API

Live

Upload an image and receive a real, fake, or inpainting verdict with confidence and per-class probabilities.

Start free. One credit pool, every API.

Grammar corrections use 1 credit per word. Every request returns the script-aware word count used for billing.

300K

$49

300K credits / mo

1M

$129

1M credits / mo

2M

$229

2M credits / mo

5M

$479

5M credits / mo

12M

$899

12M credits / mo

25M

$1,699

25M credits / mo

Need enterprise pricing?

Talk to us about higher-volume workloads and enterprise deployment requirements.

Frequently asked questions.

Documented answers about the endpoint, response, limits, billing, and safe production use.

Is the Walter Grammar Checker API live?

Yes. Send a POST request to /api/grammar/correct/ with an API key that has the grammar_checker scope.

What does the Grammar Checker API return?

It returns corrected text, a complete word-level diff, issue notes, edit counts, input counts, execution time, and the remaining credit balance. Diff offsets refer to the text exactly as submitted.

What are the request limits?

Requests must contain at least 5 words and may contain up to 10,000 words or 75,000 characters.

How is grammar checking billed?

Grammar correction costs 1 credit per word using the API’s script-aware count. Failed corrections are refunded automatically.

Can I select an English variant?

Yes. Set target_variant to auto, en-US, en-GB, en-CA, en-AU, or en-IN. Auto is the default and preserves the input’s variant.

How should retries be handled?

Send an Idempotency-Key header. Reusing the same key with the same text within five minutes returns the original response without another charge.

Ship your first Grammar Checker API request.

Create an API key with the required scope, follow the documented request format, and keep the returned evidence in your existing review workflow.

From the blog

Latest Research & Insights

Guides, comparisons and practical advice from Walter.

View all