Bing Search API - missing relatedSearches property in json response, S1 instance

will 5 Reputation points
2023-09-23T04:41:52.6533333+00:00

When request bing search v7 with an S1 instance, the 'RelatedSearches' property doesn't return. Any ideas how could i get this property?

https://api.bing.microsoft.com/v7.0/search?Accept-Language=en&responseFilter=Webpages&offset=0&count=1&mkt=en-US&setLang=en-US&q=apple

response:

{
    "_type": "SearchResponse",
    "queryContext": {
        "originalQuery": "apple"
    },
    "webPages": {
        "webSearchUrl": "https://www.bing.com/search?q=apple",
        "totalEstimatedMatches": 136000000,
        "value": [
            {
                "id": "https://api.bing.microsoft.com/api/v7/#WebPages.0",
                "name": "Apple",
                "url": "https://www.apple.com.cn/",
                "isFamilyFriendly": true,
                "displayUrl": "https://www.apple.com.cn",
                "snippet": "Explore the latest products and services from Apple, including iPhone 14 Pro, MacBook Air 15”, iPad Pro, and more. Save on Mac or iPad for college, get a gift card up to $150, and …",
                "dateLastCrawled": "2023-09-21T19:56:00.0000000Z",
                "language": "zh_chs",
                "isNavigational": false
            }
        ],
        "someResultsRemoved": true
    },
    "rankingResponse": {
        "mainline": {
            "items": [
                {
                    "answerType": "WebPages",
                    "resultIndex": 0,
                    "value": {
                        "id": "https://api.bing.microsoft.com/api/v7/#WebPages.0"
                    }
                }
            ]
        }
    }
}
Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
148 questions
{count} votes

1 answer

Sort by: Most helpful
  1. will 5 Reputation points
    2023-09-26T09:34:12.78+00:00

    @romungi-MSFT thanks for your answer

    For my case,i have to set offset > 0 and count > 0 to get the relatedSearches object in the response. If i don't use any other filter params or set offset = 0, then i will not get the relatedSearches object. Anyway, the problem solved --- in some weird ways :-) .

    1 person found this answer helpful.