# minia2a x402-random-color

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

Returns a randomly generated color value via a paid x402 micropayment endpoint

## Facts

- Endpoint: GET https://minia2a.uk/x402/x402-random-color
- Price: $0.01/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-color-f76c8a93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NxnicMakZaSKtag3IGc7t

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-color-f76c8a93
```

Example prompt: Pick a random color for me — just fetch one from the minia2a random color service and tell me what it is.

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.01 USDC), on-demand random color value and are already operating in an x402 micropayment-enabled agent pipeline. It is ideal for lightweight design, creative, or data-visualization tasks where you simply need an unpredictable color without maintaining your own random color logic.

## Known failure modes

- Payment not included or invalid — 402 Payment Required response
- Forged or replayed payment token rejected by x402 verification
- Endpoint temporarily unavailable — network or server error
- Malformed request parameters — unexpected input schema mismatch

## How this service works

minia2a service: x402-random-color

## Output

A randomly generated color value (likely a hex code, RGB value, or named color) returned as the response body from the x402 paid endpoint.

## 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-color-f76c8a93/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)
