URL Shortener

Format : https://google.com

API

Example PHP

$shortlink = file_get_contents('https://akjy.xyz/api.php?url=https://google.com/');

Example Javascript

$.getJSON('https://akjy.xyz/api.php?callback=?', {
  url: 'https://google.com/',
  format: 'json'
}, function(res) {
  if(res.status === true) {
    console.log(res.shorturl);
  }
});