{"uid":"cap_1zJBfa3kNkNSBMrMr3od6","slug":"one-engine-array-unique-t3-b89d84a9","name":"ONE Engine Array Unique (T3)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/array/unique/t3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["values"],"properties":{"size":{"type":"integer"},"other":{"type":"array","description":"Optional comparison array"},"offset":{"type":"integer"},"values":{"type":"array","description":"JSON array with at most 1000 items"}}},"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_N73LxuTWVQprfG4TU08wq","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":"Returns only the unique elements from a JSON array, optionally comparing against a second array and supporting offset/size pagination.","exampleAgentPrompt":"I have this list of product IDs and some of them are repeated — can you deduplicate it and return only the unique values? Here's the array: [101, 202, 101, 303, 202, 404].","exampleUseCases":[{"title":"Deduplicating a tag list","prompt":"I've got a big list of tags collected from multiple sources and there are tons of duplicates — can you strip out the repeated ones and give me just the unique tags? Here's the array: [\"python\", \"javascript\", \"python\", \"rust\", \"javascript\", \"go\"]."},{"title":"Finding new items vs existing set","prompt":"I have a fresh batch of user IDs from today and an existing list of already-processed IDs — can you find which ones in the new batch don't appear in the existing list? New batch: [5,6,7,8,5,6], existing: [5,6]."},{"title":"Paginated unique values from large list","prompt":"I have a 500-item array with lots of repeats and I only want the first 20 unique values starting from offset 0 — can you run that deduplication for me?"}],"resultDescription":"A JSON object containing the array of unique elements derived from the input values array, after removing duplicates and optionally filtering against a comparison array, with pagination applied if size/offset were specified.","failureModes":["Array exceeds 1000-item limit — request rejected","Malformed JSON array in values field — validation error","Invalid offset or size values — parameter error","Payment failure via x402 protocol — 402 response blocking execution"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call deduplication operation on a JSON array of up to 1000 items, especially within an autonomous agent pipeline running on Base via x402 micropayments. Ideal when you want set-difference behavior (unique relative to a comparison array) or paginated unique results without standing up your own data processing infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:37.049Z","isFirstParty":false,"canonicalSlug":"one-engine-array-unique-t3-b89d84a9"}