# YRUZ Text Size Calculator

> YRUZ Text Size Calculator 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).

Calculates the rendered size or character/byte metrics of a given text string

## Facts

- Endpoint: POST https://yruz.one/api/toolkit/text-size-calculator?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-text-size-calculator-1e2583b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cFxGvHk6n6r01pC70UhGr

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-text-size-calculator-1e2583b5 -d '<json body>'
```

Example prompt: Can you calculate the text size for this string: 'Hello, welcome to our platform! Please sign up to get started.'

## When to prefer this

Use this endpoint when you need a quick, low-cost programmatic calculation of text size metrics — particularly useful for UI layout validation, content length checks, or pre-processing text before storage or transmission. Prefer this over manual counting when automation or scale is needed.

## Known failure modes

- Missing or empty 'text' field returns an error or empty result
- Extremely long strings may time out or be truncated
- Malformed JSON input body returns a 400-level error
- Ambiguous or null text value may produce an empty result object

## 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 'text-size-calculator' and a result object containing computed size metrics for the input text, which may include character count, byte size, or rendering dimensions.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "text-size-calculator",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yruz-text-size-calculator-1e2583b5/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)
