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": "Thu, 23 Jan 2025 08:11:24 +0100", "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": "Tue, 21 Jan 2025 20:52:58 +0100", "num_referrals": 1765, "referrals": { "pagination": { "current_page": 1, "total_pages": 353, "entries_per_page": 5, "total_entries": 1765, "order": { "field": "date_creation", "direction": "desc" } }, "count": 5, "entries": [ { "date_creation": "Tue, 21 Jan 2025 20:52:59 +0100", "ip_address": "66.249.70.7", "user_agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.6834.83 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" } }, { "page": "http://oal.lu/Dpkuo", "date_creation": "Fri, 17 Jan 2025 22:53:17 +0100", "ip_address": "47.79.121.51", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43", "country": { "short": "Canada", "long": "Canada", "iso_alpha2": "CA" } }, { "page": "http://www.oneall.com/services/user-engagement-solutions/url-shortener/", "date_creation": "Thu, 16 Jan 2025 21:57:44 +0100", "ip_address": "44.221.204.6", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 (+https://www.loc.gov/programs/web-archiving/for-site-owners/)", "country": { "short": "United States", "long": "United States of America", "iso_alpha2": "US" } }, { "date_creation": "Thu, 16 Jan 2025 18:08:09 +0100", "ip_address": "85.208.96.203", "user_agent": "Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)", "country": { "short": "Saudi Arabia", "long": "Kingdom of Saudi Arabia", "iso_alpha2": "SA" } }, { "date_creation": "Thu, 09 Jan 2025 18:17:17 +0100", "ip_address": "66.249.76.237", "user_agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.204 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" } } ] } } } } } }