{"uid":"cap_C2_Vp3b2rIkY0u95YtMkw","slug":"one-engine-array-difference-t5-8ddca152","name":"ONE Engine Array Difference (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/difference/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_JHYVVJ6Y-ORq_MnTElHxE","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":"Computes the difference between two arrays, returning elements present in the input array but not in the comparison array.","exampleAgentPrompt":"I have two lists — [1, 2, 3, 4, 5] and [2, 4] — can you find me all the elements in the first list that are NOT in the second list?","exampleUseCases":[{"title":"Filter out already-seen product IDs","prompt":"I have a list of product IDs from today's catalog and a list of IDs I already processed yesterday — give me only the ones I haven't seen yet, so I can focus on the new items."},{"title":"Identify removed user permissions","prompt":"Here are two permission arrays: the old one is ['read','write','delete','admin'] and the new one is ['read','write']. Which permissions were removed?"},{"title":"Deduplicate new entries against a blocklist","prompt":"I have an incoming list of email addresses and a blocklist — can you give me back only the emails that are NOT on the blocklist?"}],"resultDescription":"Returns a JSON object containing the computed difference — an array of elements from the 'values' input that are not present in the 'other' comparison array. Supports optional pagination via size and offset parameters.","failureModes":["Missing required 'values' field returns a validation error","Array exceeding 1000 items is rejected","Payment not fulfilled via x402 results in 402 Payment Required response","Malformed JSON body returns a 400 error","Empty or null 'other' array may return the full 'values' array unchanged"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call array difference computation without standing up your own infrastructure. Ideal for autonomous agents on Base that need to compare lists on-demand with minimal overhead and no subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:17.542Z","isFirstParty":false,"canonicalSlug":"one-engine-array-difference-t5-8ddca152"}