# PennyRail HTML Entities Converter

> PennyRail HTML Entities Converter is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts text containing HTML entities to decoded plain text (or vice versa) via a paid micro-settlement API

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.html-entities--html-entities
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-html-entities-converter-e36ddd9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3b7pZbl5s7q6aZDn1w5CV

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 pennyrail-html-entities-converter-e36ddd9b -d '<json body>'
```

Example prompt: Can you decode the HTML entities in this string for me: 'Caf&eacute; &amp; Bistro &mdash; great food &lt;3' and give me back the plain readable text?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use HTML entity encoding or decoding operation without standing up your own text-processing infrastructure. It is well-suited for AI agent pipelines that occasionally encounter HTML-encoded text in scraped content, API responses, or user-submitted data and need it normalized to plain text. At $0.001 USDC per call it is cost-effective for low-to-moderate volume single-string conversions.

## Known failure modes

- Missing or malformed 'input' object returns a 4xx error
- Payment not included or insufficient USDC causes 402 Payment Required response
- Invalid or non-text input type may return an error or empty result
- Network timeout on the Vercel serverless function under cold start conditions
- Ambiguous conversion direction if the API requires explicit mode selection but none is provided

## How this service works

Machine-readable settlement service

## Output

A JSON object containing the converted text with HTML entities either decoded to their Unicode/plain-text equivalents or encoded from raw characters into HTML entity syntax, depending on the direction of conversion requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-html-entities-converter-e36ddd9b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
