Generate QR codes dynamically from any text or URL. Returns a Base64 encoded PNG image that can be directly displayed in any web or mobile application without needing to save the image to a server.
POSThttps://sh4lu-z-api.vercel.app/api/QR
Request Body (JSON)
Param
Type
Required
Description
text
String
Yes
The text or link you want to encode into a QR code (e.g., "https://sh4lu-z.vercel.app").
Response Fields
Field
Type
Description
qrCodeUrl
String
A Base64 encoded data URL of the generated QR image.
Since the API returns a Base64 data URL, you do not need to download the image. You can directly set this string as the src attribute of an HTML <img> tag.
// 1. Create an image tag in your HTML:
//
// 2. Fetch data from the API and display it:
async function getQR() {
const response = await fetch('https://sh4lu-z-api.vercel.app/api/QR', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ text: "https://sh4lu-z.vercel.app" })
});
const data = await response.json();
if (data.qrCodeUrl) {
// Inject the Base64 string directly into the image source
document.getElementById('myQrImage').src = data.qrCodeUrl;
}
}
1. Password Strength Checker API
Analyze password security using the zxcvbn algorithm. It calculates the strength score and estimates the time required to crack the password against modern supercomputers.
Strength score from 0 (very weak) to 4 (very strong).
strength_level
String
Human-readable strength (Weak, Medium, Strong, Very Strong).
crack_time_raw
String
Estimated time to crack (e.g., "centuries", "10 days").
crack_time_description
String
Detailed explanation of security against supercomputers.
color_code
String
Hex color code representing the security level (Red to Green).
warning
String
Specific security warnings if the password is unsafe.
Success Response Example
{
"score": 4,
"strength_level": "Very Strong",
"color_code": "#33cc33",
"crack_time_raw": "centuries",
"crack_time_description": "Even with a supercomputer testing 10 billion passwords per second...",
"warning": "Perfectly secure!"
}
2. Secure Password Generator API
Generate high-entropy, military-grade random passwords using Node.js crypto module. These passwords include a mix of uppercase, lowercase, numbers, and symbols with no repeating characters.
This API is Stateless. We do not store, log, or cache any generated passwords or check requests. Data exists only in memory for the duration of the request.