PassWise

The PassWise API allows you to generate secure passwords based on provided text and check the strength of passwords.

Base URL

"https://openapi-idk8.onrender.com"

Endpoints

GET /password/generate
GET /password/check

Query Parameters

  • text: The base text to generate passwords from. This parameter is required.
  • count: The number of passwords to generate. Defaults to 6 if not provided. This is optional.

Sample Request

GET "https://openapi-idk8.onrender.com/password/generate?text=mysecurepassword"

Sample Response

{
  "api_name": "Password Generator API",
  "description": "Generates secure passwords based on provided text.",
  "author": "OpenAPI",
  "status": "success",
  "text_used": "mysecurepassword",
  "passwords": [
    "mysecurepassworduZVQy@#*dJrFLPw",
    "mysecurepasswordKt23@#*IgmFSnB",
    ...
  ]
}

Error Handling

If there is an error, the API responds with an appropriate error message and status code.

GET /password/check

Checks the strength of a given password.

Query Parameters

  • password: The password to check its strength. This parameter is required.
  • generated_password: Optional parameter to specify if the password was generated by the API.

Sample Request

GET "https://openapi-idk8.onrender.com/password/check?password=mysecurepassword"

Sample Response

{
  "api_name": "Password Strength Checker API",
  "description": "Checks the strength of a given password.",
  "author": "OpenAPI",
  "status": "success",
  "password_checked": "mysecurepassword",
  "result": {
    "lengthCriteria": true,
    "uppercaseCount": 2,
    "lowercaseCount": 13,
    "numberCount": 0,
    "symbolCount": 3,
    "spaceCount": 0,
    "strength": "🙂 Better"
  }
}

Error Handling

If there is an error or the required parameters are missing, the API responds with an appropriate error message and status code.