Shorten a long URL at SirBz

The SirBz URL Shortener API allows you to shorten URLs just as you would on sir.bz. For example, to shorten the URL http://www.viciqloud.com/, send the following request:

POST http://www.sirbz.com/api/shorten_url
Content-Type: application/json
{"url": "http://www.viciqloud.com/"}

For instance, you could issue the following curl command:

curl https://www.sirbz.com/api/shorten_url \
  -H 'Content-Type: application/json' \
  -d '{"url": "http://www.viciqloud.com/"}'

or, the following nodejs command using the request npm library:

 request.post( 'http://sirbz.com/api/shorten_url/', 
                            { form: { url: url } }, 
                             function (error, response, body) { 
                               console.log(body)
                             });

If successful, the response will look like:

http://sir.bz/hbD9k

Request Limits

By default, you get 250 requests per 15 min for the SirBz URL Shortener API.