{"uid":"cap_k_mA2Bp75g81XGjSkB0rt","slug":"one-engine-text-normalize-remove-blank-lines-5a109c5e","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pv9E9UKJRIFQFYSNYzr93","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 text to produce clean, compact output suitable for downstream agent processing.","exampleAgentPrompt":"Clean up this text by removing all blank lines so it's ready for further processing: [paste your text here, up to 50000 characters].","exampleUseCases":[{"title":"Clean scraped web page text","prompt":"I scraped some web content and it has tons of empty lines scattered throughout — can you strip all the blank lines out so the text is compact and ready to process?"},{"title":"Normalize LLM prompt input","prompt":"Before I send this document into the LLM pipeline, remove all blank lines from it so the token count is lower and the formatting is consistent."},{"title":"Tidy exported log or report","prompt":"This exported report has loads of blank lines between sections making it hard to read programmatically — please remove all the empty lines and give me the cleaned version."}],"resultDescription":"Returns a JSON object containing the input text with all blank lines removed, producing a compact, normalized version ready for downstream processing by agents or pipelines.","failureModes":["Text exceeds 50000 character limit — request rejected","Empty or missing 'text' field — validation error","Payment failure via x402 — 402 response before processing begins","Network timeout on Cloudflare Workers edge — transient 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call operation to strip blank lines from text (up to 50000 characters) without spinning up your own preprocessing infrastructure. Ideal for agentic pipelines that process variable volumes of text and want micro-cost, on-demand normalization billed in USDC via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:24.196Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-5a109c5e"}