Walter Writes AI Grammar Checker API

The Grammar Checker API from Walter Writes AI, for grammar checker.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /api/grammar/correct/ Correct grammar, spelling, and punctuation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/walterwrites-ai:walterwrites-ai-grammar-checker-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

walterwrites-ai-grammar-checker-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Walter Writes Grammar Checker API
  version: 1.0.0
  description: Humanize AI-generated text, detect AI-written content in text, images, and voice recordings, scan text for plagiarism, and correct grammar. Authenticate every request with an API key in the X-API-Key header. Requests consume credits.
servers:
- url: https://developer-portal.walterwrites.ai
security:
- ApiKeyAuth: []
tags:
- name: Grammar Checker
paths:
  /api/grammar/correct/:
    post:
      operationId: correctGrammar
      summary: Correct grammar, spelling, and punctuation
      description: Synchronous. Requires the grammar_checker scope. Costs 1 credit per word.
      tags:
      - Grammar Checker
      externalDocs:
        url: https://docs.walterwrites.ai/api-reference/grammar-checker
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 255
        description: Makes retries safe. The same key with the same text within 5 minutes returns the original response at no charge; the same key with different text returns 409.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrammarRequest'
      responses:
        '200':
          description: Corrected text with a complete word-level diff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrammarResponse'
        '400':
          description: 'Codes: invalid_payload, min_words_not_met, max_words_exceeded, invalid_idempotency_key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'The API key lacks the required scope, or there are not enough credits (codes: insufficient_credits, credits_exhausted, trial_expired).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Code idempotency_key_reuse: the Idempotency-Key was already used with different text.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: 'Codes: service_unavailable, service_error. Credits are refunded.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    User:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          description: Your user ID.
    GrammarResponse:
      type: object
      properties:
        status:
          type: string
          enum:
          - success
        corrected_text:
          type: string
        diff:
          type: array
          items:
            $ref: '#/components/schemas/GrammarDiffOperation'
        issues:
          type: array
          items:
            type: object
            additionalProperties: true
            properties:
              category:
                type: string
              severity:
                type: string
              message:
                type: string
        edits_count:
          type: integer
        changed:
          type: boolean
        input_words:
          type: integer
        input_chars:
          type: integer
        word_count:
          type: integer
          description: Credits charged for this request.
        execution_time:
          type:
          - number
          - 'null'
        credits_remaining:
          type: integer
        user:
          $ref: '#/components/schemas/User'
    GrammarDiffOperation:
      type: object
      additionalProperties: true
      properties:
        type:
          type: string
          description: replace, insert, or delete.
        original:
          type: string
        corrected:
          type: string
        start:
          type: integer
        end:
          type: integer
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when present (for example invalid_payload, insufficient_credits).
        details:
          type: object
          additionalProperties: true
          description: Extra context, when present.
    GrammarRequest:
      type: object
      required:
      - content
      properties:
        content:
          type: string
          maxLength: 75000
          description: Text to correct, 5 to 10,000 words and at most 75,000 characters. Diff offsets in the response refer to this text exactly as submitted.
        target_variant:
          type: string
          enum:
          - auto
          - en-US
          - en-GB
          - en-CA
          - en-AU
          - en-IN
          default: auto
          description: English variant for corrections. "auto" preserves the input's variant.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key created in the Developer Portal (https://platform.walterwrites.ai/api-keys). Send it in the X-API-Key header on every request.
externalDocs:
  description: Documentation
  url: https://docs.walterwrites.ai