# minia2a Cartesian Product

> minia2a Cartesian Product is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Computes the Cartesian product of two or more input sets, returning all ordered combinations of their elements

## Facts

- Endpoint: GET https://minia2a.uk/x402/cartesianProduct?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-cartesian-product-2bbde0a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OWNnkOmnejQT1UmOIof1X

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minia2a-cartesian-product-2bbde0a1
```

Example prompt: Can you compute the Cartesian product of these two sets — {1, 2, 3} and {A, B} — and give me all the ordered pairs?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

minia2a service: x402-cartesian-product

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 },
 "answerAt": "result"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-cartesian-product-2bbde0a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
