Text Analyze

RustDeveloper Tools
POST api.upapi.io/text-analyze.post

Analyze text: character / word / line / sentence / byte counts plus a SHA-256 digest. Pure-compute, no network — a native Rust marketplace endpoint.

textrusthashsha256stats
AuthAPI key
Cost1 unit
Timeout10s
Cache3600s

Request schema

FieldTypeDescription
textreq
stringThe text to analyze.

Response schema

FieldTypeDescription
bytesreq
integer
linesreq
integer
wordsreq
integer
sha256req
stringLowercase hex SHA-256 of the UTF-8 bytes.
sentencesreq
integer
charactersreq
integer

Try it

Try it

The text to analyze.

Run this endpoint live

Jump in as a guest — no signup — and run text-analyze.post with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/text-analyze.post \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "text": "Hello, world" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.