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": "Tue, 23 Dec 2025 07:48:29 +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": "Fri, 19 Dec 2025 18:43:46 +0100",
"num_referrals": 2099,
"referrals": {
"pagination": {
"current_page": 1,
"total_pages": 420,
"entries_per_page": 5,
"total_entries": 2099,
"order": {
"field": "date_creation",
"direction": "desc"
}
},
"count": 5,
"entries": [
{
"date_creation": "Fri, 19 Dec 2025 18:43:46 +0100",
"ip_address": "43.164.197.224",
"user_agent": "Mozilla/5.0 (compatible; Thinkbot/0.5.8; +In_the_test_phase,_if_the_Thinkbot_brings_you_trouble,_please_block_its_IP_address._Thank_you.)",
"country": {
"short": "Japan",
"long": "Japan",
"iso_alpha2": "JP"
}
},
{
"date_creation": "Thu, 18 Dec 2025 13:39:34 +0100",
"ip_address": "213.180.203.21",
"user_agent": "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)",
"country": {
"short": "Russia",
"long": "Russian Federation",
"iso_alpha2": "RU"
}
},
{
"date_creation": "Thu, 18 Dec 2025 05:27:33 +0100",
"ip_address": "136.243.228.17",
"user_agent": "Mozilla/5.0 (compatible; DataForSeoBot/1.0; +https://dataforseo.com/dataforseo-bot)",
"country": {
"short": "Germany",
"long": "Federal Republic of Germany",
"iso_alpha2": "DE"
}
},
{
"page": "http://www.oneall.com/services/user-engagement-solutions/url-shortener/",
"date_creation": "Thu, 18 Dec 2025 02:17:45 +0100",
"ip_address": "140.235.3.192",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.4424.156 Safari/537.36",
"country": {
"short": "United States",
"long": "United States of America",
"iso_alpha2": "US"
}
},
{
"date_creation": "Thu, 18 Dec 2025 01:37:35 +0100",
"ip_address": "82.181.231.99",
"user_agent": "yacybot (/global; amd64 Linux 6.17.8-300.fc43.x86_64; java 24.0.2; Etc/en) https://yacy.net/bot.html",
"country": {
"short": "Finland",
"long": "Republic of Finland",
"iso_alpha2": "FI"
}
}
]
}
}
}
}
}
}