# Password Strength Scorer

> Password Strength Scorer is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Scores a password by analyzing its length, character classes, and estimated entropy in bits to produce a strength rating.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/password-strength
- 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/password-strength-scorer-27935d2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0VrhTezKKl-7Semzg0DY1

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 password-strength-scorer-27935d2d -d '<json body>'
```

Example prompt: Can you check how strong the password 'Tr0ub4dor&3' is and tell me its entropy score?

## When to prefer this

Use this endpoint when you need a fast, deterministic computational strength score for a password based on entropy, length, and character diversity — not a breach database lookup or policy compliance check. Ideal for real-time form validation, security audits, or password policy enforcement flows where raw entropy metrics matter.

## Known failure modes

- Missing or empty password body returns a 400 error
- Extremely short passwords may return minimal entropy values
- Non-UTF8 or binary input may cause parsing errors
- API key or payment authentication failure returns 401/402

## How this service works

Score a password by length, character classes, and estimated entropy (bits).

## Output

Returns a strength score or rating for the submitted password, along with a breakdown of its length, character classes used (uppercase, lowercase, digits, symbols), and estimated entropy in bits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "password": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 3,
  "entropy_bits": 72.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/password-strength-scorer-27935d2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
