Free API URL
https://u.nu/api.php
Sample API Usage
https://u.nu/api.php?action=shorturl&format=simple&url=https://example.com/&keyword=example
Sample Remote API Call
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 Examplesunu 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.