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.
Click-through data
{ "response": { "request": { "date": "Mon, 31 Mar 2025 04:52:31 +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, 28 Mar 2025 15:50:15 +0100", "num_referrals": 1827, "referrals": { "pagination": { "current_page": 1, "total_pages": 366, "entries_per_page": 5, "total_entries": 1827, "order": { "field": "date_creation", "direction": "desc" } }, "count": 5, "entries": [ { "date_creation": "Fri, 28 Mar 2025 15:50:15 +0100", "ip_address": "66.249.66.16", "user_agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.165 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)", "country": { "short": "United States", "long": "United States of America", "iso_alpha2": "US" } }, { "date_creation": "Wed, 26 Mar 2025 06:23:43 +0100", "ip_address": "217.113.194.15", "user_agent": "Mozilla/5.0 (compatible; Barkrowler/0.9; +https://babbar.tech/crawler)", "country": { "short": "France", "long": "French Republic", "iso_alpha2": "FR" } }, { "page": "https://www.google.com/", "date_creation": "Wed, 26 Mar 2025 06:06:08 +0100", "ip_address": "45.91.202.174", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" }, { "page": "http://www.oneall.com/", "date_creation": "Tue, 25 Mar 2025 17:55:52 +0100", "ip_address": "39.144.153.34", "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 SP-engine/3.24.0 main/1.0 baiduboxapp/13.83.0.10 (Baidu; P2 18.0.1) NABar/1.0 themeUA=Theme/default", "country": { "short": "China", "long": "People's Republic of China", "iso_alpha2": "CN" } }, { "page": "http://www.oneall.com/", "date_creation": "Tue, 25 Mar 2025 17:55:47 +0100", "ip_address": "39.144.153.34", "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 SP-engine/3.24.0 main/1.0 baiduboxapp/13.83.0.10 (Baidu; P2 18.0.1) NABar/1.0 themeUA=Theme/default", "country": { "short": "China", "long": "People's Republic of China", "iso_alpha2": "CN" } } ] } } } } } }