Site Traffic API

Free Site Traffic API


·What we offer: a free site traffic tool that can provide fairly accurate estimations of monthly visitors for virtually any domain.

·Requirements: there are no special requirements, virtually anyone with basic HTML knowledge and/or some PHP/ASP programming knowledge can easily intergrate this tool on a site.

·Backlinks policy: we would appreciate if you link back to this page so others can enjoy our free PR API tool but you can use our tool even if you don't link back.

·API URL:
http://icons.geek-tools.org/api/show_traffic.php?site_url=geek-tools.org

Explanations:
 - geek-tools.org can be changed with whatever domain you want.


·PHP code sample:
Here's simple PHP function example that you can use it to fetch PR for different domains:
function get_pr($domain)
{
  $ch = curl_init("http://icons.geek-tools.org/api/show_traffic.php?site_url=$domain");
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_TIMEOUT, 3);
  curl_setopt($ch, CURLOPT_USERAGENT, "GeekTools API - http://tools.geek-tools.org");
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  $retrievedHTML = curl_exec($ch);
  curl_close($ch);

  return $retrievedHTML;
}


You can call this fuction like this:
$domain_traffic = get_traffic($domain);
echo "$domain traffic: $domain_traffic";

 

 


Other resources: :
· Content Monitor · Domains for any TLD · Web Promotion · Free Online Tools ·