Skip to the page

Bing Search API not working

The v7 call answers again at SpecStream.

Microsoft retired the Bing Search APIs on August 11, 2025. Its notice says every existing instance was decommissioned completely and new customer sign-up ended, so the Azure portal offers no Bing Search resource and no key.

Your v7 code runs again with one change. Set https://api.specstream.ai/v7.0/search where it has https://api.bing.microsoft.com/v7.0/search and put a SpecStream key in Ocp-Apim-Subscription-Key. The reply is Bing's JSON.

SpecStream scores 97.9 F-score on all 1,000 SimpleQA Verified questions and 64.0 item F1 on all 200 WideSearch tasks, on the benchmarks page. A search of up to 10 results costs $0.005.

New accounts get $10 of credit, no card. It covers 2,000 searches.

SpecStream, the retired Bing API and its replacement

SpecStreamBing Web Search API v7Grounding with Bing Search
Status on Nov 10, 2026Live. New accounts start with $10 of credit, no cardRetired on August 11, 2025. Every existing instance decommissioned, and no new customer sign-upMicrosoft's named replacement, a tool inside Azure AI Agents
Get a key todayYes. Create a key under Agents & API in the workspace in a minuteNo. The product is no longer available to be used or for new customer sign-upCreate a Grounding with Bing Search resource in the Azure portal and connect it to an Azure AI agent
The callGET https://api.specstream.ai/v7.0/search?q=...&count=&offset= with the key in Ocp-Apim-Subscription-KeyGET https://api.bing.microsoft.com/v7.0/search with the key in Ocp-Apim-Subscription-KeyAn Azure AI agent calls it while a model writes its response
What comes backBing's JSON: _type SearchResponse, queryContext, webPages.totalEstimatedMatches and webPages.value[] with id, name, url, displayUrl and snippet, and rankingResponsewebPages.value[] with name and url, and optionally snippet, for each resultThe model's result grounded with Bing data, citing the publishers. Developers and end users don't have access to the raw content
Results a callcount 1 to 50, default 10, as on Bing. offset pages through the listcount defaulted to 10, with a maximum of 50count defaults to 5, with a maximum of 50
Use the results in your own codeYes. Each result reaches your code as JSON, for ranking, retrieval or any agent on any modelYes, while it ran. Your code read webPages.value[]No. Microsoft's page says outputs are not directly accessible for use in other applications or programs
Price$5 per 1,000 searches of up to 10 results. count=50 costs $0.029 a call. A call stopped by a 429 charges nothingNo longer sold$14 per 1,000 transactions, with limits of 150 transactions a second and 1 million a day
Where it runsAny code that sends an HTTP call, the Python and TypeScript SDKs, the CLI and any MCP clientAny code that sent the HTTP call, as in Microsoft's Python quickstartAzure AI Foundry Agent Service. Not all models support it

Why a broken Bing integration moves to SpecStream

What else Bing API users price

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to get a Bing v7 integration working again

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Set the search address to https://api.specstream.ai/v7.0/search where your code has https://api.bing.microsoft.com/v7.0/search, and send the SpecStream key in Ocp-Apim-Subscription-Key.

import requests

ENDPOINT = "https://api.specstream.ai/v7.0/search"  # was https://api.bing.microsoft.com/v7.0/search

reply = requests.get(
    ENDPOINT,
    headers={"Ocp-Apim-Subscription-Key": SPECSTREAM_KEY},
    params={"q": "Who founded Mistral AI and when?", "count": 10},
)
reply.raise_for_status()

for page in reply.json()["webPages"]["value"]:
    print(page["name"], page["url"], page["snippet"])
const reply = await fetch(
  "https://api.specstream.ai/v7.0/search?" + new URLSearchParams({ q: "Who founded Mistral AI and when?", count: "10" }),
  { headers: { "Ocp-Apim-Subscription-Key": process.env.SPECSTREAM_KEY } },
).then((r) => r.json());

for (const page of reply.webPages.value) console.log(page.name, page.url, page.snippet);

3. Leave the rest. q, count, offset and freshness work as before, and each call is billed as one search on your key, inside the spending limit you give it.

Frequently asked questions

Something we didn't answer? Talk to a human

Why is the Bing Search API not working?
Microsoft retired the Bing Search APIs on August 11, 2025 and decommissioned every existing instance. Your v7 call answers again at https://api.specstream.ai/v7.0/search with a SpecStream key in the same header, in Bing's JSON.
Is the Bing Search API still available?
No. Since August 11, 2025 Microsoft says the product is no longer available to be used or for new customer sign-up. SpecStream answers the same v7 call today, at $5 per 1,000 searches.
Why does my Bing Search API call return 401?
On SpecStream, a 401 with the code InvalidAuthorization means the key in Ocp-Apim-Subscription-Key is missing or wrong. A Bing key cannot be the fix: Microsoft decommissioned every Bing Search instance on August 11, 2025. Create a SpecStream key and send it in the same header.
Why can't I create a Bing Search resource in Azure?
Because new customer sign-up ended with the retirement on August 11, 2025. A SpecStream key takes a minute to create under Agents & API in the workspace, and a new account starts with $10 of credit, which covers 2,000 searches.
Is Grounding with Bing Search the same as the Bing Search API?
No. Grounding with Bing Search costs $14 per 1,000 transactions and returns a model's answer with citations inside Azure AI Agents; developers don't get the raw results. SpecStream returns webPages.value[] in Bing's v7 JSON at $5 per 1,000.
Does my Bing Web Search v7 code still work?
Yes, at a new address. Change https://api.bing.microsoft.com/v7.0/search to https://api.specstream.ai/v7.0/search, put a SpecStream key in the same header, and webPages.value[].name, url and snippet read as before.
How much does it cost to run the Bing call on SpecStream?
$5 per 1,000 searches of up to 10 results, and $0.029 for a call with count=50. A call stopped by a 429 is not charged. Every rate is on the pricing page.

Sources

SpecStream wrote this page. Each Microsoft and rival figure comes from that company's own page, and each question from the Microsoft Q&A thread that shows it.

  1. Microsoft: Bing Search APIs retiring on August 11, 2025learn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 10, 2026
  2. Microsoft 365 Message Center AZ492574 (mirror)mc.merill.net/message/AZ492574, read Nov 10, 2026
  3. Microsoft Q&A: how to get the Bing Search key?learn.microsoft.com/en-us/answers/questions/5646621/how-to-get-the-bing-search-key, read Nov 10, 2026
  4. Microsoft Q&A: alternatives to Bing Web Search in Azure OpenAI Servicelearn.microsoft.com/en-us/answers/questions/2277223/alternatives-to-bing-web-search-in-azure-openai-se, read Nov 10, 2026
  5. Microsoft: Bing APIs and Grounding with Bing pricingmicrosoft.com/en-us/bing/apis, read Nov 10, 2026
  6. Microsoft: Grounding with Bing Search toolslearn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/bing-tools, read Nov 10, 2026
  7. Microsoft: Grounding with Bing Custom Search (classic)learn.microsoft.com/en-us/azure/foundry-classic/agents/how-to/tools-classic/bing-custom-search, read Nov 10, 2026
  8. Microsoft: Bing Web Search API Python quickstartlearn.microsoft.com/en-us/bing/search-apis/bing-web-search/quickstarts/rest/python, read Nov 10, 2026
  9. Microsoft: Bing Web Search API query parameterslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/query-parameters, read Nov 10, 2026
  10. Microsoft: Bing Web Search API response objectslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/response-objects, read Nov 10, 2026
  11. Brave Search APIbrave.com/search/api/, read Nov 10, 2026
  12. Tavily pricingtavily.com/pricing, read Nov 10, 2026
  13. Exa pricingexa.ai/pricing, read Nov 10, 2026
  14. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  15. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  16. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026