# Spelling & Grammar Check Perform spelling and grammar check on the given content (recommend for long content). Support English, French and Spanish. Endpoint: POST /text/nlp/spellcheck Version: 2025-08-18T18:01:56Z Security: api_key ## Request fields (application/json): - `text` (string, required) The text content with UTF-8 text representation - `lang` (string, required) The two letter language code Enum: "en", "fr", "es" ## Response 200 fields (application/json): - `status` (object) response status - `status.success` (boolean) Response status - `status.code` (integer) Response status code - `result` (object) response body - `result.result` (array) Matched result of spelling and grammer check - `result.result.matches` (array) List of spelling and grammer problems 1st object is for Spelling error 2nd object is for Grammar error - `result.result.matches.type` (string) The type of checking suggestion Enum: "spelling", "grammar" - `result.result.matches.offset` (integer) The starting offset of the word's position - `result.result.matches.length` (integer) The length of the word's position - `result.result.matches.message` (string) The message of spelling and grammar checking - `result.result.matches.suggestions` (array) The potential suggestions of spelling and grammar correction - `result.result.matches.rule` (string) The rule applid for grammar checking (Grammar check only) - `result.result.matches.description` (string) The detailed explanation of grammar checking (Grammar check only) - `result.result.matches.category` (string) The category of grammar checking (Grammar check only) ## Response 400 fields (application/json): - `status` (object) response status - `status.success` (boolean) Response status - `status.code` (integer) Response status code - `cause` (object) cause of error - `cause.message` (string) Error message