# minia2a Random Color Generator

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

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

## Facts

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

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-random-color-generator-f715c6d5
```

Example prompt: Give me a random color — just pick one for me on the spot.

## When to prefer this

Use this endpoint when you need a quick, on-demand random color value without any bias or pattern, especially in agentic workflows that require micropayment-gated randomness or when integrating with x402-compatible payment flows.

## Known failure modes

- Payment not provided or invalid x402 payment header — returns 402 Payment Required
- Network timeout or service unavailability — returns 5xx error
- Malformed request — returns 400 Bad Request

## How this service works

minia2a service: x402-random-color

## Output

A randomly generated color, likely as a hex code or color name/value, returned as a JSON response from the x402-random-color 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-random-color-generator-f715c6d5/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)
