logo logo

[php] New Bing SERP checker using Windows Azure Datamarket

So, I got email from Bing Developer Team informing that Bing Search API 2.0 will be gone and moving to new platform: Windows Azure Datamarket. On my previous Bing SERP checker project, I’m using Bing Search API 2.0 which means that those codes will no longer working after 1st August.

Windows Azure Datamarket provide a trial package and a free package that has limit for 5000 requests per month. More than enough for us to toying for Bing SERP checker.

Go get your Account Key (was Application ID) : https://datamarket.azure.com/

This is the revised main function php codes so it will work on new Windows Azure Datamarket web service

How you call it:

Example output:

Fully working demo: http://demo.ahowto.net/new_bserp/

Actually, there are a lot of other “Search Market” that supported by Bing but I only listed some of them just for example. Download this document for complete list of Bing’s supported Search Market: http://www.bing.com/webmaster/content/developers/ADM_SCHEMA_GUIDE.docx


  1. Your PHP version must be PHP 5.2 or higher (because of json_decode command)
  2. You must activate PHP OpenSSL module (php_openssl) because we are using file_get_contents and the webservice end point must be accessed via HTTPS

Update (2012-07-20) : the endpoint URL is changed


2 Responses to “[php] New Bing SERP checker using Windows Azure Datamarket”

  1. Bmonkiezz says:

    I need to use it.

    I can’t run this script it don’t show something.

    Please send me the full script.

    Thanks you very much.


  1. Windows Azure and Cloud Computing Posts for 7/30/2012+ - Windows Azure Blog - [...] post to his How To blog (missed when published): In my previous post [see below], I show[ed] you how …
  2. php: Script to check how many pages from a site is indexed in Bing.com - […] Instead, I do  some simple scraping on Bing.com search result page. (So, I’m not calling any Azure Datamarket API …

Leave a Reply

%d bloggers like this: