Catalog/text-analyze

Text

Text statistics API

Analyze text: character/word/sentence/paragraph counts, reading time, average word length, and most-frequent words. Answers 'word count', 'reading time for this', 'how long is this text'.

Price$0.01per request
MethodPOST
Route/v1/text/analyze
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
textanalyzeword-countreading-timestatisticsnlp
API URLhttps://x402.hexl.dev/v1/text/analyze
Integration docs
Example request
{
  "text": "The quick brown fox. It runs fast."
}
Example response
{
  "characters": 33,
  "words": 7,
  "sentences": 2,
  "readingTimeMinutes": 0.04,
  "topWords": [
    {
      "word": "the",
      "count": 1
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}