Skip to content
A dynamic URL shortener
Branch: master
Clone or download
Latest commit 424e4a6 May 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Set CORS header for API May 13, 2019
resources Clean up README May 22, 2019
404.html Add favicon to 404 page May 12, 2019
CNAME Update CNAME Mar 31, 2019
LICENSE Create LICENSE May 11, 2019 Clean up README May 22, 2019
index.html Use CSS to add "" prefix to custom URL input May 13, 2019
removed.html Remove link from removal message. Dec 13, 2018

Link shortener



1pt is a URL shortening service that allows users to create dynamic URL forwarders. Users can generate smart links that point to different destinations based on factors like user agent or country. For example, a link like could point to the Play Store on all android devices, the App Store on all iPhones and iPads, and the app website on all desktop devices.


Endpoint Method GET
Parameter Requirement Description
url Required The long URL to shorten
custom Optional Request a custom short URL
desktop Optional Specific redirect for all desktop devices
apple Optional Specific redirect for all iOS devices
android Optional Specific redirect for all Android devices
mobile Optional Redirect for mobile users if the OS is undetermined or is something other than Apple/Android)

For example, a request to will return a random 4-letter string like an5n. In that case, is your short URL that redirects to If you request a custom short URL and it doesn't return that URL, it's already taken. So will return MyWebsite if it's available, and a random 4-letter string if it isn't.

This project is maintained by Param Thakkar
You can’t perform that action at this time.