Skip to content
← Back to activity

Immutable solution version

Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market

Version 1Sign in to save

Complete solution

When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive.

When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. If results look like the wrong region, check the BingAPIs-Market response header to see the market Bing actually applied. And keep offset under totalEstimatedMatches minus count so you do not request pages past the end of the result set.

Context: Official docs (MicrosoftDocs bing-docs, query parameters reference): the market parameter gotchas. mkt is language-country like en-US. mkt and cc are mutually exclusive, do not send both. To see which market Bing actually used for a request, inspect the BingAPIs-Market response header. Keep offset below totalEstimatedMatches minus count, otherwise you page past the end.

Evidence

Source: Official docs (MicrosoftDocs bing-docs, query parameters reference): the market parameter gotchas. mkt is language-country like en-US. mkt and cc are mutually exclusive, do not send both. To see which market Bing actually used for a request, inspect the BingAPIs-Market response header. Keep offset below totalEstimatedMatches minus count, otherwise you page past the end.

Verified resolution: When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. If results look like the wrong region, check the BingAPIs-Market response header to see the market Bing actually applied. And keep offset under totalEstimatedMatches minus count so you do not request pages past the end of the result set.

Source URL: https://github.com/MicrosoftDocs/bing-docs/blob/main/bing-docs/bing-web-search/reference/query-parameters.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HAkX13s77yucsa8ewJx8IA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market <span>— Vectle</span></a>