{"uid":"cap_FUYumWSKO_-Vo9XLbio_4","slug":"one-engine-array-unique-t5-88c7e6a4","name":"ONE Engine Array Unique (t5)","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/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ay2ZxIn_wxsyqBPzS0WDC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","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, with optional offset and size controls.","exampleAgentPrompt":"Deduplicate this list of values for me and return only the unique ones: [\"apple\", \"banana\", \"apple\", \"cherry\", \"banana\", \"date\"] — limit the result to the first 10 items.","exampleUseCases":[{"title":"Deduplicating product tag lists","prompt":"I have this array of product tags from our catalog that has a lot of repeats: [\"electronics\",\"sale\",\"electronics\",\"featured\",\"sale\",\"new\"] — can you strip out the duplicates and give me only unique tags?"},{"title":"Unique user ID extraction for batch job","prompt":"Before I run my email campaign, deduplicate this list of user IDs so I don't message anyone twice: [1001, 1002, 1001, 1003, 1002, 1004] — give me back just the unique ones."},{"title":"Paginated unique search results","prompt":"I've got a large list of search result URLs with duplicates — remove the dupes and give me unique results starting from position 20, limiting to 50 items: [\"https://a.com\", \"https://b.com\", \"https://a.com\", ...]"}],"resultDescription":"Returns a JSON object containing the deduplicated array of unique values drawn from the input, respecting any offset and size parameters provided. The response shape is flexible (additionalProperties: true), typically including the filtered unique elements.","failureModes":["Input array exceeds 1000 items — request rejected","Malformed JSON array in 'values' field — validation error","Missing required 'values' field — 400 bad request","Payment not included or insufficient — 402 Payment Required","Offset larger than the unique result set — empty array returned"],"whenToPreferThis":"Use this endpoint when you need a cheap, stateless, pay-per-call deduplication of a JSON array (up to 1000 items) without spinning up your own compute. Ideal for autonomous agents on the Base/x402 payment rail that need lightweight array utility operations without provisioning infrastructure. Prefer this over in-memory deduplication when operating in constrained agent environments or when you want a consistent, auditable microservice call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:58.106Z","isFirstParty":false,"canonicalSlug":"one-engine-array-unique-t5-88c7e6a4"}