Text API

4 endpoints — Word / character / line counters, whitespace, case, encoding. Same auth, same credit pool, same JSON envelope. Use them directly from apps or agents instead of asking an LLM to recreate well-defined utility logic.

Start free → View OpenAPI All categories
Analysis
Character Countercharacter-counter
Count characters, letters, digits, whitespace, and punctuation.
1cr · v2026-04-22
Line Counterline-counter
Count total / non-empty / empty lines and longest-line length.
1cr · v2026-04-22
Word Counterword-counter
Count words, characters, sentences, paragraphs, reading/speaking time, top words.
1cr · v2026-04-22
Whitespace
Remove Spacesremove-spaces
Strip whitespace: all, extra, leading, trailing, or per-line.
1cr · v2026-04-22