Bing search API is giving different results than bing.com when I run the same search query. I am expecting the API and bing.com to give identical results.

Singh, Raja 1 Reputation point
2022-06-21T15:00:47.39+00:00

I am learning and evaluating the Bing search API for the first time. When I run the following search query against the Bing API I noticed that I get slightly different results when I search same in bing.com. Is it expected? is there a way to adjust my search query against the Bing API to get the same results as the website. Below is the list of 10 links that I am getting from API vs list of links Bing.com is returning to me for the same search. Any solution for this?

the curl command that I am using for the API call is:

curl https://api.bing.microsoft.com/v7.0/search?q=site:wikipedia.orgbaseball -H "Ocp-Apim-Subscription-Key: < subscription key >"

From API:

['https://en.wikipedia.org/wiki/Baseball',
'https://en.wikipedia.org/wiki/History_of_baseball'
, 'https://en.wikipedia.org/wiki/Major_League_Baseball',
'https://en.wikipedia.org/wiki/Baseball_(ball)',
'https://en.wikipedia.org/wiki/Baseball_in_the_United_States',
'https://en.wikipedia.org/wiki/2022_Major_League_Baseball_season',
'https://en.wikipedia.org/wiki/Triple-A_(baseball)',
'https://en.wikipedia.org/wiki/Texas_Longhorns_baseball',
'https://en.wikipedia.org/wiki/2022_NCAA_Division_I_baseball_season']

From bing.com I ran the following query : "site:wikipedia.org baseball"

https://en.wikipedia.org/wiki/Baseball
https://simple.wikipedia.org/wiki/Baseball
https://en.wikipedia.org/wiki/History_of_baseball
https://en.wikipedia.org/wiki/Baseball_(ball)
https://en.wikipedia.org/wiki/Baseball_rules
https://en.wikipedia.org/wiki/Major_League_Baseball
https://en.wikipedia.org/wiki/Pitcher
https://en.wikipedia.org/wiki/Comparison_of_baseball_and_cricket
https://en.wikipedia.org/wiki/Origins_of_baseball

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,856 questions
{count} votes