# agent402.tools Password Generator

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

Generates cryptographically random passwords with configurable length, symbol inclusion, and count

## Facts

- Endpoint: GET https://agent402.tools/api/password
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-password-generator-b2c631df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GcUYOlj8gTS0V0w0cq2l0

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 agent402-tools-password-generator-b2c631df
```

Example prompt: Generate 5 secure random passwords for me, each 32 characters long and including symbols.

## When to prefer this

Use this endpoint when you need cryptographically secure random passwords generated server-side without relying on client-side entropy. Prefer this over simpler random generators when security quality matters. Best when you need configurable length, optional symbols, and batch generation up to 20 passwords per call.

## Known failure modes

- length out of range (must be 8-128) returns 400 error
- count out of range (must be 1-20) returns 400 error
- invalid symbols value returns 400 error
- network timeout or service unavailability returns 5xx

## How this service works

Generate cryptographically random passwords. ?length=8..128 (default 24), ?symbols=true|false (default true), ?count=1..20.

## Output

Returns one or more cryptographically random password strings. When count > 1, returns an array of passwords. Each password contains alphanumeric characters and optionally symbols, at the requested length.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "count": "5",
   "length": "32",
   "symbols": "true"
  }
 }
}
```

## 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": {
      "count": {
       "type": "string",
       "description": "How many (1-20, default 1)"
      },
      "length": {
       "type": "string",
       "description": "8-128, default 24"
      },
      "symbols": {
       "type": "string",
       "description": "Include symbols (default true)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "passwords",
      "entropyBits"
     ],
     "properties": {
      "passwords": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "entropyBits": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "passwords": [
   "k9#mP2…"
  ],
  "entropyBits": 190
 }
}
```

## More

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