API:

Use our fast and simple API if you want to add the URL shortener to your site or just to access it with your application. How? Submit your request via HTTP GET like this:

Shortening: http://chilp.it/api.php?url=http://www.example.com
Replace the parameter "http://www.example.com" with the URL you want to be shortened.

What next? You will receive the answer in plain text and it'll look like this:
http://chilp.it/847310

We do not check the parameter you enter for validity so pretty much everything you feed our API with will be shortened. If you submit a valid URL it'll work in the end. ;-)

In case you don't deliver anything at all we will respond with the "Well, no URL was entered. There's nothing to do!" error. If the URL is blocked we'll respond with "410 - Krch! Domain is blacklisted!".

Blocked: http://chilp.it/api.php?url=http://chilp.it

Preview: http://p.chilp.it/api.php?847310
Replace the parameter "847310" with the shortened one you want to get the preview for.

What next? You will receive the answer in plain text and it'll look like this:
http://www.example.com

Statistics: http://s.chilp.it/api.php?847310
Replace the parameter "847310" with the shortened one you want to get the click statistics for.

What next? You will receive the answer in plain text and it'll look like this:
25

If you don't receive anything at all the submitted parameter is not in the database.

That's it. Have fun!