{"uid":"cap_Qfln3EGL0UFB9v7xUQ1ir","slug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb","name":"ONE Engine Text Normalize – Remove Blank Lines","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/blank-lines/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QgiO--iIe3j1B75rRW_iP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes excessive or all blank lines from a block of text, normalizing whitespace for cleaner output.","exampleAgentPrompt":"Clean up this text by removing all the blank lines: [paste text here — up to 50,000 characters].","exampleUseCases":[{"title":"Clean pasted document before analysis","prompt":"I copied this report from a PDF and it has tons of empty lines scattered throughout — can you strip all the blank lines so it reads cleanly? Here's the text: [document text]"},{"title":"Normalize log output for parsing","prompt":"This log file has random blank lines between entries that are messing up my parser. Remove all the blank lines from this text so I can process it properly: [log content]"},{"title":"Tidy scraped web content","prompt":"I scraped some article text from a website and there are blank lines everywhere. Can you normalize it by removing those blank lines? Here's the raw scraped text: [scraped content]"}],"resultDescription":"Returns a JSON object containing the input text with blank lines removed or normalized, resulting in a cleaner, more compact version of the original content.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 on Base — call not processed","Network timeout on Cloudflare Workers edge"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call solution to remove blank lines from text as part of an automated agent pipeline, especially when operating on Base with x402 micropayments. Useful as a preprocessing step before NLP, storage, or display.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:32.461Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}