About this endpoint
What it does
Corrects the spelling in the provided text for the specified language and returns the corrected text.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| text | String | The text to correct. Maximum length: 2,000 characters for Latin-script text (about 800 for other scripts, because the text is sent in the URL). |
| language | String | The language code to use for correction. Must be a string with a maximum length of 2 characters. |
Five languages are supported:
| Language | Code |
|---|---|
| English | en |
| German | de |
| Spanish | es |
| French | fr |
| Italian | it |
Response
Returns a JSON object with a corrected_text string field, which may be null.
| Attribute | Type | Description |
|---|---|---|
| corrected_text | String | The corrected text returned by the API, or null if no corrected text is available. |



