{"uid":"cap_gzUlph4JCkhZh3AwTItSu","slug":"one-engine-text-normalize-remove-blank-lines-t9-aa3e23be","name":"ONE Engine Text Normalize – Remove Blank Lines (T9)","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/t9?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.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nzKE8ZcCm9JzQe7URht3X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","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 up to 50,000 characters, returning a normalized version with consecutive empty lines stripped.","exampleAgentPrompt":"Can you clean up this text by removing all the blank lines? Here's the content: [paste multi-line text with empty lines]","exampleUseCases":[{"title":"Clean up pasted document content","prompt":"I just pasted a long article into my notes and it's full of blank lines between every paragraph — can you strip out all the empty lines so the text is compact and readable?"},{"title":"Normalize code or log output","prompt":"I have this server log output with tons of blank lines scattered through it, making it hard to read. Can you remove all the empty lines so I can scan through it more easily?"},{"title":"Prepare text for downstream processing","prompt":"Before I send this block of text to another tool, I need to remove all blank lines from it so the format is consistent — the text is about 2,000 characters. Can you normalize it?"}],"resultDescription":"Returns a JSON object containing the processed text with all blank lines removed, resulting in a compacted string where consecutive empty lines have been stripped out, preserving non-empty line content and ordering.","failureModes":["Text exceeds 50,000 character limit — returns an error indicating input is too large","Empty or missing 'text' field — returns a validation error for the required field","Payment not provided or insufficient — returns HTTP 402 requiring x402 USDC payment on Base","Network timeout on large inputs near the character limit","Malformed JSON request body — returns a parsing error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call solution to strip blank lines from text without standing up any infrastructure. It is ideal for agent pipelines that occasionally need to normalize text formatting before further processing, logging, storage, or display. At $0.018 USDC per call on Base via x402, it suits low-frequency, on-demand normalization tasks where simplicity and cost predictability matter more than bulk throughput.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:39.818Z","isFirstParty":false,"canonicalSlug":"one-engine-text-normalize-remove-blank-lines-t9-aa3e23be"}