# YRUZ Character Counter

> YRUZ Character Counter is a paid API for AI agents from yruz.one, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Counts the number of characters in a given input text string

## Facts

- Endpoint: POST https://yruz.one/api/toolkit/character-counter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yruz-character-counter-c4b8bbe8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zLaB_2HbhKZYURKjQISNu

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 yruz-character-counter-c4b8bbe8 -d '<json body>'
```

Example prompt: Can you count how many characters are in this text: 'The quick brown fox jumps over the lazy dog'?

## When to prefer this

Use this endpoint when you need a simple, cheap, programmatic character count for any text string — particularly useful in automated workflows for validating content length before posting to platforms with character limits (Twitter/X, SMS, etc.). At $0.002 per call it is cost-effective for high-volume validation pipelines.

## Known failure modes

- Missing or empty 'text' field returns an error response
- Very large text inputs may exceed payload limits
- Malformed JSON body results in a 400-level error
- Network timeout for extremely long strings

## How this service works

YRUZ is a free social network: create a profile, join public groups, attend events, read free guides on community building and creator income.

## Output

Returns a JSON object with the tool name ('character-counter') and a result object containing the character count and potentially additional text statistics for the submitted input string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "input text (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "character-counter",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yruz-character-counter-c4b8bbe8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from yruz.one](https://www.zero.xyz/host/yruz.one/llms.txt)
