The Textalized is a Text Analysis API provides various textual analysis metrics for a given input text.
"https://openapi-idk8.onrender.com/"
GET /textalized
: Analyze the provided text and return various metrics.body
: The text to analyze. This parameter is required.GET "https://openapi-idk8.onrender.com/textalized?body=Hello%20world!%20This%20is%20a%20sample%20text."
{
"wordCount": 7,
"charCountWithSpaces": 32,
"charCountWithoutSpaces": 25,
"paragraphCount": 1,
"lineCount": 1,
"sentenceCount": 2,
"avgWordsPerSentence": 3.5,
"avgCharsPerWord": 3.5714285714285716,
"avgWordLength": 3.5714285714285716,
"uniqueWordCount": 7,
"mostCommonWords": [
{"word": "Hello", "count": 1},
{"word": "world!", "count": 1},
{"word": "This", "count": 1},
{"word": "is", "count": 1},
{"word": "a", "count": 1}
],
"avgSyllablesPerWord": 1,
"fkReadability": 3.15
}
If there is an error or the required body
parameter is missing, the API responds with an appropriate error message and status code.
The mostCommonWords
field in the response includes the top 5 most common words in the provided text along with their counts.