This API automate the creation of password letting you select parameters that match with your security policy (password length, special characters to include, etc.)
The base URL of the API is:
https://api.securepassword.xyz/create
The parameters of the password creation must be set in the URL.
In this example, we ask for the creation of one password (quantity=1) with 12 characters (password_length=12) composed of lowercase characters (include_lowercase)..
https://api.securepassword.xyz/create/?include_lowercase&password_length=12&quantity=1
Parameter name | Function | Accepted values | Values returned |
---|---|---|---|
include_digits | Include digits | 0 1 2 3 4 5 6 7 8 9 | |
include_lowercase | Include lowercase characters | a b c d e f g h i j k l m n o p q r s t u v w x y z | |
include_uppercase | Include uppercase characters | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | |
include_special_characters | Include special characters | ~ ! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . < > / ? € £ µ | |
add_custom_characters | Include any character you want | Any character | The characters of your choice |
exclude_similar_characters | Exclude similar characters: 0 o O 1 l I |
||
password_length | Number of characters to include | Between 4 and 512 | |
quantity | Number of characters to create | Between 1 and 30 |
The API returns a response in JSON format secured with HTTPS protocol.
Example:
{
"passwords":[
"Wh5mGRqmMB83z85",
"EdZ9n7X9d4PR7tt",
"UGV587F5rs7Rhsj"
],
"response_date_time":"2018-11-30T12:42:29+01:00",
"api_version":"1.2.1",
"api_last_update_date":"2018-12-21"
}
The property "passwords" is an array that returns the list of the passwords that were randomly created.
The property "response_date_time" returns the response date in ISO 8601 format.
API developer: Jean-Baptiste Marie