# Vextorium Text Statistics API

> Vextorium Text Statistics API is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-28).

Computes detailed text statistics (character/word/sentence counts, readability scores, reading time, frequent words) for English and Spanish text without AI.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/text-stats?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-text-statistics-api-31f115ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fv9Eh24jJxS4aqskM7bbX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-text-statistics-api-31f115ef -d '<json body>'
```

Example prompt: Can you analyze this blog post and tell me the word count, reading time, Flesch readability score and grade level, and the top 5 most frequent words? The text is: 'The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs.'

## When to prefer this

Choose this endpoint when you need deterministic, rule-based text statistics without AI inference — it is fast, cheap ($0.003/call), and supports English and Spanish readability formulas (Flesch/Flesch-Kincaid and Fernandez-Huerta). Prefer it over AI-based text analysis when you need reproducible numeric metrics, readability grade levels, or word frequency counts for content quality checks, editorial workflows, or multilingual writing tools.

## Known failure modes

- Text exceeds 500,000 character limit — request will be rejected
- Invalid language enum value (must be 'auto', 'en', or 'es') — validation error
- Missing required 'text' field in body — 400 bad request
- Readability fields may be null if text is too short to compute scores
- Payment failure or insufficient USDC balance — x402 payment required error

## How this service works

244 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

A JSON object containing: character count (with and without spaces), word count, sentence count, paragraph count, unique word count, syllable count, reading time in minutes, speaking time in minutes, average words per sentence, a readability object (Flesch or Fernandez-Huerta score, grade label, level description, and Flesch-Kincaid grade for English), a list of the most frequent words with occurrence counts, whether emojis are present, and the estimated language.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "top": {
   "type": "integer",
   "description": "Most frequent words to list (default 10)"
  },
  "text": {
   "type": "string",
   "description": "Text (up to 500,000 characters)"
  },
  "language": {
   "enum": [
    "auto",
    "en",
    "es"
   ],
   "type": "string",
   "description": "auto, en or es"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 18,
  "sentences": 2,
  "syllables": 24,
  "characters": 87,
  "paragraphs": 1,
  "readability": {
   "index": "Flesch Reading Ease",
   "level": "easy",
   "value": 84.9,
   "flesch_kincaid_grade": 3.7
  },
  "unique_words": 16,
  "frequent_words": [
   {
    "word": "quick",
    "times": 1
   },
   {
    "word": "brown",
    "times": 1
   }
  ],
  "contains_emojis": false,
  "reading_time_min": 0.08,
  "speaking_time_min": 0.12,
  "estimated_language": "en",
  "avg_words_per_sentence": 9,
  "characters_without_spaces": 70
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-text-statistics-api-31f115ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
