{"uid":"cap_HBIljkC8uZ7XQFySyz8v2","slug":"one-engine-text-normalize-remove-blank-lines-90ed215a","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/t8?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JA4CgNGsuDzx9IMxd1lgo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 block of text, returning a clean, blank-line-free version of the input.","exampleAgentPrompt":"Clean up this text by removing all blank lines: [paste text here]. I need a tidy version with no empty lines between the content.","exampleUseCases":[{"title":"Clean up pasted document text","prompt":"I just pasted a big chunk of text from a PDF and it has tons of blank lines scattered throughout. Can you strip out all the blank lines and give me back the clean version?"},{"title":"Normalize LLM output before storage","prompt":"The response I got from the AI model has a bunch of unnecessary empty lines between paragraphs. Please remove all blank lines from this text before I save it to the database."},{"title":"Prepare log file content for analysis","prompt":"I have a log file export that's full of blank lines making it hard to parse. Can you remove all the empty lines from this text so I can process it more cleanly?"}],"resultDescription":"Returns a JSON object containing the normalized version of the input text with all blank lines removed or collapsed, ready for downstream processing or storage.","failureModes":["Input text exceeds 50,000 character limit — request rejected","Missing required 'text' field — validation error returned","Empty string input — may return empty or unchanged result","Payment failure via x402 — 402 response, no processing performed"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call operation to strip blank lines from text as part of a pipeline — especially in autonomous agent workflows using x402 on Base where microtransactions are acceptable. Ideal for preprocessing steps before NLP analysis, storage, or display, when you don't want to run local text-cleaning logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:03.834Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}