{"uid":"cap_NTSPUD8ryrFpn7z4yBO0G","slug":"whatchuneed-content-clean-api-5ae5e1ad","name":"whatchuneed Content Clean API","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/content/clean","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Request input"}}},"responseSchema":{"type":"object","properties":{"result":{"type":"object","description":"Response data"},"status":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J6rp2H_8dikkX0r4XZgbd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and processes content input text, returning a structured result via a pay-per-call API powered by the x402 protocol.","exampleAgentPrompt":"Can you clean up this raw scraped content for me? Here's the messy text I need normalized: 'Hello!! <b>World</b>   this is   badly   formatted text with lots of  extra spaces and HTML tags.'","exampleUseCases":[{"title":"Sanitize scraped web content","prompt":"I scraped a bunch of articles from the web and they're full of HTML tags and weird whitespace — can you clean all this raw content so it's just readable plain text? Here's the first chunk: '<div class=\"article\">  Breaking News!!  <b>Markets surge</b> today amid...</div>'"},{"title":"Preprocess text before LLM analysis","prompt":"Before I send this user-generated review to the sentiment analyzer, can you clean it up and remove all the emoji, extra punctuation, and weird formatting? The text is: '😍😍 LOVE this product!!!!!! soooo goood 10/10 would buy again!!!!'"},{"title":"Normalize content for data pipeline","prompt":"I'm building a dataset and need to normalize these raw content strings so they're consistent — can you clean this input text for me: 'This is    a sample    with irregular   spacing, mixed CASE, and some <html> artifacts that need to be removed.'"}],"resultDescription":"Returns a JSON object with a 'result' field containing the cleaned/processed content data and a 'status' field indicating success or failure of the operation.","failureModes":["Missing or empty 'input' field returns a validation error","Malformed JSON body causes 400-level error","Payment not completed via x402 protocol results in 402 Payment Required response","Very long input strings may exceed processing limits","Ambiguous or unsupported content types may return partial or unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call text cleaning or content normalization operation without maintaining a subscription. Ideal for agents that occasionally need to clean raw text, scraped content, or noisy user input as part of a larger pipeline. Best suited for low-volume, on-demand preprocessing tasks where per-call pricing via x402 USDC micropayments is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:51:01.254Z","isFirstParty":false}