# Password Strength Meter & HIBP Breach Checker

> Password Strength Meter & HIBP Breach Checker is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.020000/call, status unknown (last checked 2026-09-15).

Analyzes password strength via entropy, character classes, and crack-time estimates, then checks if it has appeared in known data breaches using HIBP k-anonymity lookup.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/password-strength
- Price: $0.020000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-05ff5899
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nW_V_FFGx1rXi17rAloA0

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-deployer-x402-deployer-workers-dev-05ff5899 -d '<json body>'
```

Example prompt: Can you check how strong the password 'Tr0ub4dor&3' is — tell me its entropy, crack time estimate, whether it uses common patterns, and whether it's shown up in any known data breaches?

## When to prefer this

Use this endpoint when you need both password strength analysis (entropy, crack time, pattern detection) and breach-database checking in a single call, rather than calling separate services. Ideal for registration flows, security audits, or any agent workflow that needs to validate a credential before use or storage.

## Known failure modes

- Empty or missing password field returns 400 error
- Extremely long passwords may time out the entropy computation
- HIBP API unavailability may cause breach lookup to fail while strength metrics still return
- Payment not sent or insufficient USDC results in 402 Payment Required

## How this service works

Password strength meter + breach checker. Entropy, character classes, common patterns, crack-time estimates. Plus HIBP k-anonymity breach lookup.

## Output

Returns an entropy value, character class breakdown (uppercase, lowercase, digits, symbols), crack-time estimate, flags for common patterns (dictionary words, keyboard walks, repeated chars), an overall strength rating, and a breach count from the HIBP k-anonymity lookup indicating how many times the password hash prefix has appeared in known breaches.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "password"
     ],
     "properties": {
      "password": {
       "type": "string",
       "description": "Password to score. Sent over TLS to the worker but never logged. Max 200 chars."
      },
      "check_breaches": {
       "type": "boolean",
       "description": "If true (default), also performs a HIBP k-anonymity lookup and returns breach_count + is_breached. Set false to skip the network call for fully offline scoring."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "score": {
       "type": "integer"
      },
      "bucket": {
       "type": "string"
      },
      "length": {
       "type": "integer"
      },
      "feedback": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "is_breached": {
       "type": "boolean"
      },
      "breach_count": {
       "type": "integer"
      },
      "charset_size": {
       "type": "integer"
      },
      "entropy_bits": {
       "type": "number"
      },
      "character_classes": {
       "type": "object",
       "properties": {
        "numbers": {
         "type": "boolean"
        },
        "symbols": {
         "type": "boolean"
        },
        "lowercase": {
         "type": "boolean"
        },
        "uppercase": {
         "type": "boolean"
        }
       }
      },
      "estimated_crack_time": {
       "type": "object",
       "properties": {
        "online_throttled": {
         "type": "string"
        },
        "offline_fast_hash": {
         "type": "string"
        },
        "offline_slow_hash": {
         "type": "string"
        },
        "online_unthrottled": {
         "type": "string"
        }
       }
      },
      "cha
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-05ff5899/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
