# Agent Micro Text Stats

> Agent Micro Text Stats is a paid API for AI agents from agent-micro.annushka1190.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Analyzes a text string and returns statistical metrics such as word count, character count, sentence count, and readability scores.

## Facts

- Endpoint: POST https://agent-micro.annushka1190.workers.dev/v1/text/stats
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-micro-text-stats-d97937e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JQ0lZAiMr9YiecUb2MoQ-

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 agent-micro-text-stats-d97937e5 -d '<json body>'
```

Example prompt: Can you analyze this paragraph and tell me the word count, character count, and sentence count: 'Artificial intelligence is transforming the world at an unprecedented pace. Every industry from healthcare to finance is being reshaped by machine learning models.'

## When to prefer this

Choose this endpoint when you need lightweight, cheap ($0.003 USDC) on-demand text statistics for an AI agent pipeline — especially when you want to verify text length, complexity, or sentence structure without standing up your own NLP infrastructure. Best for quick inline checks during content generation, editing, or validation workflows.

## Known failure modes

- Missing or empty input body returns a validation error
- Non-text or malformed JSON body may return a 400 error
- Payment not provided or insufficient USDC causes a 402 Payment Required response
- Extremely large text bodies may hit Cloudflare Workers size limits
- Network timeouts on the Workers edge in rare cases

## How this service works

Advanced micro-tools for AI agents: cryptographic randomness, text analysis, math helpers, date arithmetic, web metadata, and IP intelligence. All under $0.01 per request, paid in USDC via x402.

## Output

A JSON object with ok: true and computed text statistics including metrics such as word count, character count, sentence count, and potentially readability scores for the submitted text.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-micro-text-stats-d97937e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-micro.annushka1190.workers.dev](https://www.zero.xyz/host/agent-micro.annushka1190.workers.dev/llms.txt)
