{"uid":"cap_9gMkcgvWIeQxR954GT4es","slug":"dedupe-lines-3e9efc7f","name":"dedupe-lines","description":"Deduplicate lines: unique lines in original order (case-sensitive), plus a case-insensitive count and the duplicates found. Clean lists before processing. $0.01 per call.","url":"https://intel.rallylive.ca/data/dedupe","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KN18i9TDJVDD1aoUza7aj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 list, returning unique lines in original order with a case-insensitive duplicate count and the duplicate entries found.","exampleAgentPrompt":"Can you deduplicate this list of lines for me and tell me which ones were duplicates? Here's the list: apple, banana, apple, cherry, banana, date.","exampleUseCases":[{"title":"Cleaning scraped keyword list","prompt":"I scraped a bunch of keywords from several pages and now I have tons of duplicates — can you remove all the repeated lines and tell me what was duplicated?"},{"title":"Deduplicating subscriber emails before import","prompt":"Before I import these email addresses into our mailing system, can you deduplicate this list and show me which emails appeared more than once?"},{"title":"Merging tag lists from multiple sources","prompt":"I merged tags from three different sources and the combined list has a lot of repeats — can you give me only the unique tags in their original order and count the duplicates?"}],"resultDescription":"Returns unique lines in the original order (case-sensitive), a case-insensitive count of how many duplicates were found, and the list of duplicate lines that were removed.","failureModes":["Missing or empty 'input' parameter returns an error","Non-text or malformed input may produce unexpected results","Very large lists may hit request size limits","Network timeout for extremely large inputs"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call deduplication of a line-based text list, especially when you also want to know which specific lines were duplicates and how many there were. It's ideal for pre-processing lists before ingestion, import, or analysis pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:36.613Z","isFirstParty":false}