# x402node Password Generator

> x402node Password Generator is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-13).

Generates a cryptographically random password with configurable length and character set rules, returning the password and its entropy in bits.

## Facts

- Endpoint: GET https://api.x402node.dev/generate/password
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-089ba7a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gF9p07DQYGEv0csMCEeS_

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 api-x402node-dev-089ba7a5
```

Example prompt: Generate a cryptographically secure random password that's 20 characters long, including uppercase letters, lowercase letters, numbers, and special symbols.

## When to prefer this

Choose this endpoint when you need a cryptographically random (not pseudo-random) password with measurable entropy, especially if you want control over length and character set composition. Prefer it over client-side generation when auditability or crypto-safe randomness is required.

## Known failure modes

- Invalid or out-of-range length value returns a 400 error
- Empty or conflicting character set rules may produce an error or unexpectedly short passwords
- Payment/x402 authentication failure returns 402 if USDC payment is not properly included
- Network timeout if the service is temporarily unavailable

## How this service works

Password generator, strong password, random password, secure password generator, crypto-safe password, password maker, generate strong password, customizable password length, pronounceable password, random secure pass. Generate cryptographically random password with custom length and character set rules. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with the generated password string, its length as an integer, and its entropy in bits — allowing the caller to verify both the password value and its cryptographic strength.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "digit": {
       "type": "string",
       "description": "Digit (optional)"
      },
      "lower": {
       "type": "string",
       "description": "Lower (optional)"
      },
      "upper": {
       "type": "string",
       "description": "Upper (optional)"
      },
      "length": {
       "type": "string",
       "description": "Length (optional)"
      },
      "symbol": {
       "type": "string",
       "description": "Symbol (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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