We currently offer an Application Programming Interface (API) for your use.
Our API is free to use and requires no authentication and will simply unshorten a short URL.
The use of our API is subject to your compliance with our Terms & Conditions of Use
Basic API - Instructions for use:
Our API is accessed via simple HTTP GET requests.
Send your HTTP GET request to our API service, along with your short url and we will instantly supply you with the extracted long URL. Your GET request needs to include 'url=' for us to be able to process your request.
Supplying:
http://api.unfwd4.me/?url=http://tinyurl.com/yld9jhx
Will return:
http://jewellery-watches.shop.ebay.co.uk/Alexandrite-/10190/i.html?_catref=1
If for any reason we are unable to unshorten your URL, you will be presented with the following result:
ERROR:x
Where 'x' will be a number relating to the error code in question. Rather than supplying error messages, our API supplies error numbers instead. This is to allow you to customize your own error messages based on our error number for better integration in to your own web site or application.
Error numbers from our Basic API can be translated as:
ERROR:1 - An invalid short URL was supplied. Ensure your short URL starts with either http:// or https:// and ensure that your short url doesn't contain any foreign characters.
ERROR:2 - Unable to unshorten your URL. Check you actually supplied a short URL and try again.
The use of our API is subject to your compliance with our Terms & Conditions of Use
If you have any questions or comments regarding our API, please
get in touch.