{"uid":"cap_5M2prrQY0HcW0lva6OOR_","slug":"one-engine-text-normalize-control-clean-9ea96cbf","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rdt-IAuXYyLeMDf5IoI0O","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and normalizes control characters and non-printable characters from text for downstream agent processing.","exampleAgentPrompt":"Clean this text by removing all control characters and non-printable characters so it's safe to pass to the next step: [paste raw text here].","exampleUseCases":[{"title":"Sanitize scraped web content","prompt":"I just scraped a bunch of web pages and the text has weird control characters and invisible junk in it — can you strip all of that out so it's clean plain text I can work with?"},{"title":"Prepare user input for LLM","prompt":"A user submitted a form with some text that seems to have hidden control codes in it. Can you clean it up by removing any non-printable or control characters before I send it to the model?"},{"title":"Fix exported data with embedded control sequences","prompt":"I exported some records from a legacy system and the strings have embedded control characters mixed in. Can you normalize all of that text to remove the control codes so the data is clean?"}],"resultDescription":"A JSON object containing the cleaned version of the input text, with control characters and non-printable characters removed or normalized, ready for downstream processing.","failureModes":["Text exceeds 50000 character limit — request rejected","Payment not provided or invalid — 402 response returned","Malformed JSON body — 400 error","Empty text field — may return empty or error response","Network timeout on Cloudflare Worker — transient 5xx"],"whenToPreferThis":"Choose this endpoint when you need to strip control characters, non-printable bytes, or invisible Unicode from text at very low cost ($0.0007 USDC per call) with no setup required. Ideal for autonomous agent pipelines that process raw or user-submitted text before feeding it to LLMs or storage systems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:53.450Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-control-clean-1d69f3c9"}