Craig's URL Shortener


General Info

We offer an API that allows applications to automatically create short URLs. This is done by simply reading the result returned from:
YOUR-API-KEY - your personal API Key, taken from profile page.
SOURCE-URL - URL that must be shortened. This is URL-encoded string (most programming languages have appropriate function for that, ex. PHP, Perl, Java, JavaScript, etc.)

Result is a JSON-encoded string.

Successful Shortening

If everything is OK, our API returns JSON-encoded string like that:

Failed Call

In case of any problems, the result will be like that:
  "message":"Invalid API Key!"

Enjoy using our API. :-)