{"uid":"cap__747nzEt2hRugCBICPYuy","slug":"one-engine-text-line-endings-normalizer-293b3b59","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/t3?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TCZU51ViSpS36xuhhlWMs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 a text string (e.g., converting CRLF/CR to LF or vice versa) up to 50,000 characters.","exampleAgentPrompt":"Can you normalize the line endings in this text for me? It has a mix of Windows-style CRLF and Unix-style LF and I need it consistent before I process it further.","exampleUseCases":[{"title":"Cleaning pasted Windows text for Unix pipeline","prompt":"I copied some text from a Windows document and it has CRLF line endings everywhere — can you normalize the line endings so it works properly in my Unix pipeline?"},{"title":"Standardizing log file line endings","prompt":"This log file snippet has inconsistent newline characters mixed throughout — some CR, some LF, some CRLF. Can you normalize all the line endings to make it consistent?"},{"title":"Fixing newlines before diff or comparison","prompt":"Before I compare these two text blocks, can you standardize the line endings on this one? It came from a Windows editor and the mixed newlines are causing false differences in my diff."}],"resultDescription":"Returns a JSON object containing the input text with line endings normalized to a consistent format (e.g., all CRLF converted to LF or vice versa), suitable for downstream text processing.","failureModes":["Text exceeding 50,000 characters may be rejected with an error","Malformed JSON body returns a 400 error","Payment not included or insufficient USDC balance returns a 402 Payment Required response","Network timeouts on the Cloudflare Workers edge may return 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call micro-service to normalize line endings in text without spinning up your own infrastructure. Ideal for autonomous agents processing text from mixed-OS sources (Windows/Unix/Mac) that need consistent newlines before diffing, parsing, or storing. At $0.001 USDC per call, it is cost-effective for high-frequency agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:41.191Z","isFirstParty":false,"canonicalSlug":"one-engine-text-line-endings-normalizer-293b3b59"}