
Password Strength Tester API
Security
Analyze your password security with AI. Get detailed feedback on strength and recommendations for improvement based on specific requirements.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
10 requests per minute
Endpoints
1 endpoint available
Overview
Send a password, what it is for and any rules it must follow. An AI model rates its strength (weak, medium, strong or very strong) for that use and explains why: length, character variety, common patterns, how well it meets the rules, and what to change. The feedback is plain text.
Notes
- The password is sent to a third-party AI model. Use this to test password ideas or policies, not passwords you actually use.
- We don't log or store the password.
- The rating is the model's opinion, not a computed entropy score, and can vary between calls.
- Limits: password up to 256 characters,
passwordUseup to 500,restrictionsup to 2,000. - This is an AI endpoint: 10 requests per minute and 200 per day per API key.
Endpoints
POST
https://opentools.ca/api/v1/tools/password-strength-testerGet AI feedback on a password's strength for its intended use
Request Body
Content-Type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| password | string | Required | The password to check. 1-256 characters. |
| passwordUse | string | Optional | What the password is for, e.g. "Online banking" or "Newsletter account".Default: General use |
| restrictions | string | Optional | Rules the password must meet, e.g. "8-16 characters, no spaces". |
Response Example
{
"success": true,
"analysis": "Overall strength: medium.\n\nLength: 13 characters is fine for most accounts but on the short side for banking.\n\nCharacter variety: it mixes upper and lower case, numbers and a symbol.\n\nPatterns: \"P@ssw0rd\" is a common word with predictable substitutions, so it is among the first things attackers try.\n\nRecommendations: use a passphrase of four or more unrelated words, or a random 16+ character password from a password manager.\n\nRestrictions: meets the 8-16 character rule."
}Error Codes
400
Invalid JSON or invalid parameters (see details)401
Missing or invalid API key403
API key inactive or expired, or request IP not allowed429
Rate limit exceeded (10 per minute or 200 per day)500
Internal server error or AI model failureCode Examples
curl -X POST https://opentools.ca/api/v1/tools/password-strength-tester \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"password": "MyP@ssw0rd123",
"passwordUse": "Online banking",
"restrictions": "8-16 characters"
}'Rather use it in your browser? Open the Password Strength Tester