{"uid":"cap_p-QxmzeOSFHIEB7dRC1g6","slug":"one-engine-text-normalize-remove-blank-lines-cc4e6464","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/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_9sVkti8bP5QjEVjv2ZAuL","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":"Removes blank lines from a block of text, collapsing excess whitespace for cleaner output.","exampleAgentPrompt":"Clean up this text by removing all the blank lines from it: [paste text here up to 50,000 characters].","exampleUseCases":[{"title":"Clean up pasted document text","prompt":"I pasted a bunch of text from a PDF and it's full of empty lines between every paragraph — can you strip all those blank lines out so it's more readable?"},{"title":"Normalize log file output","prompt":"This log file output has tons of empty lines scattered through it. Remove all the blank lines so I can read through it more easily."},{"title":"Prepare text for downstream processing","prompt":"Before I send this article text to another tool, I need to clean it up — can you remove all the blank lines from it so it's a tighter block of text?"}],"resultDescription":"A JSON object containing the input text with all blank lines removed, leaving only lines that have content.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 — 402 response before processing","Malformed JSON body — 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call solution to strip blank lines from text without spinning up your own text-processing logic. At $0.001 USDC per call via x402 on Base, it's ideal for agents that occasionally need to normalize text formatting without depending on heavier NLP or document-processing services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:46.938Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}