{"uid":"cap_lSGFs0FsE3MaJWMuins7D","slug":"one-engine-text-normalize-remove-blank-lines-1a8e855d","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iU6KHtROc_04iy-xHmJFW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Strips blank lines from a block of text, normalizing whitespace by removing empty lines up to 50,000 characters.","exampleAgentPrompt":"Clean up this text by removing all blank lines from it: [paste your text here].","exampleUseCases":[{"title":"Cleaning scraped web content","prompt":"I scraped some article text and it's full of empty lines between paragraphs — can you strip all the blank lines out so it's compact and clean?"},{"title":"Normalizing LLM output before storage","prompt":"The AI-generated draft I got back has a bunch of blank lines scattered through it. Can you normalize it by removing all the empty lines before I save it to the database?"},{"title":"Pre-processing user-submitted form text","prompt":"A user submitted a big block of text in our form and it has loads of empty lines in it — can you clean it up by removing all the blank lines so it's ready to process?"}],"resultDescription":"Returns a cleaned version of the input text with all blank lines removed, as a JSON object containing the normalized text string.","failureModes":["Text exceeds 50,000 character limit — request rejected","Missing required 'text' field — validation error","Payment failure via x402 — 402 response returned before processing","Empty string input may return trivially identical output"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.0007 USDC) pay-per-call operation to strip blank lines from text within an autonomous agent workflow on Base, particularly when you want minimal overhead and a simple transformation without spinning up local text-processing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:04.437Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-2dcfc4cb"}