{"uid":"cap_Us9IMlX24b1QXw-WrzYw2","slug":"one-engine-array-set-pack-tier-2-3dcbe554","name":"ONE Engine Array Set Pack (Tier 2)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v2/array-set-pack/t2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array"},"b":{"type":"array"}}},"responseSchema":{"type":"json","example":{"tier":2,"result":"Tier-dependent output"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IY0VyaOuXYSCw2yN6-N2A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes set operations (such as union, intersection, or difference) on two input arrays and returns a packed/combined result at tier 2 quality.","exampleAgentPrompt":"Take these two arrays — [1, 2, 3, 4] and [3, 4, 5, 6] — and pack them together using set logic so I get back the combined unique result.","exampleUseCases":[{"title":"Deduplicating tag lists from two sources","prompt":"I have two lists of product tags from different databases — [\"electronics\",\"gadgets\",\"sale\"] and [\"gadgets\",\"accessories\",\"new\"] — can you merge them into a single deduplicated set?"},{"title":"Finding shared user IDs across two datasets","prompt":"I've got two user ID arrays from separate campaigns — [101,102,103,104] and [103,104,105,106] — pack them together so I can see the combined unique set of users."},{"title":"Combining feature flags from two config sources","prompt":"Merge these two feature flag arrays [\"dark_mode\",\"beta_ui\",\"analytics\"] and [\"analytics\",\"payments\",\"dark_mode\"] into one packed set with no repeats."}],"resultDescription":"A JSON object with a 'tier' field (value 2) and a 'result' field containing the tier-2 packed output of the set operation applied to the two input arrays — typically a merged, deduplicated, or otherwise set-combined array.","failureModes":["Missing 'a' or 'b' array fields returns an error","Non-array values for 'a' or 'b' may cause processing failure","Payment failure via x402 results in 402 Payment Required with no result","Empty arrays may return an empty result set","Network timeout on Cloudflare Workers edge"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call set operation on two arrays without standing up your own compute — especially useful for autonomous agents on Base that already handle x402 micropayments and need lightweight array manipulation as a building block.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:37.048Z","isFirstParty":false,"canonicalSlug":"one-engine-array-set-pack-tier-2-3dcbe554"}