{"uid":"cap_o8E-LGq2MPh8h-AK0RAR6","slug":"text-trust-normalize-78d3aa05","name":"text-trust/normalize","description":"Apply NFKC normalization and remove zero-width and bidi override characters, returning cleaned text plus a removal report.","url":"https://gateway.apiosk.com/text-trust/normalize/text","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.022","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OneJBekLLfenpOpnW4H6M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes invisible and potentially malicious Unicode characters (e.g. zero-width spaces, right-to-left overrides) from a text string and reports which codepoints were stripped.","exampleAgentPrompt":"Can you clean this text and remove any invisible or dangerous Unicode characters from it: 'Hello\ner World\ndef'? I want to make sure there are no hidden zero-width spaces or direction-override codepoints in there.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the cleaned text string, a boolean indicating whether any changes were made, and a report array listing each removed Unicode codepoint (e.g. U+200B, U+202E).","failureModes":["Missing or empty 'text' field returns a validation error","Extremely long strings may time out or exceed payload limits","Payment failure (x402) blocks the request if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need to sanitize user-submitted or externally sourced text to remove invisible Unicode characters (zero-width spaces, directional overrides, soft hyphens, etc.) that could cause display spoofing, security issues, or data corruption. Ideal before storing text in a database, rendering in a UI, or passing text to downstream systems that may be sensitive to hidden codepoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:00:27.727Z","isFirstParty":false}