# SignalDesk AI Word Count

> SignalDesk AI Word Count is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Counts the number of words in a given text string and returns the total word count.

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/text/word-count?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-word-count-25ea2106
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TVE3GGphdp1I6Cy2LSx1o

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 signaldesk-ai-word-count-25ea2106 -d '<json body>'
```

Example prompt: Can you count how many words are in this paragraph: 'The quick brown fox jumps over the lazy dog and runs away quickly'?

## When to prefer this

Use this endpoint when you need a lightweight, programmatic word count via a simple POST call with pay-per-use pricing at $0.001 USDC. It is ideal for agents that need to meter text length before processing, validate user content against word limits, or log writing metrics without standing up their own NLP infrastructure.

## Known failure modes

- Text exceeds 4096 character limit — request rejected or truncated
- Empty or missing text field — may return 0 or an error
- Payment not included or insufficient USDC — 402 Payment Required response
- Malformed JSON body — 400 Bad Request
- Non-text content (e.g. binary data) submitted as text — unpredictable word count results

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with a single field 'words' containing the integer count of words detected in the submitted text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 4096,
   "description": "Text to process."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-word-count-25ea2106/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
