Url Shortener – World Short Url Service
Url Shortener
1ly.us world short url service is a free URL forwarding service ( URL redirection) allowing anyone to take any existing URL and shorten it. Just type/paste a URL in the box above to shorten it and the short URL will forward to the long one, and it never expires — lasts forever.
Our API allows you to provide short url functionality to any of your existing websites.
Url shortener Only
To generate a url via the API, send a POST or GET request to the site in the following format:
- 1ly.us/index.php?api=1&return_url_text=…………
This site will then generate the short url and return it as plain text. i.e:
- 1ly.us/a1
Generate & Redirect
If you remove the return_url_text param the user will be redirected to the results page on this site instead of just the url text being returned.
Extra Params:
You can also set extra information on each short url, the supported params are:
customUrl => Custom short url.
shortUrlPassword => Password to access the url.
shortUrlExpiryDate => Expiry date in the formay DD-MM-YYYY HH:II:SS.
shortUrlUses => Total permitted uses before expiring.
postToTwitter => Set to 1 to auto redirect to Twitter.
NOTE: Any url requests via the API are subject to our normal spam protection measures and hence there may be limits to the amount of short urls that can be generated in any period.
Url Shortener
