{"uid":"cap_TBndWSm5gFBvt9dX8R1QC","slug":"html-clean-grokzilla-x402-microservice-106763f3","name":"HTML Clean — Grokzilla x402 Microservice","description":"Agent-ready microservices with x402 + Stripe rails, volume primitives, tutorials, and applet UI.","url":"https://grokzilla.shop/api/skills/html-clean","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"path":{"type":"string"},"type":{"type":"string","const":"http"},"method":{"type":"string"},"bodyType":{"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"path":"/api/skills/html-clean"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E8hwl_2xesVPNZx-PPcGM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and sanitizes raw HTML input via a paid microservice endpoint using the x402 micropayment protocol.","exampleAgentPrompt":"Clean this HTML for me — strip out any unsafe tags, scripts, or junk markup so it's safe to render: '<div onclick=\"evil()\"><script>alert(1)</script><p style=\"color:red\">Hello</p></div>'","exampleUseCases":[{"title":"Sanitize user-submitted HTML","prompt":"I have some HTML that users submitted through a form and I need to strip out any scripts, event handlers, or unsafe tags before saving it — can you clean this for me: '<p onclick=\"x()\"><script>bad()</script>Some text</p>'?"},{"title":"Clean scraped web content","prompt":"I scraped this HTML from a webpage and it's full of inline styles, tracking pixels, and junk markup — please clean it up so I just have the readable content structure: '<div class=\"ad-wrapper\" style=\"display:none\"><img src=\"track.gif\"/><p>Article text</p></div>'."},{"title":"Normalize HTML for email template","prompt":"This HTML email template has a bunch of messy legacy tags and deprecated attributes — clean it up so it's tidy and standards-compliant before I send it out: '<font color=\"red\"><b><center>Welcome!</center></b></font>'."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success and the processed path. The cleaned HTML content is expected in the response body after the x402 micropayment is settled.","failureModes":["Invalid or malformed HTML input may cause processing errors","Missing required 'type' or 'method' fields in input object returns a validation error","Payment failure via x402 protocol results in a 402 Payment Required response","Malformed request body causes a 400 Bad Request","Service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML sanitization service that integrates natively with x402 micropayment rails — ideal for AI agents that process HTML on-demand without needing a subscription or API key setup. Prefer this over self-hosted sanitizers when you want zero-maintenance, per-call billing at $0.008 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:41:25.288Z","isFirstParty":false}