{"uid":"cap_KTIIp0Ojo8N5w2Su5rEOK","slug":"one-engine-text-line-endings-normalizer-7d5ddc43","name":"ONE Engine Text Line Endings Normalizer","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/line-endings/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bIhmD0fu2KrxM3IFPQig4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes line endings in text (e.g. CRLF, CR, LF) to a consistent format, up to 50,000 characters.","exampleAgentPrompt":"Normalize the line endings in this text for me — it has mixed CRLF and LF and I need it all consistent: [paste text here].","exampleUseCases":[{"title":"Fix Windows line endings in log file","prompt":"I copied this log file from a Windows server and it has CRLF everywhere — can you normalize the line endings so it works on Linux?"},{"title":"Clean pasted text before NLP pipeline","prompt":"Before I run my NLP model on this user-submitted text, can you normalize all the line endings so there are no mixed CR/LF characters causing issues?"},{"title":"Standardize source code before diffing","prompt":"Can you normalize the line endings in this code snippet? It was edited on multiple OSes and has inconsistent newlines that are breaking my diff tool."}],"resultDescription":"Returns the input text with line endings normalized to a consistent format (e.g. all LF or all CRLF), with any mixed or legacy CR/CRLF sequences standardized throughout.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 on Base — HTTP 402 returned","Malformed JSON body — 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call line-ending normalization with no setup or API key — ideal for autonomous agents handling arbitrary text from multiple OS sources. Prefer this over rolling your own regex when consistency and reliability matter at micro-scale cost ($0.0065 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:58.963Z","isFirstParty":false,"canonicalSlug":"one-engine-text-line-endings-normalizer-293b3b59"}