Grammar Check API

POST

Fix spelling and grammar errors before user submissions get saved.

Grammar Check is a simple tool for checking the grammar and spelling of a text. It returns the corrected text.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/grammarcheck
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

200 OK
{
  "status": "ok",
  "error": null,
  "data": {
    "modified": true,
    "corrected": "The pig snorted when I saw it on the barn gate. I was a little mad because it woke up my puppy",
    "errorCount": 3,
    "corrections": [
      {
        "rule": "repeated_word",
        "message": "Did you mean to repeat the word \"The\"?",
        "position": {
          "start": 0,
          "end": 7
        },
        "suggestions": [
          "The"
        ]
      },
      {
        "rule": "spelling",
        "message": "Did you mean \"because\"?",
        "position": {
          "start": 67,
          "end": 74
        },
        "suggestions": [
          "because"
        ]
      },
      {
        "rule": "spelling",
        "message": "Did you mean \"puppy\"?",
        "position": {
          "start": 92,
          "end": 101
        },
        "suggestions": [
          "puppy"
        ]
      }
    ]
  }
}

About the Grammar Check API

Grammar Check works by analyzing the text provided and checking for grammatical and spelling errors. It uses various sources to determine the errors and returns the corrected text.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Grammar Check

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Grammar Check API.

Read the docs
Is it cheap enough to check grammar on every user submission?
Yes. Each check costs 20 credits, which works out to about $0.003 per call on the Starter plan, or $3.00 per 1,000 calls. The Free plan gives you 10 checks each month to test your integration, while Starter covers 10,000 monthly checks.
Do I get error explanations and replacement suggestions on the Free plan?
No, detailed correction breakdown requires a paid plan. On the Free plan, you receive the corrected text, the error count, and a flag indicating if changes were made. Paid plans unlock the corrections list with violated rules, error positions, and specific replacement suggestions.
What types of writing mistakes does it detect?
It analyzes text for both grammatical mistakes and spelling errors. The response indicates whether any issues were found, reports the total error count, and provides a clean version of the text with all corrections applied.
What does the response look like if text contains no errors?
If your input text is already error-free, the modified flag returns false and errorCount is set to zero. The corrected text field simply returns your original submission without any alterations.
Can I highlight specific mistakes in an editor instead of auto-correcting?
Yes, on any paid plan. The premium corrections array provides character start and end positions alongside violated rules and suggested fixes. You can use those exact coordinates to build inline squiggly underlines and suggestion tooltips in your interface.

Ready to build with Grammar Check? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs