{"uid":"cap_kMuBw3_5-lT0RlTOegvgm","slug":"omniapi-html-to-text-converter-eae0b267","name":"OmniAPI HTML-to-Text Converter","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/tools/text/html-to-text","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.046385","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.046385/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046385","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.046385","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E6-Mf6W6jUBfI4zDq_r45","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.046385","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML markup into clean plain text by stripping tags and formatting","exampleAgentPrompt":"Can you strip all the HTML tags from this markup and give me just the readable plain text: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>'?","exampleUseCases":[{"title":"Clean email HTML for display","prompt":"I have an HTML email body full of tags and inline styles — can you convert it to plain text so I can display it cleanly? Here's the HTML: '<div style=\"font-family:Arial\"><p>Dear Customer,</p><p>Your order has <b>shipped</b>.</p></div>'"},{"title":"Extract article text from scraped page","prompt":"I just scraped a news article and got back a bunch of raw HTML. Can you pull out just the readable text content from this HTML markup: '<article><h2>Breaking News</h2><p>Scientists discover new species in the Amazon rainforest.</p></article>'?"},{"title":"Preprocess HTML before sentiment analysis","prompt":"Before I run sentiment analysis, I need the plain text from this product review HTML — can you strip all the tags and return just the text? The HTML is: '<div class=\"review\"><span class=\"rating\">5 stars</span><p>Absolutely <em>love</em> this product!</p></div>'"}],"resultDescription":"Returns the extracted plain text content from the provided HTML input, with all tags, attributes, and markup removed, leaving only the human-readable text.","failureModes":["Malformed or incomplete HTML may produce garbled or incomplete text output","Empty or null input returns an error or empty response","Very large HTML documents may time out or be truncated","Non-HTML input passed as query may return unexpected results","Generic input schema means parameter mapping is ambiguous — unclear whether HTML goes in 'query' or 'input' field"],"whenToPreferThis":"Use this endpoint when you need a quick, paid-per-call HTML stripping operation within the OmniAPI ecosystem, especially if you are already using OmniAPI for other tools and want consolidated USDC billing via x402. Prefer dedicated open-source libraries (e.g. BeautifulSoup, html2text) if you need free, high-volume, or customizable conversion with fine-grained control over whitespace and formatting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:42.649Z","isFirstParty":false}