New Post has been published on Sevenkb.com
New Post has been published on http://www.sevenkb.com/php/how-to-get-alexa-rank-using-php/
How to get Alexa rank and Alexa backlinks using php
How to get alexa rank & alexa backlinks using php
Alexa Rank & traffic is impartent factor, Alexa Rank we can get / fetch by using Alexa API , Alexa API is Free to use with Alexa crome plugin Alexa API link to get Alexa rank of website, PHP script to get alexa rank and Alexa Backlinks using alexa API easy to use see PHP code here, Alexa providing paid API to get Alexa Rank and all of Alexa statistics of any website from AWS Alexa API it is free up to 1000 request / month to get Alexa rank and Alexa Backlinks
PHP script to get Alexa Rank & Alexa Backlinks from Alexa API
<?php $url='yourdomain.com'; $xml = simplexml_load_file('http://data.alexa.com/data?cli=10&dat=snbamz&url='.$url); $rank=isset($xml->SD[1]->POPULARITY)?$xml->SD[1]->POPULARITY->attributes()->TEXT:0; $country_rank=isset($xml->SD[1]->COUNTRY)?$xml->SD[1]->COUNTRY->attributes()->RANK:0; $web=(string)$xml->SD[0]->attributes()->HOST; echo nl2br($web." has Alexa Global Rank ".$rank."\n\n and \n\n Country Rank ".$country_rank.".\n"); ?>
To get Alexa backlinks , website load time form Alexa API
$alexabacklinks=(int)$xml->SD[0]->LINKSIN->attributes()->NUM;
Amazon Web Services Provides Paid Alexa API
Service Highlights
Gather information about web sites, including historical web traffic data, contact information, related links and more. Access historical web traffic data for web sites to analyze growth and understand the effects of specific events on web site traffic Build a web directory into your web site or service using an Alexa API enhanced DMOZ-based browse service Access the list of sites linking to any given site
Using AWS Alexa API we can get
URL Information
Historical Web Traffic
Sites Linking In
Browse Category
AWS Alexa API Pricing
Pay only for what you use. There is no minimum fee, and no start-up cost.
Up to 1,000 requests/ month – Free
1,001 to 1,000,000 requests/ month – $0.00045 per request
Over 1,000,000 requests/ month – $0.00030 per request
For more info on Alexa API Alexa AWS API.
See Also Auto Submit Sitemap to Search Engines to Increase Your Site Traffic















