{"uid":"cap_3WVTiu5uOB_kBiAKC8qOW","slug":"html-named-character-reference-decoder-5af246fc","name":"HTML Named Character Reference Decoder","description":"Call when an agent needs text decoded with html-named. No network and no LLM. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/html-named-decode first.","url":"https://agentshelf.syntexa.ch/v1/html-named-decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["hello"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_85x3CfZYaleDzT64FXRnt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes HTML named character entities (e.g. &amp;, &lt;, &copy;) in a text string into their plain Unicode equivalents","exampleAgentPrompt":"Can you decode all the HTML named entities in this string for me? 'AT&amp;T &copy; 2024 &mdash; All rights reserved &lt;legal@example.com&gt;'","exampleUseCases":[{"title":"Clean scraped HTML content","prompt":"I scraped some product descriptions from a website and they're full of HTML entities like &amp;, &nbsp;, and &mdash; — can you decode all of those into normal readable text for me?"},{"title":"Parse email template output","prompt":"My email system spat out this HTML-escaped subject line: 'Don&apos;t miss our 50% off sale &mdash; today only!' Can you convert those named entities back to plain characters?"},{"title":"Normalize CMS exported text","prompt":"I exported some articles from our CMS and every apostrophe and dash came out as &rsquo; and &ndash; — can you decode all the HTML named character references so the text reads normally?"}],"resultDescription":"Returns the input text with all HTML named character references (e.g. &amp;, &lt;, &gt;, &copy;, &nbsp;, &mdash;, etc.) replaced by their corresponding Unicode characters, as a decoded plain-text string.","failureModes":["Empty or missing 'text' field returns a validation error","Input exceeding 100,000 characters is rejected","Numeric HTML entities (&#169;) may not be decoded — only named references are in scope","Malformed entity references may be left as-is or cause partial decoding","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline decoding of HTML named character entities with no LLM or network calls involved. It is ideal for post-processing scraped HTML, normalizing CMS output, or cleaning API responses that contain escaped HTML. Prefer the free sandbox endpoint POST /v1/sandbox/html-named-decode for testing or non-production use to avoid the $0.008 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:55.125Z","isFirstParty":false,"canonicalSlug":"html-named-character-reference-decoder-5af246fc"}