Free Un-Shorten API

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.

Rate Limit

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.

Example

Simple Response

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


Raw Response

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/IGL1lE
          
The different parameters are :
resolved_url : The resolved long URL (empty on failure)
success : To indicate if the operation was successful or not
usage_count : The usage count for the current IP. If the count exceeds 10 in an hour, then an error will be returned.
requested_url : The original short URL
error : Error message


XML Response

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.


JSON Response

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.