Sample API Usage

Sample Remote API Call


Unix shell script to shorten URLs with URL shortener.

chmod +x unu
sudo mv unu /usr/bin

Now you can simply use the following command unu to shorten URLs from the shell.

You can also use pipes redirection like echo | unu

Other Tools

Various Examples

unu in Python

unu in Node.js

Premium API Request

If you want to use our Premium API for your project without restriction, please join our Telegram Group @unu_api.

The bookmarklet

Add this to your bookmarks or drag it to your bookmarks bar to quickly access shortening functions.


This bookmarklet takes the page URL and title and opens a new tab, where you can fill out a CAPTCHA. If you have selected text before using the bookmarklet, that will be used as the keyword.

Support for bookmarklets on mobile varies. For example, they work on Chrome for Android but you have to add and sync them from your desktop.