{"uid":"cap_vYwzMN_Co12AdNi-kZ7OF","slug":"delx-strip-html-lite-be289cc1","name":"Delx Strip HTML Lite","description":"Strip HTML tags from caller-held markup. Call when you need plain text from agent-held HTML snippets without a browser. Returns tag-stripped text and length 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/strip-html-lite","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"Hello Delx","length":10,"schema":"delx/util-strip-html-lite/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_KwkxKkaYPfwxqujSNvMsH","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 a caller-supplied markup string and returns the plain text along with its character length.","exampleAgentPrompt":"Strip the HTML tags from this snippet and give me just the plain text: '<p>Hello <b>world</b>! Visit <a href=\"https://example.com\">our site</a>.</p>'","exampleUseCases":[{"title":"Cleaning scraped web content","prompt":"I just scraped a product description from a website and it's full of HTML tags like <div>, <span>, and <b>. Can you strip all the HTML and give me just the readable text?"},{"title":"Preparing email body for NLP","prompt":"I have the raw HTML body of an email — '<p>Dear customer, your <strong>order #12345</strong> has shipped.</p>' — please remove all the tags so I can run sentiment analysis on the plain text."},{"title":"Sanitizing user-submitted form input","prompt":"A user pasted this into our form: '<script>alert(1)</script><p>Just a normal message</p>' — strip out all the HTML tags so I have clean plain text before I store it."}],"resultDescription":"Returns the tag-stripped plain text extracted from the input HTML string, along with the character length of the resulting plain text. No external network calls are made; processing is local and stateless.","failureModes":["Malformed or truncated input may yield unexpected plain text if partial tags are present","Very large HTML strings may exceed payload limits","Empty input returns empty text with length 0","Non-HTML input (already plain text) is returned as-is without error"],"whenToPreferThis":"Choose this endpoint when you already hold an HTML string in-memory and need plain text without spinning up a browser or headless renderer. It is ideal for lightweight, local, stateless tag stripping at $0.001 per call with no API keys, no data retention, and no external dependencies. Prefer it over heavier HTML parsers or browser-based extraction when you only need tag removal, not DOM traversal or JavaScript rendering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:29.516Z","isFirstParty":false}