{"uid":"cap_V2dfaA2uHM1TulO0Fj4RP","slug":"uos-genesis-html-to-text-converter-767a09b7","name":"UOS Genesis HTML-to-Text Converter","description":"UOS Genesis machine utility: html_to_text","url":"https://genesis.palsus2023.workers.dev/v1/html_to_text","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"HTML document or fragment from which readable plain text should be extracted."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yZdSRpNOPffAlt7qS3q6v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Strips HTML markup from an HTML document or fragment and returns clean plain text","exampleAgentPrompt":"Take this HTML I just scraped and strip out all the markup so I just get the plain readable text: '<h1>Hello</h1><p>This is a <b>test</b> paragraph.</p>'","exampleUseCases":[{"title":"Clean scraped webpage for LLM input","prompt":"I scraped the HTML from this product page and need just the raw text without any tags or markup so I can feed it into my language model — here's the HTML: '<div class=\"product\"><h2>Blue Widget</h2><p>Price: <b>$9.99</b></p></div>'"},{"title":"Extract newsletter body for indexing","prompt":"I have the raw HTML of a newsletter email and I need just the plain text version of it to index and search later — can you strip all the HTML out of it?"},{"title":"Prepare HTML content for sentiment analysis","prompt":"Before I run sentiment analysis on this customer feedback page, I need to strip all the HTML tags out so the model only sees actual words — here's the HTML blob, please return just the clean text."}],"resultDescription":"Returns the plain text content extracted from the input HTML, with all tags, attributes, scripts, and markup removed, leaving only the human-readable text content","failureModes":["Malformed or unparseable HTML may produce garbled or incomplete text output","Empty input returns empty string","Very large HTML documents may time out or exceed payload limits","Non-HTML input (e.g. plain text or binary) may return the input unchanged or produce an error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, paid-per-call conversion of HTML to plain text without running your own parser. It complements the sibling html_to_markdown endpoint when you need purely unformatted text rather than markdown structure. Good for preprocessing scraped web content before feeding it to LLMs or search indexers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:27.816Z","isFirstParty":false}