{"uid":"cap_LGnUE-pAgXoQCwSlRsE1_","slug":"delx-html-strip-18646e87","name":"Delx HTML Strip","description":"Strip HTML tags to plain text for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/html-strip","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_iUt0doGlUg7JU_wNz64ap","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":"Strips HTML tags from markup, returning clean plain text for $0.001 USDC per call.","exampleAgentPrompt":"Take this HTML snippet and strip out all the tags so I just have the plain readable text: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>'","exampleUseCases":[{"title":"Clean scraped HTML for LLM input","prompt":"I just scraped this HTML from a product page and I need to feed it into a language model — can you strip all the tags and give me just the raw text?"},{"title":"Sanitize newsletter HTML before storing","prompt":"I have the raw HTML of a marketing email and I want to save just the plain text version to my database — strip out all the HTML tags for me."},{"title":"Make article text readable for display","prompt":"Here's the HTML body of a news article: '<article><h2>Breaking News</h2><p>Something <em>big</em> happened today.</p></article>' — strip the markup so I can show just the clean text to the user."}],"resultDescription":"Returns the input HTML with all tags removed, yielding clean plain text. Whitespace and visible content are preserved while all HTML elements, attributes, and markup syntax are stripped out.","failureModes":["Empty or missing HTML input returns an error or empty string","Malformed HTML may cause partial stripping or unexpected output","Very large HTML payloads may be rejected or time out","Non-HTML input (e.g. plain text already) is returned unchanged or with minimal transformation","Payment failure or insufficient USDC balance results in HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call HTML-to-text conversion without managing a parsing library. It is ideal for agent pipelines that occasionally need to clean HTML snippets before feeding content to an LLM, storing to a database, or displaying to a user, and where spinning up a full headless browser or HTML parser is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:54.140Z","isFirstParty":false}