Webdigity - Thoughts on SEO and Web development

Php code to retrieve your alexa rank

Posted by webdigity on April 17, 2007

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? :)

5 Responses to “Php code to retrieve your alexa rank”

  1. Desktopjunk Says:

    Thanks, always good posts on your blog!

  2. Yohan Says:

    Great snippet. Thanks :)

  3. Subikar Says:

    Great Snippet Nick I like it thanks for sharing with us. Please mail me your mail id I need to ask some query if you don’t mind.

    Thanks,
    Subikar (Php Developer)

  4. webdigity Says:

    Thanks for your good words :)

    Subikar : You can mail me by using my address (check the top right bar) or by posting in the webdigity forums.

  5. PHP Script: Alexa Traffic Rank « Entrepreneurial Blog of Matt Huggins Says:

    [...] to accomplish the task of retrieving the Alexa traffic rank, and the closest thing I could find was a script compiled by Webdigity. I soon found that Alexa implemented a scrambling mechanism meaning that this script could not be [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>