Here is a php code that lets you retrieve a website’s alexa ranking, useful in web applications that measure importance of webpages (such as bespoke link popularity tools).
For this code snippet to work CURL library for php needs to be enabled on your server.
Code:
To display the Alexa ranking, use the following code :
echo alexaRank(‘site.com’);


























One Comment
It is obvious that with every passing day the credibility of Alexa is only increasing and getting stronger. The mammoth number of users that is always increasing and the tough competition to the top is testimonial to this fact.