About ln.usebox.net

This is a pet project by Juan J. Martínez to test the features of Mojolicious, so we're proud to say we're Perl powered.

Development it's fun, but maintenance it's not. Even so, we try to make this (beta) service work as flawlessly as possible. Enjoy!

You can fetch the public source code from our project at GitHub.

Terms of Use

ln.usebox.net is a free service to make dealing with long URLs easier, and using it for spam or illegal purposes is prohibited. We reserve the right to disable any URL that we suspect has infringed this simple condition.

This service is provided without warranty of any kind.

We don't like spam, so we use PhishTank to avoid it.

API

You can use ln.usebox.net from your own applications with this simple interface.

Make a GET request to this URL:

http://ln.usebox.net/api/?url=http%3a%2f%2fwww.example.dom%2f

The reply will be in JSON format, such as:

{
    "request": "http:\/\/www.example.dom\/",
    "result": "OK",
    "content": "http:\/\/ln.usebox.net\/code"
}

Result can be OK or ERROR. In case of error, check content for a descriptive message of the problem.

Notice that the API is limited to 50 calls per hour from the same IP.