API Documentation
- Public access: no authentication required (don't abuse it → IP based throttling applies ☠️)
- HTTPS enabled
- Maximum flexibility of parameters available
Requirements
General Form
All API requests come in the following form:
/api/v1/password/?<length>&<lower>&<upper>&<int>&<special>
Example
The following request:
https://www.psswrd.net/api/v1/password/?length=17&lower=1&upper=0&int=1&special=0
return:
{"password":"tag2qzv8ry0b4r1kn"}
- Parameters:
length
(password length) = 17lower
(include lowercase letters. 1 = yes, 0 = no) = 1upper
(include uppercase letters. 1 = yes, 0 = no) = 0int
(include numbers. 1 = yes, 0 = no) = 1special
(include special characters. 1 = yes, 0 = no) = 1
https://www.psswrd.net/api/v1/password/
with the following default values:
length
= 16lower
= 1upper
= 1int
= 1special
= 1
Formats
JSON
Password is returned in a JSON object.
Text is encoded as UTF8.
Example:
{"password":"avNMVi<o.d9m(QdJ"}