# Delx HTML Unescape

> Delx HTML Unescape is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Converts HTML-escaped entities (e.g. &amp;, &lt;, &#39;) back into their original characters in a given text string.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/html-unescape
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-html-unescape-c15dce5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M-NY6wTqSjFvPOlaqDRSy

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 delx-html-unescape-c15dce5f -d '<json body>'
```

Example prompt: Can you unescape the HTML entities in this text for me: 'Tom &amp; Jerry &lt;cartoon&gt; is &quot;classic&quot; &amp; fun &#39;forever&#39;'?

## When to prefer this

Use this endpoint when you have a text string containing HTML character entity references (named like &amp; or numeric like &#39;) and need them decoded back to their original characters. Ideal for post-processing scraped web content, parsed API responses, or any agent-held HTML snippet where entities need to be normalized before display, storage, or further processing. Prefer this over manual regex substitution when you need reliable, consistent entity decoding without writing custom code.

## Known failure modes

- Missing or empty 'text' field returns an error response
- Non-string input may cause a validation error
- Payment failure or insufficient USDC balance blocks the request via x402 protocol
- Malformed HTML entities in input may be passed through unchanged

## How this service works

HTML-unescape entities in text. Call when you reverse entities from agent-held HTML snippets. Returns unescaped text for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the input text with all HTML entities decoded into their corresponding characters — for example, &amp; becomes &, &lt; becomes <, &gt; becomes >, &quot; becomes ", and &#39; becomes '. The response is a plain JSON object containing the unescaped text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "a & b <c>",
  "schema": "delx/util-html-unescape/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-html-unescape-c15dce5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
