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": "Tue, 16 Jun 2026 14:19:40 +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, 15 Jun 2026 18:07:16 +0200",
               "num_referrals": 2595,
               "referrals": {
                  "pagination": {
                     "current_page": 1,
                     "total_pages": 519,
                     "entries_per_page": 5,
                     "total_entries": 2595,
                     "order": {
                        "field": "date_creation",
                        "direction": "desc"
                     }
                  },
                  "count": 5,
                  "entries": [
                     {
                        "date_creation": "Mon, 15 Jun 2026 18:07:16 +0200",
                        "ip_address": "190.40.228.184",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15",
                        "country": {
                           "short": "Peru",
                           "long": "Republic of Peru",
                           "iso_alpha2": "PE"
                        }
                     },
                     {
                        "date_creation": "Mon, 15 Jun 2026 15:56:36 +0200",
                        "ip_address": "103.171.210.17",
                        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Firefox/115.0"
                     },
                     {
                        "page": "http://oal.lu/",
                        "date_creation": "Mon, 15 Jun 2026 14:52:36 +0200",
                        "ip_address": "51.83.6.42",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36; Manus-User/1.0",
                        "country": {
                           "short": "United Kingdom",
                           "long": "United Kingdom of Great Britain and Nothern Ireland",
                           "iso_alpha2": "UK"
                        }
                     },
                     {
                        "page": "http://oal.lu/",
                        "date_creation": "Mon, 15 Jun 2026 14:41:26 +0200",
                        "ip_address": "51.83.6.42",
                        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
                        "country": {
                           "short": "United Kingdom",
                           "long": "United Kingdom of Great Britain and Nothern Ireland",
                           "iso_alpha2": "UK"
                        }
                     },
                     {
                        "page": "http://oal.lu/",
                        "date_creation": "Sun, 14 Jun 2026 17:28:11 +0200",
                        "ip_address": "182.87.197.84",
                        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
                        "country": {
                           "short": "China",
                           "long": "People's Republic of China",
                           "iso_alpha2": "CN"
                        }
                     }
                  ]
               }
            }
         }
      }
   }
}