This is the GET query we are using-
https://api.bing.microsoft.com/v7.0/images/search/?q=hair stylist&count=3&aspect=square
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are getting a blank object in the "value" key of the response of Bing image search API. We are using the following endpoint
https://api.bing.microsoft.com/v7.0/images/search/?q=hair stylist&count=3&aspect=square
There is no error related to the wrong API key or anything else. We are getting the following response. Everything seems fine but the "value" array is empty.
Please help.
{
"_type": "Images",
"instrumentation": {
"_type": "ResponseInstrumentation"
},
"queryContext": {
"originalQuery": "hair stylist",
"alterationDisplayQuery": "hair salon",
"alterationOverrideQuery": "+hair stylist",
"alterationMethod": "AM_JustChangeIt",
"alterationType": "CombinedAlterationsChained"
},
"value": [],
"queryExpansions": [
{
"text": "Hair Stylist Logo",
"displayText": "Logo",
"webSearchUrl": "https://www.bing.com/images/search?q=Hair+Stylist+Logo&tq=%7b%22pq%22%3a%22hair+stylist%22%2c%22qs%22%3a%5b%7b%22cv%22%3a%22hair%22%2c%22pv%22%3a%22hair%22%2c%22hps%22%3atrue%2c%22iqp%22%3afalse%7d%2c%7b%22cv%22%3a%22stylist%22%2c%22pv%22%3a%22stylist%22%2c%22hps%22%3atrue%2c%22iqp%22%3afalse%7d%2c%7b%22cv%22%3a%22Logo%22%2c%22pv%22%3a%22%22%2c%22hps%22%3afalse%2c%22iqp%22%3atrue%7d%5d%7d&FORM=IRPATC",
"searchLink": "https://api.bing.microsoft.com/api/v7/images/search?q=Hair+Stylist+Logo&tq=%7b%22pq%22%3a%22hair+stylist%22%2c%22qs%22%3a%5b%7b%22cv%22%3a%22hair%22%2c%22pv%22%3a%22hair%22%2c%22hps%22%3atrue%2c%22iqp%22%3afalse%7d%2c%7b%22cv%22%3a%22stylist%22%2c%22pv%22%3a%22stylist%22%2c%22hps%22%3atrue%2c%22iqp%22%3afalse%7d%2c%7b%22cv%22%3a%22Logo%22%2c%22pv%22%3a%22%22%2c%22hps%22%3afalse%2c%22iqp%22%3atrue%7d%5d%7d",
"thumbnail": {
"thumbnailUrl": "https://tse4.mm.bing.net/th?q=Hair+Stylist+Logo&pid=Api&mkt=en-IN&cc=IN&setlang=en&adlt=moderate&t=1"
}
},
This is the GET query we are using-
https://api.bing.microsoft.com/v7.0/images/search/?q=hair stylist&count=3&aspect=square