# minia2a x402-random

> minia2a x402-random is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns a random value or random data via a paid x402 HTTP endpoint

## Facts

- Endpoint: GET https://minia2a.uk/x402/random
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-random-ff01fec7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d8D9oaI_QpL4bEwWff_Qb

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-x402-random-ff01fec7
```

Example prompt: Can you call the minia2a random endpoint and get me a random value right now?

## When to prefer this

Choose this endpoint when you need externally sourced randomness via a micropayment-gated API, particularly in x402-compatible agent workflows where you want verifiable or third-party random values rather than locally generated pseudorandom numbers.

## Known failure modes

- Payment not included or invalid — 402 Payment Required response
- Invalid query parameters or unsupported type field — 400 Bad Request
- Service temporarily unavailable — 503 or timeout
- Insufficient USDC balance to complete x402 micropayment

## How this service works

minia2a service: x402-random

## Output

A random value or dataset returned as a JSON response, the exact structure depending on the output type requested. Typically includes a randomly generated number, string, or structured random data object.

## 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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-random-ff01fec7/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)
