Alexa is providing an API (not free) to access it database. But there is a way to do this for free. To get this data in XML format use following URL.[]

simply change $url=’’; by your url address, and paste this code wherever you want to appear. By this Get Alexa Rank by PHP Script, it will provided a realtime ALEXA Rank without paid 🙂

$xml = simplexml_load_file(''.$url);
echo $web." has Alexa Rank ".$rank;

Need Book?
SEO for WordPress: How To Get Your Website on Page #1 of Google…Fast! [2nd Edition] (Volume 2)