{"uid":"cap_k8ChgIRspD6uaBwWVsXVo","slug":"pennyrail-text-lines-deduplicator-dc9befce","name":"PennyRail Text Lines Deduplicator","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.lines-dedupe--deduplicate-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_yZS-J-simOMbDdWOwN4pw","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 multi-line text string, returning only unique lines","exampleAgentPrompt":"Can you deduplicate the lines in this text and give me back only the unique ones? Here's the text: 'apple\nbanana\napple\ncherry\nbanana\norange'","exampleUseCases":[{"title":"Clean up scraped URL list","prompt":"I scraped a bunch of URLs from a website and there are tons of duplicates in my list — can you remove all the repeated lines and give me just the unique URLs? Here's the full list: 'https://example.com/page1\nhttps://example.com/page2\nhttps://example.com/page1\nhttps://example.com/page3'"},{"title":"Deduplicate log file entries","prompt":"I have a log file where a bunch of error messages appear multiple times — can you deduplicate the lines so I only see each unique error once? Here are the log lines: 'ERROR: connection timeout\nINFO: retry attempt\nERROR: connection timeout\nERROR: disk full\nINFO: retry attempt'"},{"title":"Unique keyword list for SEO","prompt":"I've got a big keyword list for my SEO campaign but there are loads of repeats — please remove all the duplicate lines so I'm left with only unique keywords. The list is: 'best coffee shops\ncoffee near me\nbest coffee shops\nlatte art\ncoffee near me\ncold brew'"}],"resultDescription":"A text response containing the original input lines with all duplicates removed, preserving only unique lines (order may be preserved or sorted depending on implementation). The response is a JSON object with the deduplicated text.","failureModes":["Missing 'input' field returns a validation error","Empty string input may return an empty result or error","Extremely large inputs may time out or be rejected","Non-string input type may cause a schema validation failure","Payment failure (402) if USDC balance is insufficient or x402 header is missing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call microservice to deduplicate lines in a text string without setting up any local processing. Ideal for agents that handle text cleanup tasks on-the-fly and want to offload string deduplication as a composable step in a pipeline, especially when already using the PennyRail/x402 payment infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:57:12.808Z","isFirstParty":false}