none
how to get total number of results in bing api

    Question

  • I m using Bing API for image search. In the response i m not getting total number of search results.

    If total number of search is less than the top value ( for example total search result is 18 and top = 20) in that case skip is not working. it returning same set again and again.

    My query --

    1). https://api.datamarket.azure.com/Bing/Search/Image?Query=%27yahooo0000%27&Adult=%27Strict%27&$top=20&$skip=0

    2.) https://api.datamarket.azure.com/Bing/SearchImage?Query=%27yahooo0000%27&Adult=%27Strict%27&$top=20&$skip=20

    both returning same set of results. because total result count is 18, that is less than top (20).

    how can i get the total number of results or how can i get if there is no more result.

    Thanks ,

    Thursday, December 12, 2013 7:03 AM

Answers