# NetIntel Text Statistics API

> NetIntel Text Statistics API is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Analyzes a text string and returns comprehensive readability and structure statistics including word count, sentence count, reading time, and more

## Facts

- Endpoint: GET https://netintel-production-440c.up.railway.app/text/stats
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-text-statistics-api-9de0f2b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yqQBKsobROL0olsQcjdke

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 netintel-text-statistics-api-9de0f2b5
```

Example prompt: Can you analyze this article text and tell me how many words, sentences, paragraphs, and unique words it has, plus the estimated reading time: 'Artificial intelligence is transforming industries worldwide. Companies are investing heavily in machine learning. The results are already visible across healthcare, finance, and logistics.'

## When to prefer this

Choose this endpoint when you need fast, precise, structured text metrics — word count, reading/speaking time, sentence and paragraph structure, and vocabulary diversity — without requiring NLP model inference. It is ideal for content auditing, SEO compliance checks, presentation timing, and writing quality tools where deterministic counts matter more than semantic analysis. Unlike LLM-based text analysis, this endpoint is low-cost at $0.001 per call, requires no API key, and never charges for failed calls.

## Known failure modes

- Empty or missing 'text' query parameter returns a validation error with no charge
- Text exceeding 200,000 characters is rejected as input-validation failure with no charge
- Server-side or upstream errors return an error response and are not billed
- Malformed GET request or missing required parameters results in a 4xx error with no charge

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a JSON object containing: total word count (whitespace-delimited tokens), sentence count (min 1), character count (Unicode code points including whitespace), character count excluding whitespace, paragraph count (min 1), unique word count (case-insensitive, punctuation-stripped), longest word (null if nothing survives stripping), average word length (2 decimal places), average sentence length in words (2 decimal places), reading time in seconds (based on 200 wpm), speaking time in seconds (based on 130 wpm), and a findings array (currently always empty).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to analyze — 1 to 200000 characters. Aliases: content, input, body."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "words": {
       "type": "number",
       "description": "Whitespace-delimited tokens"
      },
      "findings": {
       "type": "array",
       "description": "Reserved — currently always [] on success"
      },
      "sentences": {
       "type": "number",
       "description": "Segments ended by . ! ? … followed by whitespace/end (runs collapse; a trailing segment without terminator counts); min 1"
      },
      "characters": {
       "type": "number",
       "description": "Unicode code points, including whitespace"
      },
      "paragraphs": {
       "type": "number",
       "description": "Blocks separated by one or more blank lines; min 1"
      },
      "longest_word": {
       "type": [
        "string",
        "null"
       ],
       "description": "Longest punctuation-stripped word, first seen on ties; null when nothing survives stripping"
      },
      "unique_words": {
       "type": "number",
       "description": "Case-insensitive distinct words after stripping leading/trailing punctuation"
      },
      "avg_word_length": {
       "type": "number",
       "description": "characters_no_spaces / words, 2 dp"
      },
      "avg_sentence_length": {
       "type": "number",
       "description": "words / sentences, 2 dp"
      },
      "characters_no_spaces": {
       "type": "number",
       "description": "Code points excluding all Unicode whitespace"
      },
      "reading_time_seconds": {
       "type": "number",
       "description": "ceil(words / 200 wpm × 60)"
      },
      "speaking_time_seconds": {
       "type": "number",
       "description": "ceil(words / 130 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 14,
  "findings": [],
  "sentences": 2,
  "characters": 83,
  "paragraphs": 1,
  "longest_word": "pay-per-call",
  "unique_words": 14,
  "avg_word_length": 5,
  "avg_sentence_length": 7,
  "characters_no_spaces": 70,
  "reading_time_seconds": 5,
  "speaking_time_seconds": 7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-text-statistics-api-9de0f2b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
