{"uid":"cap_SbFd8qm7IvylNCC8G_JZx","slug":"one-engine-text-normalize-control-clean-c6ea696d","name":"ONE Engine Text Normalize Control-Clean","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-normalize/control-clean/t8?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kBbRnaY0qIRCYn7IbKcNn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and cleans control characters from a text string, returning a sanitized version suitable for downstream processing.","exampleAgentPrompt":"Can you clean this text for me and strip out any control characters or hidden junk before I send it to the model? Here's the raw string: 'Hello\r\nWorld\t\bfoo\f\nbar'","exampleUseCases":[{"title":"Sanitize scraped web content","prompt":"I just scraped a bunch of text from a website and it's full of weird control characters and non-printable stuff — can you run it through the control-clean normalizer so it's safe to pass to my downstream NLP pipeline?"},{"title":"Clean user-submitted form input","prompt":"A user just submitted a form and the text field has some strange invisible characters in it. Can you normalize and clean it so I can safely store it in the database?"},{"title":"Prepare raw log text for analysis","prompt":"I've got a chunk of raw log output that has all sorts of control codes mixed in. Can you strip out all the control characters and give me a clean version so I can analyze it properly?"}],"resultDescription":"Returns a JSON object containing the normalized, control-character-cleaned version of the input text. The exact schema is open (additionalProperties: true), but typically includes the cleaned text string ready for downstream use.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","Empty text field — may return an error or empty result","Malformed JSON request body — 400 bad request","Payment failure via x402 on Base — 402 response, no processing","Network or worker timeout — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a cheap, per-call, pay-as-you-go text normalization service specifically for stripping control characters from raw strings — especially useful for autonomous agents that process untrusted or scraped text at scale and need lightweight, low-cost sanitization without spinning up a full NLP library. Prefer this over DIY regex when you want a managed, reliable service at $0.01 per call via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:16.074Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-control-clean-1d69f3c9"}