Back to Tool
📝

Word Counter API

Count words, characters, sentences, and paragraphs in text

Endpoint

POST/api/v1/word-counter

Authentication

Include your API key in the request header:

X-API-Key: your_api_key_here

Get your API key from the Dashboard

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
textstringYesThe text to analyze

Response

FieldTypeDescription
successbooleanWhether the operation was successful
charactersnumberTotal character count
charactersNoSpacesnumberCharacters excluding spaces
wordsnumberWord count
sentencesnumberSentence count
paragraphsnumberParagraph count
linesnumberLine count
readingTimestringEstimated reading time

Code Examples

curl -X POST https://tools.shubhambadgujar.com/api/v1/word-counter \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world. This is a test sentence."}'

Pricing

$0.0010 per call

Get API Key

Rate Limits

  • • 100 requests per minute
  • • 10,000 requests per day
  • • Max request size: 10MB

Need Help?

Contact us at support@shubhambadgujar.com