Unshorten.me API provides an easy method to unshorten a wide range of shortened URLs. You can get the response in XML, JSON or simple RAW format.
The API is limited to 10 requests per hour for new short URLs. If the URL is already shortened by our service, then the result is stored in the database and the API request is unlimited for those URLs.If you need to send more requests, please contact us at contact @ unshorten.me.
URL : https://unshorten.me/s/{short_url}
Replace the {short_url} with your short URL. The response will be the long url
if the operation is successful. Else, it returns the error message. This
is useful for using the un-shortener from command line. For example,
curl https://unshorten.me/s/goo.gl/IGL1lE
returns
https://unshorten.me
URL : https://unshorten.me/raw/{short_url}
Replace the {short_url} with your short URL. The response will
contain if the operation is successful or not. The response will also contain
the original request URL, the un-shortened URL, and the error message
if applicable
For example,
curl https://unshorten.me/raw/goo.gl/IGL1lE
returns
resolved_url : https://unshorten.me/ success : True usage_count : 5 requested_url : goo.gl/IGL1lEThe different parameters are :
URL : https://unshorten.me/xml/{short_url}
Replace the {short_url} with your short URL.
For example,
curl https://unshorten.me/xml/goo.gl/IGL1lE
returns
<?xml version="1.0" ?> <result> <resolved_url>https://unshorten.me/</resolved_url> <success>True</success> <usage_count>0</usage_count> <requested_url>goo.gl/IGL1lE</requested_url> </result>The parameters are same as the RAW format.
URL : https://unshorten.me/json/{short_url}
Replace the {short_url} with your short URL.
For example,
curl https://unshorten.me/json/goo.gl/IGL1lE
returns
{ "resolved_url": "https://unshorten.me/", "success": true, "usage_count": 0, "requested_url": "goo.gl/IGL1lE" }The parameters are same as the RAW format.