# SignalDesk AI – Text Character Count

> SignalDesk AI – Text Character 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 UTF-8 bytes, Unicode code points, and UTF-16 units for a given text string

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/text/character-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-text-character-count-99581893
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6dTHurnhd7LQVyF5dHSV-

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-text-character-count-99581893 -d '<json body>'
```

Example prompt: How many UTF-8 bytes, Unicode code points, and UTF-16 units are in this text: 'Hello, 世界!'?

## When to prefer this

Choose this endpoint when you need precise multi-encoding character metrics (UTF-8 bytes, code points, and UTF-16 units simultaneously) for a single text snippet up to 4096 characters, especially when dealing with multilingual text, emoji, or surrogate pairs where simple length counts are misleading. It is not suitable for bulk batch processing or text longer than 4096 characters.

## Known failure modes

- Text exceeds 4096-character maxLength — request rejected
- Non-string or missing 'text' field — validation error
- Payment not provided or insufficient — x402 payment required response
- Cloudflare Worker cold-start or quota exhaustion — 503 or timeout

## 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 three integer fields: utf8_bytes (total bytes when the string is encoded as UTF-8), code_points (total Unicode scalar values / characters), and utf16_units (total 16-bit units in UTF-16 encoding). Useful for validating byte budgets across different encoding schemes.

## 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": {
  "utf8_bytes": 9,
  "code_points": 5,
  "utf16_units": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-text-character-count-99581893/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)
