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": "Fri, 10 Jul 2026 19:44:41 +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": "Fri, 10 Jul 2026 16:17:08 +0200",
               "num_referrals": 2689,
               "referrals": {
                  "pagination": {
                     "current_page": 1,
                     "total_pages": 538,
                     "entries_per_page": 5,
                     "total_entries": 2689,
                     "order": {
                        "field": "date_creation",
                        "direction": "desc"
                     }
                  },
                  "count": 5,
                  "entries": [
                     {
                        "page": "http://oal.lu/",
                        "date_creation": "Fri, 10 Jul 2026 16:17:08 +0200",
                        "ip_address": "54.37.84.39",
                        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
                        "country": {
                           "short": "United States",
                           "long": "United States of America",
                           "iso_alpha2": "US"
                        }
                     },
                     {
                        "date_creation": "Fri, 10 Jul 2026 07:41:08 +0200",
                        "ip_address": "100.23.173.218",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.861.0 Safari/535.2",
                        "country": {
                           "short": "United States",
                           "long": "United States of America",
                           "iso_alpha2": "US"
                        }
                     },
                     {
                        "date_creation": "Thu, 09 Jul 2026 22:55:38 +0200",
                        "ip_address": "123.6.49.47",
                        "user_agent": "Mozilla/5.0 (Linux; Android 10; HUAWEI P30 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36",
                        "country": {
                           "short": "China",
                           "long": "People's Republic of China",
                           "iso_alpha2": "CN"
                        }
                     },
                     {
                        "date_creation": "Thu, 09 Jul 2026 16:23:36 +0200",
                        "ip_address": "99.249.103.13",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 15_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.116 Safari/537.36",
                        "country": {
                           "short": "Canada",
                           "long": "Canada",
                           "iso_alpha2": "CA"
                        }
                     },
                     {
                        "date_creation": "Thu, 09 Jul 2026 10:41:16 +0200",
                        "ip_address": "220.196.160.16",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Safari/605.1.15",
                        "country": {
                           "short": "China",
                           "long": "People's Republic of China",
                           "iso_alpha2": "CN"
                        }
                     }
                  ]
               }
            }
         }
      }
   }
}