{"uid":"cap_yTuTiOUdcbi-L_xFo8YW7","slug":"signaldesk-ai-array-deduplicate-5aa83a8c","name":"SignalDesk AI Array Deduplicate","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/json/array-deduplicate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{},"maxItems":1000,"minItems":0,"description":"JSON array."}}},"responseSchema":{"type":"json","example":{"values":[1,{"a":2}]}},"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_W0OCZhC_iaPPilrJEFFJV","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 a JSON array, returning only unique elements","exampleAgentPrompt":"Can you deduplicate this array for me and return only the unique values: [1, 2, 2, 3, {\"a\": 1}, {\"a\": 1}, \"hello\", \"hello\"]?","exampleUseCases":[{"title":"Clean duplicate user IDs from pipeline","prompt":"I have this list of user IDs coming out of my data pipeline and there are a bunch of repeats — can you remove all the duplicates and give me just the unique ones? Here's the array: [101, 202, 101, 303, 202, 404]"},{"title":"Deduplicate mixed-type tag list","prompt":"I've got a mixed array of tags and labels that has a lot of repetition — things like strings, numbers, and objects — can you deduplicate it for me? The array is: [\"news\", \"sports\", 1, \"news\", {\"cat\": \"tech\"}, {\"cat\": \"tech\"}, 1]"},{"title":"Unique product SKUs from order data","prompt":"I pulled a list of product SKUs from multiple orders and need to know which unique SKUs appear across all of them — here's the combined array with duplicates: [\"SKU-001\", \"SKU-002\", \"SKU-001\", \"SKU-003\", \"SKU-002\"]"}],"resultDescription":"A JSON object containing a 'values' array with all duplicate entries removed, preserving only unique elements. Works with mixed types including numbers, strings, and nested objects.","failureModes":["Array exceeds 1000 items — request rejected","Malformed JSON in the values array — parse error returned","Empty array input returns empty array (valid, not an error)","Network timeout on large complex arrays with deep object comparison"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap ($0.001 USDC), serverless deduplication of a JSON array up to 1000 items, especially when handling mixed types (numbers, strings, nested objects) that require deep equality comparison. Ideal for lightweight data cleaning tasks in agent workflows without standing up your own infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:17.687Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-array-deduplicate-5aa83a8c"}