Welcome to Strongify API
Unlock the power of strong, random password generation directly within your applications. Our API is designed for simplicity, security, and seamless integration.
This documentation provides all the necessary details to get you started, from understanding the API endpoint to handling responses effectively.
API Endpoint
The primary endpoint for generating passwords is:
GET/POST https://strongify.softmaji.in/api.php
Authentication
Currently, the Strongify API is open and does not require authentication. You can make requests directly to the endpoint.
Future Enhancement: API key authentication may be introduced in the future to ensure fair usage and provide enhanced security. We will announce any such changes well in advance.
Request Parameters
Parameters can be sent as GET query strings or POST form data. All parameters are optional and have default values.
-
length(integer)- Description: The desired length of the password.
- Default:
16 - Min:
8 - Max:
128
-
uppercase(boolean:true/falseor1/0)- Description: Include uppercase letters (A-Z).
- Default:
true
-
lowercase(boolean:true/falseor1/0)- Description: Include lowercase letters (a-z).
- Default:
true
-
numbers(boolean:true/falseor1/0)- Description: Include numbers (0-9).
- Default:
true
-
symbols(boolean:true/falseor1/0)- Description: Include symbols (e.g., !@#$%^&*).
- Default:
true
Important: At least one character type (uppercase, lowercase, numbers, or symbols) must be effectively set to true for password generation.
Example Request
Here's how you can request a 20-character password including uppercase letters, lowercase letters, and numbers, but excluding symbols, using curl:
curl "https://strongify.softmaji.in/api.php?length=20&uppercase=true&lowercase=true&numbers=true&symbols=false"
Or directly as a URL:
https://strongify.softmaji.in/api.php?length=20&uppercase=true&lowercase=true&numbers=true&symbols=false
Example Success Response (JSON)
A successful request will return a JSON object similar to this:
{
"success": true,
"password": "aG3tR8kLpXvBnM2jQwC7",
"length": 20,
"parameters": {
"requested_length": 20,
"uppercase": true,
"lowercase": true,
"numbers": true,
"symbols": false
}
}
The password field contains your generated strong password. The parameters object reflects the settings used for generation.
Example Error Response (JSON)
If an error occurs, such as no character types being selected, the API will return a JSON error object:
{
"success": false,
"error": "At least one character type (uppercase, lowercase, numbers, symbols) must be selected."
}
Always check the success field in the response. If false, the error field will provide details.
Rate Limiting
Currently, there are no hard rate limits enforced on the API. However, we kindly request that you use the API responsibly to ensure fair access for all users.
Excessive or abusive traffic may lead to temporary IP blocking. Rate limiting might be introduced in the future if necessary.
Contact & Support
If you have any questions, encounter issues, or require assistance with integrating the Strongify API, please do not hesitate to reach out to us.
You can contact our support team at: hello@softmaji.in