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.

Interested? Discover how to use our JSON/REST API to shorten URLs on the fly.

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": "Mon, 17 May 2021 18:26:55 +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, 17 May 2021 11:48:59 +0200",
               "num_referrals": 735,
               "referrals": {
                  "pagination": {
                     "current_page": 1,
                     "total_pages": 147,
                     "entries_per_page": 5,
                     "total_entries": 735,
                     "order": {
                        "field": "date_creation",
                        "direction": "desc"
                     }
                  },
                  "count": 5,
                  "entries": [
                     {
                        "page": "http://www.oneall.com/services/user-engagement-solutions/url-shortener/",
                        "date_creation": "Mon, 17 May 2021 11:48:59 +0200",
                        "ip_address": "95.211.190.199",
                        "country": {
                           "short": "Netherlands",
                           "long": "Kingdom of the Netherlands",
                           "iso_alpha2": "NL"
                        }
                     },
                     {
                        "date_creation": "Thu, 13 May 2021 23:53:59 +0200",
                        "ip_address": "5.173.11.63",
                        "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Mobile/15E148 Safari/604.1",
                        "country": {
                           "short": "Poland",
                           "long": "Republic of Poland",
                           "iso_alpha2": "PL"
                        }
                     },
                     {
                        "date_creation": "Tue, 11 May 2021 06:13:26 +0200",
                        "ip_address": "5.173.8.190",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0",
                        "country": {
                           "short": "Poland",
                           "long": "Republic of Poland",
                           "iso_alpha2": "PL"
                        }
                     },
                     {
                        "date_creation": "Mon, 10 May 2021 16:03:09 +0200",
                        "ip_address": "185.191.171.26",
                        "user_agent": "Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)"
                     },
                     {
                        "date_creation": "Mon, 10 May 2021 15:02:29 +0200",
                        "ip_address": "5.173.177.246",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0",
                        "country": {
                           "short": "Poland",
                           "long": "Republic of Poland",
                           "iso_alpha2": "PL"
                        }
                     }
                  ]
               }
            }
         }
      }
   }
}