Shrinkify API.

It's all just simple HTTP.

The Shrinkify API is implemented using standard HTTP requests and responses. This allows Shrinkify to be integrated with just about any application that can connect to the web.

This same API is what enables our free tools, like the Shrinkify extension for Firefox.

Programmatically Shrinkifying long URLs.

To programatically shrinkify a long URL, send a POST HTTP request to http://shrinkify.com/api with the following parameters:

  • long_url — The long URL you would like to shrinkify.

You can expect to receive in return a response containing a standard HTTP status code for each request, plus a plaintext message in the response body. Possible responses include:

  • 201 Created — Hurray! The long URL was successfully shrinkified and the ID is returned. Simply append this ID to our base URL and you're set!
  • 400 Bad Request — There was at least one error while trying to shrinkify your long URL and an error message is returned.

With great power comes great responsibility.

This is the paranoid part of this page that contains our best attempt at a plea to not be evil. We think the resulting good karma should be enough incentive for you to go forth and use this API judiciously to build fun tools that make life easier for the people who will use them.

If you find that you are unable to align your intentions with this appeal, we respectfully request that you exercise good web citizenship and move right along to greener pastures.

Questions about appropriate usage should be referred to our Terms of Service or can be directed to us by email at support@shrinkify.com.