BIM! 

Minimize and share your URL faster with this button!
Drag & drop the button to your Firefox/Chrome toolbar!
Signup | Login

Tools and API


Tools


Become a member!

If you become a free member, you can know stats about the URLs you have shortened!


Use our button in the toolbar of your browser!

Drag and drop the link to your toolbar (Firefox or Chrome) or add it in your bookmarks (Internet Explorer):  BIM! 


API


The API is the list of functions which allows to use Bim.im shortener in external applications you develop.


To call a function, you have to call the following address:

http://bim.im/api.php?f=[function]

The [functions] (and their parameters) are described in the following list.
To call an API function, you have to get an member account and replace [login] by your login and [password] by your password.


getshorturl

The function getshorturl allows you to get the short URL of a long URL. The parameter is the long URL and it returns the short URL generated (for example : "http://bim.im/9a2").
The long URL should be encoded. The URL shortened will be added to the member stats page.
The last parameter (hidden) is optional. If hidden is at true, the short URL will not be present in the Last URLs list.

http://bim.im/api.php?f=getshorturl&url=[longurl]&user=[login]&password=[password]&hidden=true

getlongurl

The function getlongurl allows you to get the long URL from a key. The parameter is the short key (for exemple: "9a2") and it displays the long URL corresponding (for example : "http://www.example.com").
The long URL returned is not encoded.

http://bim.im/api.php?f=getlongurl&key=[shortkey]&user=[login]&password=[password]

geturlmember

The function geturlmemberlist allows you to get the list of URLs that a member shortened.
The result is an XML export.

http://bim.im/api.php?f=geturlmemberlist&user=[login]&password=[password]

geturlvisits

The function geturlvisits allows you to get number of total visits for an URL. The parameter is the short key (for exemple: "9a2") and it returns the number of visits corresponding.

http://bim.im/api.php?f=geturlvisits&key=[shortkey]&user=[login]&password=[password]

Don't hesitate to submit ideas or bugs to the developer.