I can give you my code, I thought it was easy to use. I have made a keyword ranking tracker using it but haven't made it public. But yeah, the 32 results limit sucks. function checkSERPs($keyword, $domain, $offset){ $url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&rsz=large&start='.$offset.'&q='.urlencode($keyword); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_REFERER, "http://www.marketingcpanel.com/"); $body = curl_exec($ch); curl_close($ch); $json = json_decode($body, true); $x = 1; foreach ($json['responseData']['results'] as $result){ if (strpos($result['visibleUrl'], $domain) !== false){ return $x + $offset; } $x += 1; } if ($offset == 24){ return "999"; } return checkSERPs($keyword, $domain, $offset + 8); } Code (markup): It returns an int from 1-32 or 999 for no ranking.
Yeah... was trying to come up with an (easy) way to JSON decode without the json_decode() function since people will cry about needing PHP 5.2 in order to use it...
Oh God, what a surprising news..... might that the day is pretty unlucky. but the day have dawn & you can enjoy the Google updates today. ==========
Shawn, are you going to do something about this? I think 32 limit is fine as is using php 5.2 The service is free so 32 limit should be totally ok.
Unfortunately yes. It will still be better option than actual state. If you will be able to repair your tool, it will be good to clear rank data from these days. Btw. thank you for your Keyword Tracker tool. I am using it regularly long time and I hope that it will continue to work.
agree... 32 results is just fine, anyways even 20 is more than enough to track necessary rankings.. PS I still hate the other tool I have to use now...
It's going to be 32 results for Google *and* a requirement that you use the advanced usage script on a server running PHP 5.2 or higher.
Thank you Shawn!! You Rock! I agree that 20 is enough. If you can't be found in first 20 you best go back to the drawing board!! So 32 is just perfect.
I'm also eager for this tool to work again. I'm ready to start a new marketing program, and this tool worked wonders for me in the past. 32 is just fine for a limit I believe - if you are not in the first three pages, you have a ways to go. You are getting nearly zero traffic after that point.