{"uid":"cap_2YHKrUNbh0KgJ2sfOK1Wr","slug":"pennyrail-html-entity-decode-ba757b3c","name":"PennyRail HTML Entity Decode","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.html-entities--html-entity-decode","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dAjcVEKa8yfTQcv0XXfCR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes HTML entities in a text string, converting encoded characters like &amp;, &lt;, and &#160; back to their plain-text equivalents","exampleAgentPrompt":"Can you decode these HTML entities for me? The string is: 'Tom &amp; Jerry &mdash; &ldquo;The Classic&rdquo; &lt;1940s&gt;' — I need the actual readable characters back.","exampleUseCases":[{"title":"Clean scraped web content","prompt":"I scraped some product descriptions from a website and they're full of HTML entities like &amp;amp; and &lt;br&gt; — can you decode all those entities so I get clean, readable text?"},{"title":"Fix email template encoding","prompt":"My email template got double-encoded somewhere and now has things like &amp;mdash; and &amp;copy; all over it — can you decode the HTML entities so it reads properly again?"},{"title":"Normalize API response text","prompt":"The API I'm calling returns item descriptions with HTML entities like &#8220; and &#8221; instead of real quote marks — can you decode those entities into normal characters?"}],"resultDescription":"Returns a JSON object containing the decoded text string with all HTML entities converted to their corresponding Unicode or ASCII characters (e.g. &amp; → &, &lt; → <, &#160; → non-breaking space).","failureModes":["Missing or malformed input object returns a validation error","Non-string input value may cause unexpected output or error","Payment failure (402) if USDC not provided or insufficient","Malformed HTML entities in input may be left unchanged or cause partial decoding","Empty string input returns empty string with no error"],"whenToPreferThis":"Use this endpoint when you need a reliable, pay-per-use HTML entity decoding service without deploying your own text-processing infrastructure — especially useful in agent pipelines processing scraped web content, sanitizing API responses, or cleaning user-generated HTML-encoded data at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:02:48.622Z","isFirstParty":false}