# X402 Hub Password Generator

> X402 Hub Password Generator is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.053979/call, status unknown (last checked 2026-09-13).

Generates a secure password based on a query/specification string, accessed via x402 micropayment on Base

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/password-gen
- Price: $0.053979/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-password-generator-61c9f8f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iGV9DeWN3U82aECQCSvnh

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 x402-hub-password-generator-61c9f8f7 -d '<json body>'
```

Example prompt: Generate a secure password for me — something strong with mixed case letters, numbers, and special characters, around 16 characters long.

## When to prefer this

Choose this endpoint when you need on-demand password generation with per-call micropayment billing via x402 on Base, without requiring a subscription or API key — ideal for agents that occasionally need to generate secure passwords as part of a larger automated workflow.

## Known failure modes

- Missing or empty query field returns an error
- Malformed request body causes 400 Bad Request
- Payment not provided or insufficient USDC causes 402 Payment Required
- Upstream password generation service unavailable causes 500 error
- Query string too ambiguous or malformed may return unexpected results

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a JSON object containing generated password data, including the password string matching the requested specifications, wrapped in a data field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-password-generator-61c9f8f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
