Free API URL

https://u.nu/api.php

Samplest API Usage

https://u.nu/https://example.com/

Sample API Usage

https://u.nu/api.php?action=shorturl&format=simple&url=https://example.com/&keyword=example

Sample Remote API Call

unu-api-sample.php

Unix shell script to shorten URLs with u.nu URL shortener.


wget https://u.nu/unu
chmod +x unu
sudo mv unu /usr/bin

Now you can simply use the following command unu https://example.com/ to shorten URLs from the shell.

You can also use pipes redirection like echo https://example.com/ | unu

Other Tools

Various Examples
unu in Python

Premium API Request

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