# Text Statistics Tool (GPT-5.5 x402 Gateway)

> Text Statistics Tool (GPT-5.5 x402 Gateway) is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status down (last checked 2026-09-15).

Counts words, lines, bytes, and estimated reading time for a given text input, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/text-stats
- Price: $0.0001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-statistics-tool-gpt-5-5-x402-gateway-a8b6740e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vVOnCqafIVm3ao1qo8uqg

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 text-statistics-tool-gpt-5-5-x402-gateway-a8b6740e
```

Example prompt: Can you get me the word count, line count, byte size, and estimated reading time for this article text: 'Artificial intelligence has rapidly transformed industries across the globe, from healthcare to finance...'?

## When to prefer this

Use this endpoint when you need lightweight, deterministic text statistics (word count, lines, bytes, reading time) without spinning up a full NLP pipeline, and want per-call micropayment billing with no subscription. Ideal for agents that need quick content length metrics as part of a larger workflow.

## Known failure modes

- Missing 'text' query parameter returns an error
- Text exceeding 20,000 characters is rejected
- Payment failure via x402/USDC results in 402 response
- Empty text string (minLength:1 violated) returns validation error
- Network or gateway timeout for large inputs

## How this service works

Analyze text length, words, lines, sentences, paragraphs, bytes, and estimated reading time without calling an upstream model. GET variant for agents, crawlers, and wallets that prefer query parameters over a JSON body. Pay up to $0.0001 per request with x402 USDC on Base.

## Output

Returns a JSON object with ok status, tool name ('textStats'), and a summary including word count, line count, byte count, and estimated reading time for the submitted text.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "text": "Artificial intelligence has rapidly transformed industries across the globe, from healthcare to finance. Machine learning algorithms now power recommendation systems, diagnostic tools, and autonomous vehicles. As AI continues to evolve, organizations must consider both the opportunities and challenges it presents."
  }
 }
}
```

## 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",
       "maxLength": 20000,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-statistics-tool-gpt-5-5-x402-gateway-a8b6740e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
