{"uid":"cap_M-NY6wTqSjFvPOlaqDRSy","slug":"delx-html-unescape-c15dce5f","name":"Delx HTML Unescape","description":"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.","url":"https://api.delx.ai/api/v1/x402/html-unescape","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"a & b <c>","schema":"delx/util-html-unescape/v1"}},"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_cpwsGOnmieIaDeUzk1Nmf","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":"Converts HTML-escaped entities (e.g. &amp;, &lt;, &#39;) back into their original characters in a given text string.","exampleAgentPrompt":"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;'?","exampleUseCases":[{"title":"Clean scraped HTML content","prompt":"I scraped some product descriptions from a website and they're full of HTML entities like &amp; and &quot; — can you unescape all those entities so the text reads normally?"},{"title":"Normalize agent-held HTML snippets","prompt":"My agent pulled this snippet from a parsed API response: 'Price &lt;strong&gt;$19.99&lt;/strong&gt; &amp; free shipping' — please unescape it so I can display it as plain text."},{"title":"Fix encoded email body text","prompt":"This email body came back with escaped HTML characters like &amp;amp; and &#39; everywhere — can you unescape those entities so the message is readable?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:40.535Z","isFirstParty":false}