Text
Syllable count, hyphenation & reading time API
Count syllables per word using a dictionary of known irregulars layered over a vowel-group heuristic (silent-e, diphthongs, consonant+le), produce hyphenation break points, and derive reading (200 wpm) and speaking (130 wpm) time for the whole text. Dictionary-corrected, not a raw vowel count. Answers 'how many syllables in this', 'hyphenate these words', 'reading time of this text', 'syllables per word average'.
Price$0.01per request
MethodPOST
Route/v1/text/syllables
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
textsyllableshyphenationreading-timephoneticssyllabifynlplinguistics
API URL
Integration docshttps://x402.hexl.dev/v1/text/syllablesExample request
{
"text": "hello wonderful world"
}Example response
{
"text": "hello wonderful world",
"wordCount": 3,
"totalSyllables": 6,
"avgSyllablesPerWord": 2,
"readingTimeSeconds": 0.9,
"speakingTimeSeconds": 1.38,
"words": [
{
"word": "hello",
"syllables": 2,
"hyphenation": "hell-o"
},
{
"word": "wonderful",
"syllables": 3,
"hyphenation": "wond-erf-ul"
},
{
"word": "world",
"syllables": 1,
"hyphenation": "world"
}
]
}Input schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"examples": [
"hello wonderful world"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}