Spell Check API
5 languages
Grammar hints
10k chars

Catch every typo.In any language.

Multi-language spell checking with correction suggestions and grammar hints. English, Spanish, French, German, and Italian — one REST call, structured results.

5 · languages10k chars · per requestsuggestions · per typogrammar · hints included

Try spell checking live.

Type or paste text in any supported language and see spelling issues, suggestions, and grammar hints in real time. No API key needed.

Request builder

Pick a language and type text with intentional typos to see results.

GET /api/spell-check

57 / 10,000 chars

Output preview

Spelling issues, correction suggestions, and grammar hints.

11 words
2 misspelled
1 grammar hint

Spelling issues

sampelpos 10
sample
sentancepos 17
sentence

Grammar hints

capitalizationSentence should start with a capital letter

5 supported languages

English, Spanish, French, German, and Italian — switch with a single language param.

Suggestions on every typo

Each misspelled word returns ranked correction candidates alongside its position in the text.

Grammar hints included

Pass includeGrammar=true to surface capitalization, spacing, and style issues beyond spelling.

Why Spell Check API

More than a dictionary lookup.

5 Languages

English, Spanish, French, German, and Italian — covering the most common languages in user-generated content and documents.

Correction Suggestions

Each misspelled word comes with ranked correction candidates. Toggle suggestions off for a lightweight detection-only response.

Grammar Hints

Optional grammar and style hints surface capitalization issues, spacing problems, and other common writing errors alongside spelling results.

Word-Level Detail

Results include the misspelled token, its character position in the original text, and a suggestions array — all in one structured response.

GET-Friendly

URL-encode your text and pass language, suggestions, and includeGrammar as query params. No request body needed for single-text calls.

Structured Output

Consistent response shape with correlationId, per-word stats, and a flat suggestions map — easy to parse and display in any UI.

/api/spell-check

Endpoints, at a glance.

GET or POST to the same route. Add suggestions=true and includeGrammar=true for the full response.

POST/api/spell-check

Spell check (POST)

Submit text with optional language, suggestions, and grammar flags in the JSON body. Returns issues, suggestions, and grammar hints.

PRIMARY
GET/api/spell-check

Spell check (GET)

Same as POST — pass text, language, suggestions, and includeGrammar as URL query params. No request body required.

GET/api/spell-check/languages

Supported languages

Returns the list of supported language codes and which dictionaries are loaded in the current runtime.

GET/health

Health check

Returns service status, version, uptime, and dictionary metadata.

GET/metrics

Prometheus metrics

Request counts, cache hit rates, processing durations, and error rates.

ParameterTypeRequiredDefaultDescription
textstringyesText to spell-check (≤ 10,000 characters).
languagestringnoenLanguage code: "en", "es", "fr", "de", or "it".
suggestionsbooleannotrueInclude correction suggestions for each misspelled word.
includeGrammarbooleannotrueInclude grammar and style hints alongside spelling issues.
api_keystringyesAPI key via query param, or pass as x-api-key header.

Requests & responses.

GET or POST to the same endpoint. All params work in query string or JSON body.

GET — English with suggestions

URL-encoded text with suggestions and grammar hints enabled.

GET https://datpaq.com/api/spell-check?api_key=YOUR_API_KEY&text=This%20is%20a%20sampel%20sentance.&language=en&suggestions=true&includeGrammar=true
POST — Spanish text

JSON body with a different language — same response shape.

POST https://datpaq.com/api/spell-check
Content-Type: application/json
x-api-key: YOUR_API_KEY

{
  "text": "El documeto tiene algunas palabras maal escritas.",
  "language": "es",
  "suggestions": true,
  "includeGrammar": true
}
Health

https://datpaq.com/health

Metrics

https://datpaq.com/metrics

Error reference

Predictable errors, always structured.

Every error response includes a correlationId for request tracing and a clear error field.

400Missing Text

The text parameter is required. Pass ?text= for GET or "text" in the JSON body for POST.

400Text Too Long

Input exceeds the 10,000 character limit. Trim the text or split it into smaller chunks.

400Unsupported Language

Language code not recognized. Supported values: "en", "es", "fr", "de", "it".

401Unauthorized

API key missing or invalid. Pass api_key as a query param or x-api-key as a header.

404Route Not Found

The requested path does not exist. Check /api/spell-check and /api/spell-check/languages.

429Rate Limited

100 requests per 15 minutes per IP exceeded. Retry after the window resets.

500Processing Error

Internal error during spell-check. The correlationId in the response helps with debugging.

Example error response

{
  "error": "Validation failed",
  "details": "Text is required",
  "correlationId": "1780011610881-z0qs7cw52"
}

FAQ

API questions developers ask first.

How do I authenticate with this API?

Create an API key in your Datpaq dashboard and send it with each request as a bearer token in the Authorization header.

Is there a free tier?

Yes. Datpaq APIs include a free tier for building, testing, and small production workloads before you move to a paid plan.

What format do requests and responses use?

Datpaq APIs use REST over HTTPS and return JSON by default. Endpoint docs show the supported methods, query parameters, request bodies, and response fields.

Where can I see limits and errors?

Each API documents rate limits, validation rules, and error responses in the landing page and API docs so integrations can retry and fail cleanly.

Start checking spelling in minutes.

One GET request returns misspelled words, correction suggestions, and grammar hints. URL-encode your text, add your API key — done.