Bing Search API search results decrease with increasing web.offset (skip) value

I test the query using the explorer Bing service, which returns the number of records up to about 600 thousand, but when navigating on the next page, the results continue to decrease and eventually reach zero.

I use both the Bing Search API and the Bing Search Web Results only API . I am currently using free 5000 queries / month.

An example of the request that I am testing in the Bing service explorer is

https://api.datamarket.azure.com/Bing/SearchWeb/v1/Web?Query=%27xbox%27&Market=%27en-US%27&$skip=1300 

I need to record as many records as possible (> = 10k), but with this it limits me to approximately 700 or 800 records.

What am I missing?

+4
source share
2 answers

I posted a question on the bing search forum, this is what they said, hopes this helps someone!

Search results are limited to the first 1000 results. This means that the sum is ± plus the top plus $ skip cannot exceed 1000. The maximum value for the vertex is 100 for the network, image and video, and 15 for news, and the maximum value for $ skip is 1000

+4
source

$skip means you request a result / image after the specified bing data is available. For example, if you specify 50 as a $skip value, it means that it ignores the first 50 data and starts to request the result from the data in order 51 .

Bing limiting the maximum result to 50 per request. If you want to set the number of images you want to request, you can use $top . Its implementation is the same as $skip . Just enter the number you want after $top . Example: $top=33 .

What if you want to receive images of more than 50 in one click ? You can multiply a query using php for loop to increase the value of $skip and keep the value of $top to the maximum allowed number, to prevent data from being missed for each request.

+2
source

All Articles