{"uid":"cap_0HK8BvZu2IwmuwqDrtPPe","slug":"one-engine-text-clean-pack-tier-2-708691f7","name":"ONE Engine Text Clean Pack Tier 2","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v2/text-clean-pack/t2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"tier":2,"result":"Tier-dependent output"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZSxEpGDtVVwI8BA5iThp9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and normalizes input text using a tier-2 processing level, returning structured cleaned output.","exampleAgentPrompt":"Clean up this messy scraped text for me — remove noise, normalize whitespace, and fix encoding artifacts: 'Hello,   world!!  \n\nThis   is  a   test...'","exampleUseCases":[{"title":"Cleaning scraped web content","prompt":"I just scraped a bunch of product descriptions from a website but they're full of extra whitespace, weird characters, and HTML artifacts — can you clean them up so they're readable and consistent?"},{"title":"Normalizing user-generated input","prompt":"Before I store this user-submitted review in my database, can you clean the text and remove any formatting noise, extra spaces, or encoding issues from it?"},{"title":"Preparing text for AI summarization","prompt":"I have some raw OCR output from a scanned document that has a lot of junk characters and inconsistent spacing — clean it up so it's ready to be summarized."}],"resultDescription":"Returns a JSON object with a 'tier' field (value 2) and a 'result' field containing the cleaned, normalized version of the input text after tier-2 processing.","failureModes":["Empty or missing 'text' field returns an error or empty result","Oversized text payloads may be rejected or truncated","Payment failure via x402 will block the request with a 402 response","Non-UTF-8 or binary input may produce unexpected output","Network timeouts on Cloudflare Workers edge"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text cleaning operation without committing to a subscription. Ideal for autonomous agents that sporadically need to sanitize or normalize text as part of a larger pipeline, especially when cost per call matters and tier-2 processing depth is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:11.521Z","isFirstParty":false,"canonicalSlug":"one-engine-text-clean-pack-tier-2-708691f7"}