Developer API

You can consume the shortening funcionality of twi.gy via a very simple developer API.

Usage

Simply POST an XML file to twi.gy/api/xml

XML structure should be something like this:

<?xml version="1.0" encoding="UTF-8"?>
<request>
<username>donnie</username>
<password>darko</password>
<long_url>http://www.google.com/</long_url>
</request>

and in the POST method, it should be reffered as xml .

Result will be returned as XML as well.

Limits

Currently API consume rate is limited at 10 per hour and a total of 50 per day, for successful shortenings.

If you would like to use it more frequently or have further questions, drop an email at api@twi.gy.