{"uid":"cap_62jq9pPOo8e7q3VR6ONI0","slug":"one-engine-text-normalize-remove-blank-lines-32018f90","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/t6?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GzYC191J4ZADqF3vc32XF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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, normalizing whitespace by stripping empty lines.","exampleAgentPrompt":"Clean up this text by removing all the blank lines — it's got a bunch of empty lines scattered through it that I want stripped out.","exampleUseCases":[{"title":"Clean up pasted document text","prompt":"I just pasted a document into my workflow and it has tons of blank lines between paragraphs — can you strip all the empty lines out of it so it's compact and clean?"},{"title":"Normalize AI-generated output","prompt":"The AI-generated summary I got back has random blank lines scattered through it. Remove all the blank lines so the text flows together properly."},{"title":"Prepare code or log output for parsing","prompt":"I have a log file output with a lot of empty lines mixed in. Strip out all the blank lines so I can process it line by line without empty entries messing things up."}],"resultDescription":"Returns a cleaned version of the input text with all blank lines removed, leaving only non-empty lines. The response is a JSON object containing the normalized text.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 — 402 response returned before processing","Malformed JSON body — 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, pay-per-call solution to strip blank lines from text without standing up your own text-processing infrastructure. Ideal for autonomous agents that occasionally need lightweight text normalization as part of a larger pipeline. At $0.004 USDC per call, it's cost-effective for on-demand use. Prefer this over general-purpose LLMs for deterministic blank-line removal that doesn't require semantic understanding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:34.464Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}