{"uid":"cap_AufPQ6lO1YiqWKmHjmbh5","slug":"one-engine-text-normalize-remove-blank-lines-724414cd","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/t4?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.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eTD3TdolEi7Z_kTA90UAf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Strips or collapses blank lines from a text string, normalizing whitespace to produce cleaner output.","exampleAgentPrompt":"Can you clean up this text by removing all the blank lines from it? Here's the content: [paste multi-line text with empty lines]","exampleUseCases":[{"title":"Clean up pasted document text","prompt":"I just pasted a document into my editor and it's full of random blank lines scattered throughout — can you remove all the empty lines from this text to make it cleaner?"},{"title":"Normalize log file output","prompt":"This log file has tons of blank lines between entries making it hard to read. Strip out all the empty lines so I just have the actual log content."},{"title":"Prepare text for downstream processing","prompt":"Before I feed this article text into my summarizer, can you remove all the blank lines so the input is compact and clean?"}],"resultDescription":"Returns a processed text object where blank lines have been removed or collapsed, leaving only lines with actual content. The response schema is open-ended (additionalProperties: true), likely containing the normalized text string.","failureModes":["Text exceeds 50000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 protocol — 402 response before processing","Network timeout on the Cloudflare Workers edge runtime"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, single-purpose operation to strip blank lines from text as part of a preprocessing pipeline. At $0.0015 per call it is cost-effective for high-volume agent workflows. Prefer this over a general-purpose LLM call for blank-line removal since it is deterministic, fast, and does not consume LLM tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:44.073Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}