# Password Policy Validator

> Password Policy Validator is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-14).

Validates a password against configurable enterprise-grade policy rules including minimum length, uppercase, lowercase, digit, and special character requirements

## Facts

- Endpoint: GET https://api.x402node.dev/password/policy
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-6498688c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JHrWwZ0B2HrG5uJX7OtmJ

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 api-x402node-dev-6498688c
```

Example prompt: Check if the password 'MyP@ssw0rd!' passes our enterprise policy — minimum 10 characters, must have uppercase, lowercase, at least one digit, and one special character.

## When to prefer this

Use this endpoint when you need server-side password policy validation with configurable rules, especially for enterprise security workflows where specific character class and length requirements must be enforced programmatically without writing custom validation logic.

## Known failure modes

- Missing password input returns validation error
- Invalid rule configuration (e.g. non-numeric min length) returns 400 error
- Empty password string fails all rules
- Payment failure returns 402 error

## How this service works

Password policy validator, configurable rules, min length, uppercase, lowercase, digit, special, enterprise password policy check. Accepts payment on Base or Solana — either network works.

## Output

Returns whether the password passes or fails the configured policy, along with details on which specific rules (min length, uppercase, lowercase, digit, special character) were satisfied or violated.

## Example request

```json
{
 "password": "MyP@ssw0rd!",
 "minLength": 10,
 "requireDigit": true,
 "requireLowercase": true,
 "requireUppercase": true,
 "requireSpecialChar": 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": {
      "digit": {
       "type": "string",
       "description": "Digit (optional)"
      },
      "lower": {
       "type": "string",
       "description": "Lower (optional)"
      },
      "upper": {
       "type": "string",
       "description": "Upper (optional)"
      },
      "special": {
       "type": "string",
       "description": "Special (optional)"
      },
      "password": {
       "type": "string",
       "description": "Password (optional)"
      },
      "minLength": {
       "type": "string",
       "description": "MinLength (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-6498688c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
