Monthly Archives: April 2007

Php code to retrieve your alexa rank

Standard

Before some time I was looking for a script that can grab any domain’s alexa ranking. This task looks easy so I guess there should be a free code snippet somewhere that deals with it. Well the funny thing is that it is not so easy to grab your rank programatically so I guess that is the reason that people sell such scripts for $10 – $30.

So as I don’t like paying for stuff like that I wrote a simple function that grabs any domain’s alexa rank and return it so you can use it in your apps. You can get the snippet from here :

http://www.webdigity.com/?action=tutorial;code=49

It requires to be member of webdigity (free) but I guess it is better than paying for it. Right? 🙂