{"uid":"cap_OWNnkOmnejQT1UmOIof1X","slug":"minia2a-cartesian-product-2bbde0a1","name":"minia2a Cartesian Product","description":"minia2a service: x402-cartesian-product","url":"https://minia2a.uk/x402/cartesianProduct?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true},"answerAt":"result"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0uWzvRmmJsC8xWcY6bw9M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Cartesian product of two or more input sets, returning all ordered combinations of their elements","exampleAgentPrompt":"Can you compute the Cartesian product of these two sets — {1, 2, 3} and {A, B} — and give me all the ordered pairs?","exampleUseCases":[{"title":"Enumerate all parameter combinations","prompt":"I need all possible combinations of these three option lists for my test matrix: colors are [red, blue, green], sizes are [S, M, L], and materials are [cotton, polyester] — can you generate the full Cartesian product?"},{"title":"Generate all possible coordinate pairs","prompt":"Give me every ordered pair from the set of x-values [0, 1, 2] and y-values [0, 1, 2] — I want the full Cartesian product for a grid."},{"title":"Match all users to all roles","prompt":"I have a list of users [Alice, Bob, Carol] and a list of roles [admin, editor, viewer] — compute the Cartesian product so I can see every possible user-role assignment."}],"resultDescription":"Returns all ordered tuples formed by taking one element from each input set, representing the complete Cartesian product. The response includes an array of combination objects or tuples covering every possible pairing across the provided sets.","failureModes":["Missing or malformed 'input' parameter returns a 400 error","Very large input sets may time out or hit response size limits","Incorrectly typed query parameters may result in empty or partial output","Payment not accepted or expired x402 token returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-use microservice to compute the Cartesian product of discrete sets without standing up your own compute. It is especially useful for enumeration tasks in test case generation, combinatorial search, and data pairing workflows where you want a simple API call rather than writing the logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:18.061Z","isFirstParty":false,"canonicalSlug":"minia2a-cartesian-product-2bbde0a1"}