# HTML Entity Converter

> HTML Entity Converter 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).

Encodes plain text into HTML entities or decodes HTML entities back into plain text

## Facts

- Endpoint: POST https://yruz.one/api/toolkit/html-entity-converter?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/html-entity-converter-22dc3436
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I69BSlX8CjNFrz3xkFqpv

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 html-entity-converter-22dc3436 -d '<json body>'
```

Example prompt: Can you HTML-encode this text so it's safe to put into an HTML page: 'Hello <World> & "everyone"'?

## When to prefer this

Choose this endpoint when you need a simple, stateless, pay-per-call HTML entity encode/decode operation without setting up a local library. Useful in agent pipelines that process web content, sanitize user input, or prepare text for HTML rendering.

## Known failure modes

- Missing 'text' field returns an error or empty result
- Invalid 'mode' value may default to encode or return an error
- Very large input strings may be truncated or time out
- Non-UTF-8 characters may cause unexpected encoding behavior

## 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

A JSON object with the field 'tool' set to 'html-entity-converter' and 'result' containing the converted text — either HTML-entity-encoded or decoded plain text depending on the mode selected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "type": "string",
   "description": "encode (default) or decode"
  },
  "text": {
   "type": "string",
   "description": "input text (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "html-entity-converter",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-entity-converter-22dc3436/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)
