just paste or type in the URL(s) you want to compress
(you can zip multiple URLs, simply separate them with spaces!)
API does not stand for "A Piggy Interval" it stands for Application Programming Interface. This means that you can directly interact with ZipMyURL in your own applications using one of two methods: Web Services or Pre-built libraries.
I have created both PHP and Java Libraries that do all the hard work for you, simply download, include and off you go! however for those of you who enjoy Web Services (RESTful) in this case, then you can also build your own code.
So, Lets get started shall we?

Download Libraries
Available in PHP & Java libraries. The ZipMyURL API is incredibly light-weight and easy to use. For those of you who may be worried about security, the API communicates over SSL when you are authenticating (if you have an account and you want to use it that is!). All responses are via JSON as well, so it's nice and easy to parse.
View the QuickStart Guides
required arguments:
- api (required for API use)
- url (URL's you want to compress, separated by spaces)
optional arguements:
- password (add a password to the zipped URL)
- customId (create your own custom URL like http://zipmyurl.com/doobix)
- private (make the URL private)
- random (if you zipped multiple URL's, let the server pick a random URL to jump to)
- user (if you have an account, add your username)
- pass (if you have an account, add your password)
Zip a single URL
http://zipmyurl.com/api.do?api=true&url=http://www.amazon.com
Zip two URL's
http://zipmyurl.com/api.do?api=true&url=http://www.amazon.com+http://www.amazon.co.uk
Zip with a password 'mypass'
http://zipmyurl.com/api.do?api=true&url=http://www.amazon.com&password=mypass
Zip with two tags 'shopping' & 'books'
http://zipmyurl.com/api.do?api=true&url=http://www.amazon.com&tags=shopping+books
Zip with a password, a tag and added to an account (over SSL)
https://zipmyurl.com/api.do?api=true&url=http://www.amazon.com&tags=shopping&password=somepass&user=me@somedomain.com&pass=mypassword
ID of 'Lj1Za' returned (http://zipmyurl.com/Lj1Za)
{"zipURL": "Lj1Za", "originalSize":"45", "zippedSize":"25", "error":"false"}
Error due to bad URL
{"error":"true","message":"you didn't enter any URL's? are you drunk!"}



