apyhub
DATA VALIDATION · DEVELOPER TOOLS

Check Spelling API

What it does

Spell Check detects misspelled words in a text string and returns correction suggestions. Send plain text in the text query field, and get back the original input, a misspelled list, and a corrections object keyed by the detected words.

Use Spell Check when you need lightweight spelling validation in forms, editors, content pipelines, or internal tools. It is useful for catching obvious typos before publishing copy, flagging user-entered text, or adding a review step in CMS workflows.

The response is easy to consume programmatically: misspelled tells you which words need attention, while corrections gives you suggested replacements for each one. If the input is already clean, you still get a structured response you can handle consistently in your application.

Because the endpoint is focused on spelling only, it fits well alongside grammar checks, content moderation, or broader text-processing pipelines without adding extra parsing overhead.

GET
Detect misspelled words in text and return correction suggestions
http://localhost:8080/dosvak/spellcheck
QUICKSTARTGUIDE

Quickstart

Check a word or phrase for spelling mistakes by sending it as the text query parameter.

curl -X GET "http://localhost:8080/dosvak/spellcheck?text=Ths%20is%20a%20smple%20sentence" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with three optional top-level fields: input is the original text as a string, misspelled is an array of misspelled words, and corrections is an object mapping misspelled words to suggested corrections.

{
  "input": "Ths is a smple sentence",
  "misspelled": ["Ths", "smple"],
  "corrections": {
    "Ths": "This",
    "smple": "simple"
  }
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.

About this endpoint

What it does

Detects misspelled words in the provided text and returns suggested corrections. You send the text as a query parameter and receive a JSON object describing the input, the misspelled words, and a corrections map.

Query Parameter(s)

AttributeTypeMandatoryDescription
textStringYesThe text to check for spelling mistakes.

Response

Returns a JSON object with three top-level fields: input as a string, misspelled as a string array, and corrections as an object whose values are strings. The schema does not define a fixed success status code, so the response shape itself is the source of truth.

ParameterTypeMandatoryDescription
inputStringNoThe input text that was checked.
misspelledString ArrayNoA list of misspelled words found in the input text.
correctionsObjectNoA map of corrections for misspelled words; each property value is a string.

Query parameters

Name
Type
Description
textREQUIRED
string
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.