URL Shortener

Please let us know if you are doing anything interesting with the API...

Usage

You need to send parameters to http://B54.in/api/ either via GET or POST. These parameters are:


Sample return for action = "shorturl"

eg http://B54.in/api/?action=shorturl&url=http://www.google.com&keyword=google&format=xml
<result>
     <
url>
          <id>google</id>
          <keyword>shorter</keyword>
          <url>http://www.google.com/</url>
          <date>2009-06-23 18:08:07</date>
          <ip>127.0.0.1</ip>
     </url>
     <status>success</status>
     <message>http://www.google.com/ (ID: shorter) added to database</message>
     <shorturl>http://B54.in/google</shorturl>
</result
Use of the B54.in API, as with the rest of the B54.in service, is provided "as is" at your own risk with no warranties implied. We make no guarantees as to the availability of the service at any time.
Sponsored links:
Sponsored links: