# Kairo Password Strength Analyzer

> Kairo Password Strength Analyzer is a paid API for AI agents from kairo-x402.kairo-ships.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Analyzes a password string and returns its length, character pool size, entropy in bits, and a strength verdict

## Facts

- Endpoint: GET https://kairo-x402.kairo-ships.workers.dev/api/strength
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kairo-password-strength-analyzer-342f55e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wjEOQPdqfabdfw6jkFo_v

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 kairo-password-strength-analyzer-342f55e5
```

Example prompt: Can you check how strong the password 'Tr0ub4dor&3' is — I want to know its entropy in bits and whether it's actually secure?

## When to prefer this

Choose this endpoint when you need a fast, stateless, pay-per-call password entropy and strength evaluation with no account setup or API key — ideal for agent workflows where you want to validate user-supplied passwords on the fly without integrating a full auth library. Prefer it over rolling your own entropy calculation or using heavyweight security SDKs when you need a simple verdict and numeric entropy score quickly.

## Known failure modes

- Missing 'pw' parameter returns an error — the password string is required
- Very long strings may be truncated or rejected depending on worker limits
- Empty string may return a zero-entropy result or validation error
- Network timeouts on the Cloudflare Worker edge node
- x402 payment failure if the USDC balance is insufficient or the payment header is malformed

## How this service works

Crypto-native ($0.02 USDC on Base, x402) utility endpoints for agents. No accounts, no KYC — pay-per-call.

## Output

Returns a JSON object with: 'length' (integer character count), 'pool' (integer size of the character set used, e.g. 26 for lowercase only, 62 for alphanumeric), 'entropy_bits' (float representing log2 of possible combinations), and 'verdict' (string strength rating such as 'weak', 'fair', 'strong', or 'very strong')

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "pw"
 ],
 "properties": {
  "pw": {
   "type": "string",
   "description": "String to analyze"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "length",
  "pool",
  "entropy_bits",
  "verdict"
 ],
 "properties": {
  "pool": {
   "type": "integer"
  },
  "length": {
   "type": "integer"
  },
  "verdict": {
   "type": "string"
  },
  "entropy_bits": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kairo-password-strength-analyzer-342f55e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kairo-x402.kairo-ships.workers.dev](https://www.zero.xyz/host/kairo-x402.kairo-ships.workers.dev/llms.txt)
