Developer Console
← Home🔑 API Key Loading...
••••••••••••••••••••••••••••••••
0 used
50 limit
🚀 Add Links
Packs stack (e.g., 50 + 219 = 269 limit).
+219 Links
₹199
+450 Links
₹399
+700 Links
₹599
Custom
>701 Links
📚 Implementation Guide
Step 1: Generate your API Key above.
Step 2: Send a POST request to https://jachu.xyz/api/create.
Step 3: Include X-API-Key in headers and { "url": "..." } in body.
JavaScript (Fetch)
cURL
Python
const shorten = async (longUrl) => {
const res = await fetch('https://jachu.xyz/api/create', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
body: JSON.stringify({
url: longUrl,
slug: 'my-alias' // Optional custom alias
})
});
const data = await res.json();
if (data.status === 'success') {
console.log('Short Link:', data.short_url);
} else {
console.error('Error:', data.message);
}
};
🤖 API Generated Links
| Alias | URL | Date | Action |
|---|---|---|---|
| Loading... | |||