# Diceware Passphrase Generator

> Diceware Passphrase 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-14).

Generates a memorable, secure multi-word passphrase (xkcd 936 / Diceware style) from a curated wordlist

## Facts

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

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-5a5b1b9a
```

Example prompt: Generate a memorable secure passphrase for me using 5 random words in the xkcd 936 / Diceware style — something easy to remember but hard to guess.

## When to prefer this

Choose this endpoint when you need a human-memorable yet cryptographically random passphrase (Diceware/xkcd-936 style) rather than a high-entropy random character string. Ideal for generating master passwords, account passwords meant to be typed by humans, or passphrases for encryption keys where memorability matters.

## Known failure modes

- Invalid word count parameter returns 4xx error
- Server-side randomness failure returns 500
- Payment not accepted or insufficient USDC balance returns 402
- Malformed request body returns 400 with validation error

## How this service works

Diceware passphrase generator, multi-word random, memorable secure, xkcd 936 style, random word combinations from curated wordlist. Accepts payment on Base or Solana — either network works.

## Output

Returns a randomly generated multi-word passphrase drawn from a curated wordlist, in the Diceware/xkcd-936 style — typically including the combined passphrase string, the individual words, and optionally entropy or strength metadata.

## Example request

```json
{
 "wordCount": 4
}
```

## 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": {
      "sep": {
       "type": "string",
       "description": "Sep (optional)"
      },
      "words": {
       "type": "string",
       "description": "Words (optional)"
      },
      "capitalize": {
       "type": "string",
       "description": "Capitalize (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-5a5b1b9a/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)
