{"uid":"cap_nEcmNhbJScjGLvsMQ8Bic","slug":"delx-commerce-strip-html-lite-55e28db0","name":"Delx Commerce Strip HTML Lite","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/strip-html-lite?utm_source=zero.xyz","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_pzyqYDtJLQfE--kFAyT5f","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 string of text and returns the cleaned plain-text content with character count.","exampleAgentPrompt":"Strip all the HTML tags out of this string for me: '<p>Hello <b>world</b>! <a href=\"#\">Click here</a></p>' and give me back the plain text.","exampleUseCases":[{"title":"Clean scraped web content","prompt":"I just scraped a product description from a website and it's full of HTML tags like '<div class=\"desc\"><p>Great <b>quality</b> item</p></div>' — can you strip all that HTML and give me just the readable text?"},{"title":"Sanitize user-submitted HTML input","prompt":"A user submitted a comment that contains raw HTML like '<h1>My Review</h1><p>Loved it!</p><script>alert(1)</script>' — strip all the tags so I just get the plain text before storing it."},{"title":"Prepare HTML email body for text analysis","prompt":"I have an HTML email body that starts with '<html><body><p>Dear Customer,</p><p>Your order has shipped.</p></body></html>' — please remove all the HTML markup so I can run sentiment analysis on the plain text."}],"resultDescription":"Returns a JSON object containing: 'text' (the cleaned plain-text string with all HTML tags removed), 'length' (integer character count of the resulting text), and 'schema' (a version identifier string 'delx/util-strip-html-lite/v1').","failureModes":["Empty or missing 'text' field may return an error or empty result","Malformed JSON input body returns a 400-level error","Payment failure via x402 protocol prevents execution","Extremely large input strings may be rejected or truncated","Non-HTML plain text input is returned unchanged (no-op behavior)"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.001 USDC), no-signup way to strip HTML tags from a text string and get back plain text with a character count — especially useful in agent pipelines that process scraped web content, user-submitted HTML, or HTML email bodies before further text analysis. Prefer this over heavyweight HTML parsers when you only need tag removal without structural parsing or DOM traversal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:36.951Z","isFirstParty":false,"canonicalSlug":"delx-commerce-strip-html-lite-55e28db0"}