{"uid":"cap_33MsH-5X3Rqy4jP1sb2hS","slug":"pennyrail-text-lines-deduplication-680d8911","name":"PennyRail Text Lines Deduplication","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.lines-dedupe--unique-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_AZ2fRTKzNeVsgBIR1t_Ks","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 these lines of text for me and return only the unique ones? Here's the list:\napple\nbanana\napple\ncherry\nbanana\ndate","exampleUseCases":[{"title":"Cleaning scraped product tag lists","prompt":"I scraped a bunch of product tags from several pages and they're full of duplicates — can you remove the repeated lines and give me just the unique tags? Here's the raw text: electronics\ngadgets\nelectronics\nphones\ngadgets\naccessories"},{"title":"Deduplicating log file entries","prompt":"I have a chunk of log lines with a lot of repeats. Can you strip out the duplicates and return only the unique lines so I can review distinct events?"},{"title":"Unique keyword list from content brainstorm","prompt":"I brainstormed a list of SEO keywords but there are lots of repeats in there. Can you deduplicate the list and give me back only the unique entries?"}],"resultDescription":"An object containing the deduplicated text, typically as unique lines with repeated lines removed, preserving the distinct values from the original input string.","failureModes":["Missing required 'input' field returns an error","Non-string input type may cause a validation error","Empty string input may return an empty result","Payment failure (402) if USDC balance is insufficient or x402 auth is missing","Large inputs may hit size or timeout limits"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.001 USDC) programmatic way to deduplicate lines in a text blob — especially in agentic pipelines where paying per-call via x402/USDC is already set up. Prefer this over local string manipulation when the deduplication needs to happen server-side in a stateless, API-driven workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:49.848Z","isFirstParty":false}