What it does
The Correct Text Spelling API is a spelling correction API that finds misspelled words in a piece of text and fixes them. Send a short text and get back the corrected version, together with a list of every word that was wrong and what it was changed to.
It is one POST endpoint with a single text field, and the answer comes back in the same request. The response has three parts: original with the text you sent, corrected with the fixed text, and misspelled, an object that maps each wrong word to its correction. Sending Ths is a smple sentence. returns This is a simple sentence., with Ths mapped to This and smple mapped to simple.
Because you get both the corrected text and the individual changes, you can auto-correct text in the background or show each fix to the user so they can accept or ignore it. Input is limited to 512 characters, so it is built for short text: form fields, chat and support messages, search queries, comments, product titles and reviews.
If you only want suggestions without changing the text, use the Check Spelling API. For longer text, or to fix grammar as well as spelling, use the Proofread Text and Grammar Check API. To screen the same messages for offensive language, pair it with the CheckText Profanity API or the Detect Text Toxicity API, and to show users exactly what changed between two versions, use the Differentiate Text API.
You can try it right here in the playground. Start for free with 5 API calls a day, no card required, and check your own text before you commit.
The API is also available through ApyHub MCP, so AI agents can correct spelling directly before they store or send text.