apyhub
DATA VALIDATION · SECURITY & PRIVACY

Check Password Strength API

What it does

Password Strength Checker scores a password based on length, complexity, and common-password checks. Send a password string in the query, and get back a structured assessment with score, max, level, and a checks object that flags individual rules as pass or fail.

Use it when you need to evaluate passwords at signup, during password resets, or in admin tools that enforce account security policies. The level field returns one of very_weak, weak, fair, strong, or very_strong, so you can map the result directly into UI messages or acceptance logic. score and max give you a simple numeric grade, while checks lets you inspect which validation rules passed.

Password Strength Checker is a fit for login flows, customer onboarding, and internal security audits where you need a quick client-side or server-side password quality check without building your own scoring logic.

GET
Score a password on length, complexity, and common-password checks
http://localhost:8080/dosvak/password-strength
QUICKSTARTGUIDE

Quickstart

Check a password’s strength by sending the required password as a query parameter.

curl -X GET "http://localhost:8080/dosvak/password-strength?password=MySecureP@ssw0rd123" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with these top-level fields: max as an integer, level as one of very_weak, weak, fair, strong, or very_strong, score as an integer, and checks as an object whose properties are booleans.

{
  "max": 0,
  "level": "strong",
  "score": 0,
  "checks": {
    "length": true
  }
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.

About this endpoint

What it does

Scores a password based on its length, complexity, and common-password checks. It takes a password query parameter and returns a JSON object with the score details.

Query Parameter(s)

AttributeTypeMandatoryDescription
passwordStringYesThe password to evaluate.

Response

Returns a JSON object with four top-level fields: max as an integer, level as a string enum, score as an integer, and checks as an object whose properties are booleans. The level field can be one of very_weak, weak, fair, strong, or very_strong.

ParameterTypeMandatoryDescription
maxIntegerNoMaximum score value returned by the service.
levelENUMNoPassword strength level. Allowed values: very_weak, weak, fair, strong, very_strong.
scoreIntegerNoScore assigned to the password.
checksObjectNoObject containing boolean check results. Each property name maps to a boolean value.

Query parameters

Name
Type
Description
passwordREQUIRED
string
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.