{"uid":"cap_9oO8n2W56UVdTMGR4HVKg","slug":"pennyrail-text-lines-deduplicate-754c75ec","name":"PennyRail Text Lines Deduplicate","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/text.lines-dedupe","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string or string[]"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"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_aJLD2jMnvtSXmx1R0QNsd","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 duplicate lines from a text string or array of strings, returning only unique lines","exampleAgentPrompt":"Can you deduplicate the lines in this text for me? Here it is: 'apple\nbanana\napple\ncherry\nbanana\ndate' — just give me back the unique lines.","exampleUseCases":[{"title":"Cleaning scraped list data","prompt":"I scraped a bunch of URLs from multiple pages and now I have a ton of duplicates in my list — can you remove the repeated lines so I only have unique entries?"},{"title":"Deduplicating log file entries","prompt":"I've got a log snippet with repeated lines: 'ERROR: timeout\nINFO: retry\nERROR: timeout\nINFO: success\nINFO: retry' — strip out the duplicates and just give me the unique lines."},{"title":"Normalizing keyword lists","prompt":"I have a keyword list that got merged from several sources and there are a lot of repeats. Here it is: 'cloud computing\nAI\ncloud computing\nmachine learning\nAI\nbig data' — can you deduplicate it for me?"}],"resultDescription":"Returns a JSON object with an 'operation' field (the name of the operation performed) and a 'result' field containing the deduplicated output — either a string of unique lines or an array with duplicates removed, depending on input format.","failureModes":["Missing 'input' field returns a validation error","Non-string and non-array input may cause processing failure","Payment failure or insufficient USDC balance returns HTTP 402","Very large inputs may hit size or timeout limits on the Vercel serverless platform"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call microservice to deduplicate lines in a text string or string array without spinning up custom code. Ideal for lightweight agent workflows that process text data on the fly and need deduplication as a discrete step. At $0.001 USDC per call via x402, it fits well into automated pipelines where cost predictability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:54:16.944Z","isFirstParty":false}