The Word Count API is a text analysis service that offers basic contextual analysis of up to 2MB of text. It also offers a helping hand to consumers who wish to provide their own API keys for a couple popular services.
By including the X-Readable-API-Key
header in a request, the service will concurrently fetch the basic word count results and the results from Readable.io’s API.
{
...
"readable": {
"rating": "A",
"flesch_reading_ease": "94.3",
"flesch_kincaid_grade_level": "2.3",
"gunning_fog_score": "3.6",
"coleman_liau_index": "3.8",
"smog_index": "3.1",
"automated_readability_index": "1.4",
"spache_readability_score": "1.7",
"dale_chall_readability_score": "0.4",
"average_grade_level": "2.8",
"cefr_level": "B2",
"ielts_level": "5-6",
"sentence_count": "1",
"letter_count": "35",
"word_count": "9",
"word_with_three_syllables": false,
"word_with_three_syllables_common_only": false,
"dale_chall_difficult_words": 0,
"spache_difficult_words": 0,
"unique_word_count": "8",
"syllable_count": "11",
"words_per_sentence": "9.0",
"syllables_per_word": "1.2",
"letters_per_word": "3.9",
"composition_adjective_count": 3,
"composition_adverb_count": 0,
"composition_conjunction_count": 0,
"composition_determiner_count": 2,
"composition_interjection_count": 0,
"composition_noun_count": 2,
"composition_preposition_count": 1,
"composition_pronoun_count": 0,
"composition_qualifier_count": 0,
"composition_verb_count": 1,
"composition_unknown_count": 0,
"composition_nonword_count": 0,
"reading_time": "0:02",
"speaking_time": "0:04",
"sentiment": "Neutral",
"tone": "Formal",
"tone_number": 34,
"gender": "Male",
"gender_number": 100,
"longest_word_letters": "5 (quick, brown, jumps)",
"longest_word_syllables": "2 (over, lazy)",
"longest_sentence_words": "9 ([the quick brown fox jumps over the lazy dog])",
"keyword_density": {
"1 word": [],
"2 words": [],
"3 words": []
},
"flesch_kincaid_reading_ease": "94.3",
"score_id": "794fbf758d08bf1d4326",
"clean_text": "",
"server_reference": "web2",
"result": "success",
"response_timestamp": 1538709066
}
}
By including the X-Microsoft-SpellCheck-5-Api-Key
header in a request, the service will concurrently fetch the basic word count results and the results from Microsoft Cognitive Services’ Spell Check v5.0 API.
{
...
"microsoft_cognitive_services": {
"spellcheck_v5": {
"_type": "SpellCheck",
"flaggedTokens": []
}
}
}
By including the X-Microsoft-TextAnalytics-2-Api-Key
and X-Microsoft-TextAnalytics-2-Region
headers in a request, the service will concurrently fetch the basic word count results and the results from Microsoft Cognitive Services’ Text Analysis v2.0 API.
{
...
"microsoft_cognitive_services": {
"text_analytics_v2": {
"entities": {
"documents": [
{
"id": "1",
"entities": [
{
"name": "Fox Broadcasting Company",
"matches": [
{
"text": "fox",
"offset": 16,
"length": 3
}
],
"wikipediaLanguage": "en",
"wikipediaId": "Fox Broadcasting Company",
"wikipediaUrl": "https://en.wikipedia.org/wiki/Fox_Broadcasting_Company",
"bingId": "4c9a7100-a3d6-9340-b253-8455daff60f6"
},
{
"name": "Dog",
"matches": [
{
"text": "dog",
"offset": 40,
"length": 3
}
],
"wikipediaLanguage": "en",
"wikipediaId": "Dog",
"wikipediaUrl": "https://en.wikipedia.org/wiki/Dog",
"bingId": "d31bd959-a332-b0c8-fa79-690702a7223d"
}
]
}
],
"errors": []
},
"languages": {
"documents": [
{
"id": "1",
"detectedLanguages": [
{
"name": "English",
"iso6391Name": "en",
"score": 1
}
]
}
],
"errors": []
},
"keyPhrases": {
"documents": [
{
"id": "1",
"keyPhrases": [
"quick brown fox jumps",
"lazy dog"
]
}
],
"errors": []
},
"sentiment": {
"documents": [
{
"score": 0.159114807844162,
"id": "1"
}
],
"errors": []
}
}
}
}
By including the X-SeoReviewTools-Api-Key
and X-SeoReviewTools-Target-Keyword
headers in a request, the service will concurrently fetch the basic word count results and the results from SEO Review Tools API.
If you don’t have a SEO Review Tooks API Key, you can learn more on seoreviewtools.com.
{
...
"seo_review_tools": {
"status": "ok",
"data": {
"overview": [
{
"keyword": "steven",
"overall_seo_score": 14,
"available_seo_points": 210,
"earned_seo_points": 30
}
],
"title_tag": [
{
"result": 1,
"title_found": "Not found",
"input_url": "",
"title_tag": "Not found",
"title_length": "0",
"title_tag_number": 1,
"focus_keywords_found": 0,
"keyword": "steven",
"feedback": [
"Add a Title tag to your webpage"
],
"max_seo_score_available": 50,
"seo_score": 0
}
],
"meta_description": [
{
"result": 1,
"meta_description_found": "Not found",
"input_url": "",
"meta_description": "Not found",
"meta_description_length": "0",
"meta_description_number": 1,
"focus_keywords_found": 0,
"keyword": "steven",
"feedback": [
"Add a Meta description to your webpage"
],
"max_seo_score_available": 20,
"seo_score": 10
}
],
"page_headings_summary": [
{
"h1": 0,
"h2": 0,
"h3": 0,
"h4": 0,
"h5": 0,
"h6": 0,
"h1_count": 0,
"h1content": "",
"focus_keywords_found": 0,
"keyword": "steven",
"feedback": [
"Add a H1 to your webpage"
],
"max_seo_score_available": 20,
"seo_score": 0
}
],
"word_count": [
{
"input_url": "",
"word_count_total": "10",
"corrected_word_count": "10",
"anchor_text_words": "0",
"anchor_percentage": "0",
"feedback": [
"You should write more content for this page"
],
"max_seo_score_available": 40,
"seo_score": 20
}
],
"on_page_links_summary": [
{
"total_links": 0,
"external_links": 0,
"internal": 0,
"nofollow_count": 0,
"duplicate_links": 0,
"no_alt_tag": 0,
"feedback": [
"Your webpage contains less than 2 links"
],
"max_seo_score_available": 40,
"seo_score": 0
}
],
"keyword_density": [
{
"result": 8,
"keyword": "steven",
"keyword_type": "N/A",
"frequency": "0",
"keyword_density": "0",
"feedback": [
"You should add your focus keyword to the content of your page"
],
"max_seo_score_available": 40,
"seo_score": 0
}
]
}
}
}