{"uid":"cap_AfZVZjFFTl4WZnR3SEfxV","slug":"pennyrail-text-lines-deduplication-832e1dee","name":"PennyRail Text Lines Deduplication","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.lines-dedupe--remove-duplicate-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_V6EA30AKIU6EgJ4NZAcvp","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 for me 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 site and there are tons of duplicates — can you remove all the repeated lines and just give me the unique ones? Here's the raw 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 snippet with repeated error messages and I only want to see each unique line once. Can you deduplicate this for me: 'ERROR: timeout\nINFO: connected\nERROR: timeout\nWARN: retry\nINFO: connected'"},{"title":"Filter unique product tags","prompt":"I've got a big messy list of product tags with lots of repeats — can you strip out the duplicates and return only the unique tags? The list is: 'electronics\nclothing\nelectronics\nfurniture\nclothing\ntoys\nfurniture'"}],"resultDescription":"A text string containing only the unique lines from the input, with duplicate lines removed, preserving the order of first occurrence","failureModes":["Missing 'input' field returns a validation error","Empty string input may return an empty response or pass through unchanged","Very large text inputs may hit payload size limits","Network or Vercel cold-start latency may cause timeouts","Payment failure via x402 protocol prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a simple, low-cost ($0.001 USDC) API call to deduplicate lines in a text string without setting up local string processing logic. Ideal for agents operating in pay-per-use microtransaction environments (x402 protocol) that need lightweight, stateless text cleaning as part of a pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:23.107Z","isFirstParty":false}