{"uid":"cap__FUXahLvMUIYgTHy0NOvR","slug":"delx-commerce-set-intersection-9725291a","name":"Delx Commerce — Set 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/set-intersect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array","description":"Input field: a."},"b":{"type":"array","description":"Input field: b."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[2],"schema":"delx/util-set-intersect/v1"}},"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_hOVKqa8vQa05idoigpZ-L","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 arrays, returning the common elements and their count","exampleAgentPrompt":"Find the common elements between these two lists: [1, 2, 3, 4] and [2, 4, 6, 8].","exampleUseCases":[{"title":"Finding shared user interests","prompt":"I have two lists of user interest tags — [\"music\",\"sports\",\"travel\",\"cooking\"] and [\"travel\",\"gaming\",\"cooking\",\"movies\"] — what interests do both users share?"},{"title":"Matching product categories","prompt":"Here are two sets of product category IDs from different catalogs: [101, 202, 303, 404] and [202, 404, 505, 606] — which category IDs appear in both?"},{"title":"Comparing permission sets","prompt":"I have two permission lists — [\"read\",\"write\",\"delete\",\"admin\"] and [\"read\",\"execute\",\"write\"] — tell me which permissions are common to both."}],"resultDescription":"A JSON object containing the count of intersecting elements and an array of the items present in both input arrays, tagged with schema identifier 'delx/util-set-intersect/v1'.","failureModes":["Missing or non-array inputs for 'a' or 'b' fields returns an error","Empty arrays return count 0 and empty items array","Payment failure or insufficient USDC balance blocks request","Malformed JSON body results in 400 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use set intersection computation without standing up your own infrastructure, especially in agent workflows using x402 micropayments on Base or Solana. It is ideal for lightweight utility operations where no signup or API key is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.559Z","isFirstParty":false,"canonicalSlug":"delx-commerce-set-intersection-9725291a"}