Check password strength and get feedback

Assess the strength of a password and provide recommendations on how to improve it. It returns a unique ID that can be used to track the analysis in subsequent calls.

Headers

Accept Example
Content-Type Example

Body

required
application/json
password string required
userInputs array required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/password-strength
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/password-strength" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "password": "string",
    "userInputs": [
      "string"
    ]
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "strength": {
      "score": 0,
      "level": "string",
      "color": "string",
      "crackTime": {
        "offline_slow_hashing": "string",
        "offline_fast_hashing": "string",
        "online_throttling": "string",
        "online_no_throttling": "string"
      },
      "feedback": {
        "warning": "string",
        "suggestions": {
          "en": [
            "string"
          ],
          "sv": [
            "string"
          ]
        }
      }
    }
  }
}
Request Body
{
  "password": "string",
  "userInputs": [
    "string"
  ]
}