{"uid":"cap_Clm4t_QF_kuz_M6PrJFb6","slug":"delx-dedupe-list-28c448e8","name":"Delx Dedupe List","description":"Deduplicate a list while preserving first-seen order — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted…","url":"https://api.delx.ai/api/v1/x402/dedupe-list","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":["a","b","c"],"schema":"delx/util-dedupe-list/v1","removed":1}},"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_a910zDpYO9DXC69rST0XZ","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 values from an array while preserving the original first-seen insertion order, returning a deduplicated list as JSON.","exampleAgentPrompt":"Deduplicate this list for me and preserve the order I gave them in: [\"apple\", \"banana\", \"apple\", \"cherry\", \"banana\", \"date\"].","exampleUseCases":[{"title":"Clean pipeline tag list before indexing","prompt":"I have a list of tags collected from multiple sources and there are lots of repeats — can you deduplicate this array and keep them in the order they first appeared: [\"javascript\", \"python\", \"javascript\", \"typescript\", \"python\", \"go\"]?"},{"title":"Deduplicating user-submitted category choices","prompt":"Users submitted a form with multiple category selections and there are duplicates in the combined responses. Remove all repeated entries from this list while keeping the first-seen order: [\"finance\", \"health\", \"finance\", \"travel\", \"health\", \"education\", \"travel\"]."},{"title":"Preflight dedup before agent tool calls","prompt":"Before I send this list of city names to the next step in my workflow, deduplicate it so I'm not making redundant calls — here's the list: [\"Berlin\", \"Paris\", \"Berlin\", \"Tokyo\", \"Paris\", \"London\"]."}],"resultDescription":"Returns a deterministic JSON object containing the deduplicated array with all duplicate entries removed and first-seen insertion order preserved. The result is machine-readable and stateless — no input is retained after the call.","failureModes":["Empty array input returns an empty array without error","Non-array input for the items field may return a validation error","Malformed JSON request body returns a 400-level error","Payment not included or insufficient USDC value returns a 402 Payment Required response","Very large arrays may hit payload size limits"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic, stateless deduplication of an array with guaranteed first-seen order preservation, especially in agent preflight steps or lightweight pipeline cleanup tasks where you don't want to implement dedup logic yourself. It is ideal for micro-utility use cases where cost ($0.001 USDC) and latency matter more than complex dedup strategies. Prefer alternatives if you need fuzzy/semantic deduplication, deduplication by a specific key in objects, or dedup logic embedded in a larger data processing pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:23.612Z","isFirstParty":false}