# httpay.xyz Password Generator

> httpay.xyz Password Generator is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates a cryptographically secure random password using Node.js crypto.randomBytes with configurable length and character sets

## Facts

- Endpoint: POST https://httpay.xyz/api/password-generate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-cb28c54f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3WIu26iPUzLjxigIEp_qN

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 httpay-xyz-cb28c54f -d '<json body>'
```

Example prompt: Generate a cryptographically secure random password that is 24 characters long with symbols, uppercase letters, and numbers included.

## When to prefer this

Use this endpoint when you need a cryptographically secure password (not pseudorandom) with fine-grained control over character classes (symbols, uppercase, numbers) and length, especially in automated workflows requiring strong credentials generation.

## Known failure modes

- Length out of range (below 4 or above 128) returns an error
- Invalid boolean values for symbols/uppercase/numbers flags
- Payment failure if x402 USDC micropayment is not processed
- Service unavailable if httpay.xyz is down

## How this service works

Generate a cryptographically secure random password. Params: ?length=16 (4–128), ?symbols=true, ?uppercase=true, ?numbers=true. Uses Node.js crypto.randomBytes.

## Output

Returns a randomly generated password string using Node.js crypto.randomBytes, with the requested length (4–128) and character set composition (symbols, uppercase, numbers) applied.

## Example request

```json
{
 "length": 16,
 "numbers": true,
 "symbols": true,
 "uppercase": true
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Generate a cryptographically secure random password. Params: ?length=16 (4–128), ?symbols=true, ?uppercase=true, ?numbers=true. Uses Node.js crypto.randomBytes."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-cb28c54f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
