URL Shortener

Full fledged REST API to shorten your urls on the fly. Track click-throughs and obtain geolocation data for each click.

Full fledged REST API to shorten urls on the fly and easily track trends in site registrations, returning visitors, social posts, resulting referral traffic and geolocation data about your users. With our high speed redirection your visitors will experience almost instant redirects.

In the example below you can see the last five clicks that our API has tracked for the shortened URL redirecting to the page that you are viewing now. To test the demo, simply click on the button below. This will open the shortened url, redirect you back to the current page and update the click-through data.

http://oal.lu/Dpkuo

Click-through data

{
   "response": {
      "request": {
         "date": "Thu, 27 Jun 2019 14:32:05 +0200",
         "resource": "/shorturls/Dpkuo.json?entries_per_page=5&order_direction=desc",
         "status": {
            "flag": "success",
            "code": 200,
            "info": "Your request has been processed successfully"
         }
      },
      "result": {
         "data": {
            "shorturl": {
               "shorturl_token": "Dpkuo",
               "original_url": "http://www.oneall.com/services/user-engagement-solutions/url-shortener/#product-demo-data",
               "short_url": "http://oal.lu/Dpkuo",
               "date_creation": "Thu, 21 Mar 2019 16:30:14 +0100",
               "date_last_referral": "Mon, 24 Jun 2019 01:08:42 +0200",
               "num_referrals": 50,
               "referrals": {
                  "pagination": {
                     "current_page": 1,
                     "total_pages": 10,
                     "entries_per_page": 5,
                     "total_entries": 50,
                     "order": {
                        "field": "date_creation",
                        "direction": "desc"
                     }
                  },
                  "count": 5,
                  "entries": [
                     {
                        "date_creation": "Mon, 24 Jun 2019 01:08:42 +0200",
                        "ip_address": "77.75.78.171",
                        "user_agent": "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)",
                        "country": {
                           "short": "Czech Republic",
                           "long": "Czech Republic",
                           "iso_alpha2": "CZ"
                        }
                     },
                     {
                        "date_creation": "Sun, 23 Jun 2019 16:21:15 +0200",
                        "ip_address": "216.244.66.233",
                        "user_agent": "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)",
                        "country": {
                           "short": "United States",
                           "long": "United States of America",
                           "iso_alpha2": "US"
                        }
                     },
                     {
                        "date_creation": "Thu, 20 Jun 2019 08:13:27 +0200",
                        "ip_address": "95.216.2.253",
                        "user_agent": "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)",
                        "country": {
                           "short": "Ukraine",
                           "long": "Ukraine",
                           "iso_alpha2": "UA"
                        }
                     },
                     {
                        "date_creation": "Wed, 19 Jun 2019 19:22:21 +0200",
                        "ip_address": "77.75.79.36",
                        "user_agent": "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)",
                        "country": {
                           "short": "Czech Republic",
                           "long": "Czech Republic",
                           "iso_alpha2": "CZ"
                        }
                     },
                     {
                        "date_creation": "Tue, 18 Jun 2019 15:38:23 +0200",
                        "ip_address": "35.239.58.193",
                        "user_agent": "ltx71 - (http://ltx71.com/)",
                        "country": {
                           "short": "United States",
                           "long": "United States of America",
                           "iso_alpha2": "US"
                        }
                     }
                  ]
               }
            }
         }
      }
   }
}