{"uid":"cap_p1yR_8-4ybVeyDq1U2mN2","slug":"pennyrail-remove-empty-lines-4d3d5b30","name":"PennyRail Remove Empty Lines","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.remove-empty-lines--remove-empty-lines","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"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_9oE-bz9dZvzYOoqSAtwOX","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 all empty lines from a given text string, returning a compacted version with blank lines stripped out.","exampleAgentPrompt":"Clean up this text for me by removing all the empty lines: \"Line one\\n\\nLine two\\n\\n\\nLine three\\n\\nLine four\" — I want just the non-blank lines left.","exampleUseCases":[{"title":"Clean up pasted log output","prompt":"I copied some server logs and they're full of blank lines between entries — can you strip out all the empty lines so I just get the actual log content?"},{"title":"Normalize code snippet formatting","prompt":"This code snippet I got has a bunch of extra blank lines scattered through it, can you remove all the empty lines so it reads more cleanly?"},{"title":"Compact CSV data before processing","prompt":"I have a multiline text block that's supposed to be CSV data but there are empty rows mixed in — please remove all the blank lines so I only have real data rows."}],"resultDescription":"Returns a JSON object containing the processed text with all empty lines removed, leaving only lines that contain at least one character. The output preserves the relative order and content of non-empty lines.","failureModes":["Missing required 'input' field returns a validation error","Non-string input type may cause processing failure","Very large text payloads may exceed processing limits","Payment failure (402) if USDC balance is insufficient for the $0.001 fee"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-use microservice to strip empty lines from text without spinning up your own string processing logic. It is ideal for agent pipelines that need lightweight text normalization as a discrete, auditable step with a clear per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:56:57.136Z","isFirstParty":false}