{"uid":"cap_nSTL5u4Ngp20zyWvlr-Wn","slug":"delx-commerce-json-array-intersection-6554ebb8","name":"Delx Commerce — JSON Array Intersection","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/json-array-intersection?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"left":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Left supplied to JSON Array Intersection; used only for this bounded calculation and processed in memory without retention."},"right":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Right supplied to JSON Array Intersection; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"count":2,"items":[2,3]},"schema":"delx/util-json-array-intersection/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3935c5e3bdec4177763cd3e7cf434284e8981e33d97a90a0407de0251171a40d","external_calls":0},"operation":"data_batch:json_array_intersection"}},"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_gEfm0FWIPGdHpRH55-tEr","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":"Computes the intersection of two integer arrays, returning shared elements and their count, with cryptographic evidence of no data retention.","exampleAgentPrompt":"Find the common integers between these two lists: [1, 2, 3, 4, 5] and [2, 3, 6, 7] — I need the shared values and how many there are.","exampleUseCases":[{"title":"Filtering shared product IDs","prompt":"I have two lists of product IDs — one from our warehouse inventory and one from last week's orders. Can you find which product IDs appear in both lists? Warehouse: [101, 202, 303, 404, 505] and Orders: [202, 303, 606]."},{"title":"Matching user cohort overlap","prompt":"I've got two groups of user IDs — group A is [10, 20, 30, 40, 50] and group B is [20, 40, 60, 80]. Which user IDs are in both groups, and how many overlap?"},{"title":"Finding common feature flags","prompt":"Compare these two integer feature-flag ID sets and tell me which flags are active in both: set one is [1, 3, 5, 7, 9] and set two is [3, 6, 7, 8, 9]."}],"resultDescription":"Returns a JSON object with the intersection items as an integer array, the count of shared elements, a status field ('pass'), and an evidence block confirming no data was retained (retained: false), the SHA-256 hash of the input, and that zero external calls were made. Schema is labeled 'delx/util-json-array-intersection/v1'.","failureModes":["Arrays exceeding 256 items will be rejected","Non-integer array elements will fail schema validation","Missing 'left' or 'right' fields will cause a bad request error","Payment failure via x402 will prevent execution","Malformed JSON body will return a parse error"],"whenToPreferThis":"Choose this endpoint when you need a trustless, verifiable set intersection computation on two integer arrays with cryptographic proof of no data retention — ideal for privacy-sensitive agent workflows or when auditability of the computation is required. At $0.001 USDC per call with no signup, it suits lightweight agent pipelines that need deterministic utility math without spinning up infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:47.535Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-array-intersection-6554ebb8"}