apyhub
Back

Text Correction & Word Tools API

What it does

Text Correction & Word Tools API fixes spelling and transforms individual words. Send a passage of text or a single word as a query parameter and get back JSON with the corrected text, a list of synonyms, or the word's singular or plural form next to the original.

Correct Spelling takes text plus a language code (for example en) and returns corrected_text with misspellings fixed. List Word Synonyms takes a word and returns a synonyms array of strings. Singularize Word takes a word and returns the original and its singular form, and Pluralize Word does the reverse, returning the original and its plural form.

Text Correction & Word Tools API is a good fit when you need to clean up user-entered text, expand search queries with related words, or generate grammatically correct labels and messages ("1 item" vs "3 items") without maintaining your own word lists.

▣ ENDPOINT 01 / 04
GET
Correct Spelling API
https://api.eu.apyhub.com/skycraft/text-correction-word-tools/correct-spelling

QUICKSTART

GUIDE

Quickstart

Corrects the spelling of the provided text for the given language.

curl -X GET "https://api.eu.apyhub.com/skycraft/text-correction-word-tools/correct-spelling?text=Driving%20carss%20is%20fun.&language=en" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with a corrected_text string field, which may be null if no correction is available.

{
  "corrected_text": "Driving cars is fun."
}
TRY ITLIVE · 20 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

Corrects the spelling in the provided text for the specified language and returns the corrected text.

Query Parameter(s)

AttributeTypeDescription
textStringThe 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).
languageStringThe language code to use for correction. Must be a string with a maximum length of 2 characters.

Five languages are supported:

LanguageCode
Englishen
Germande
Spanishes
Frenchfr
Italianit

Response

Returns a JSON object with a corrected_text string field, which may be null.

AttributeTypeDescription
corrected_textStringThe corrected text returned by the API, or null if no corrected text is available.
▣ ENDPOINT 02 / 04
GET
List Word Synonyms API
https://api.eu.apyhub.com/skycraft/text-correction-word-tools/list-synonyms

QUICKSTART

GUIDE

Quickstart

Look up synonyms for a word by passing it as a query parameter.

curl -X GET "https://api.eu.apyhub.com/skycraft/text-correction-word-tools/list-synonyms?word=airplane" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with a synonyms array field. Each item in the array is a string, and items may be null.

{
  "synonyms": ["aeroplane", "plane", "aircraft"]
}
TRY ITLIVE · 20 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

Returns a JSON object containing a synonyms array for the requested word. You provide the word as a query parameter, and the response returns the synonyms as strings.

Query Parameter(s)

AttributeTypeDescription
wordStringThe word to look up. Must be a string up to 50 characters long.

Response

Returns a JSON object with a synonyms string array field. Each array item is a string value; items may also be null because the schema marks them as nullable.

ParameterTypeDescription
synonymsString ArraySynonyms for the requested word. Array items are strings and may be null.
▣ ENDPOINT 03 / 04
GET
Singularize Word API
https://api.eu.apyhub.com/skycraft/text-correction-word-tools/singularize-word

QUICKSTART

GUIDE

Quickstart

Singularize a word by passing it as a query parameter.

curl -X GET "https://api.eu.apyhub.com/skycraft/text-correction-word-tools/singularize-word?word=airplanes" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with original and singular string fields, both nullable. original is the input word, and singular is its singular form.

{
  "original": "airplanes",
  "singular": "airplane"
}
TRY ITLIVE · 20 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

Converts a provided word into its singular form and returns both the original input and the singularized result.

Query Parameter(s)

AttributeTypeDescription
wordStringThe word to singularize. Maximum length: 50 characters.

Response

Returns a JSON object with two nullable string fields: original and singular. The original field contains the input word, and singular contains the singularized form when available.

AttributeTypeDescription
originalStringThe original input word. Nullable.
singularStringThe singularized form of the word. Nullable.
▣ ENDPOINT 04 / 04
GET
Pluralize Word API
https://api.eu.apyhub.com/skycraft/text-correction-word-tools/pluralize-word

QUICKSTART

GUIDE

Quickstart

Pluralize a single word by passing it as a query parameter.

curl -X GET "https://api.eu.apyhub.com/skycraft/text-correction-word-tools/pluralize-word?word=party" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with two optional string fields: plural for the pluralized form, and original for the word you sent.

{
  "plural": "parties",
  "original": "party"
}
TRY ITLIVE · 20 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

Pluralizes a single input word and returns the plural form alongside the original word.

Query Parameter(s)

AttributeTypeDescription
wordStringThe word to pluralize. String, required, max length 50.

Response

Returns a JSON object with two nullable string fields: plural and original. The plural field contains the pluralized form of the input word, and original contains the input word.

AttributeTypeDescription
pluralStringThe pluralized word. Nullable.
originalStringThe original input word. Nullable.
▣ 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.