Text
Spell check with edit-distance suggestions API
Check each word against a common-English dictionary snapshot plus a curated high-frequency typo map, flag unknown words, and return ranked correction suggestions via Damerau-Levenshtein edit distance (distance, then dictionary frequency). Returns corrections, not just a boolean. Answers 'spellcheck this text', 'suggest corrections for these words', 'is this spelled right', 'fix the typos in this'.
Price$0.01per request
MethodPOST
Route/v1/text/spell
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
textspellspellcheckspellingtypoedit-distancelevenshteinsuggestions
API URL
Integration docshttps://x402.hexl.dev/v1/text/spellExample request
{
"text": "I recieve teh package"
}Example response
{
"text": "I recieve teh package",
"wordCount": 4,
"misspelledCount": 2,
"correct": false,
"misspellings": [
{
"word": "recieve",
"suggestions": [
"receive",
"received",
"believe"
]
},
{
"word": "teh",
"suggestions": [
"the",
"be",
"to"
]
}
]
}Input schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"examples": [
"I recieve teh package"
]
},
"maxSuggestions": {
"type": "number",
"examples": [
3
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}