{"uid":"cap_AC3SVHkO45kmLMdf2h5Na","slug":"x402-tools-html-to-text-converter-13c91931","name":"x402-tools HTML to Text Converter","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/html-to-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","maxLength":2000000}}},"responseSchema":{"type":"json","example":{"text":"Hello\nWorld & friends"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xksWTjsn86AO3wYQRgrjI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML markup into plain text by stripping tags and decoding HTML entities, returning clean readable content","exampleAgentPrompt":"Strip all the HTML tags out of this markup and give me just the readable plain text: '<h1>Hello</h1><p>World &amp; friends</p>'","exampleUseCases":null,"resultDescription":"A JSON object with a 'text' field containing the plain text extracted from the HTML, with tags removed and HTML entities decoded (e.g. {\"text\": \"Hello\\nWorld & friends\"})","failureModes":["HTML payload exceeds 2,000,000 character limit — request rejected","Malformed JSON request body — 400 error","Payment required but no x402 USDC payment included — 402 Payment Required","Network timeout for very large HTML documents","Invalid or expired USDC payment — payment rejection error"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.01 USDC) pay-per-call conversion of raw HTML into clean plain text, especially for AI pipelines that need to process web content without HTML noise. Ideal when you have raw HTML strings from scraped pages or email bodies and need readable text without running a full browser or DOM parser locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:46:23.479Z","isFirstParty":false,"canonicalSlug":"x402-tools-html-to-text-converter-13c91931"}