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
| SpecStream | Bing Web Search API v7 | Grounding with Bing Search | |
|---|---|---|---|
| Status on Nov 10, 2026 | Live. New accounts start with $10 of credit, no card | Retired on August 11, 2025. Every existing instance decommissioned, and no new customer sign-up | Microsoft's named replacement, a tool inside Azure AI Agents |
| Get a key today | Yes. Create a key under Agents & API in the workspace in a minute | No. The product is no longer available to be used or for new customer sign-up | Create a Grounding with Bing Search resource in the Azure portal and connect it to an Azure AI agent |
| The call | GET https://api.specstream.ai/v7.0/search?q=...&count=&offset= with the key in Ocp-Apim-Subscription-Key | GET https://api.bing.microsoft.com/v7.0/search with the key in Ocp-Apim-Subscription-Key | An Azure AI agent calls it while a model writes its response |
| What comes back | Bing's JSON: _type SearchResponse, queryContext, webPages.totalEstimatedMatches and webPages.value[] with id, name, url, displayUrl and snippet, and rankingResponse | webPages.value[] with name and url, and optionally snippet, for each result | The model's result grounded with Bing data, citing the publishers. Developers and end users don't have access to the raw content |
| Results a call | count 1 to 50, default 10, as on Bing. offset pages through the list | count defaulted to 10, with a maximum of 50 | count defaults to 5, with a maximum of 50 |
| Use the results in your own code | Yes. Each result reaches your code as JSON, for ranking, retrieval or any agent on any model | Yes, 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 nothing | No longer sold | $14 per 1,000 transactions, with limits of 150 transactions a second and 1 million a day |
| Where it runs | Any code that sends an HTTP call, the Python and TypeScript SDKs, the CLI and any MCP client | Any code that sent the HTTP call, as in Microsoft's Python quickstart | Azure AI Foundry Agent Service. Not all models support it |
Why a broken Bing integration moves to SpecStream
Your v7 call, at a new address
# Before: retired on August 11, 2025
curl -G https://api.bing.microsoft.com/v7.0/search \
-H "Ocp-Apim-Subscription-Key: $BING_KEY" \
--data-urlencode "q=Who founded Mistral AI and when?" -d count=10
# After: 200 with webPages.value[]
curl -G https://api.specstream.ai/v7.0/search \
-H "Ocp-Apim-Subscription-Key: $SPECSTREAM_KEY" \
--data-urlencode "q=Who founded Mistral AI and when?" -d count=10The path, the header, the parameters and the parser stay as they are. Only the address and the key change, and there are no fields to map.
What happened to the Bing Search API
Microsoft's lifecycle notice set August 11, 2025 as the retirement date. It says existing instances are decommissioned completely and the product is no longer available to be used or for new customer sign-up. The Message Center notice names the Bing Search resources on the F1 and S1 through S9 tiers and the F0 and S1 through S4 resources of Bing Custom Search.
That is why the portal has no Bing Search resource to create and no key to copy. On December 4, 2025 a developer asked on Microsoft Q&A how to get a Bing Search key, and the portal answered with the sign-in error AADSTS16000. A SpecStream key replaces it in the same header.
Why Grounding with Bing Search is not the same call
Microsoft points customers to Grounding with Bing Search in Azure AI Agents. It is a tool an agent calls while a model writes its answer, priced at $14 per 1,000 transactions. A Microsoft answer on Q&A says the returned results are not raw search listings, and Microsoft's page says developers and end users don't have access to the raw content. Your code that reads webPages.value[] has nothing to read there.
SpecStream returns the results themselves, in Bing's JSON, to any code and any model, at $5 per 1,000 searches.
What stays the same
The route reads q, count (1 to 50, default 10), offset and freshness (Day, Week, Month, a range or one date). textFormat=HTML escapes the text as Bing did. mkt, setLang, cc, safeSearch, responseFilter, answerCount, promote and textDecorations are accepted, so a request your code sends today needs no edit.
Errors come back as ErrorResponse with Bing's codes. A 401 with InvalidAuthorization means the SpecStream key is missing or wrong, and RateLimitExceeded comes with a 429. dateLastCrawled is not in the reply: each search reads the live web at the moment of the call.
$5 per 1,000 searches
A search of up to 10 results takes $0.005 from your balance, and each started block of 10 more adds $0.006, so count=50 costs $0.029. Credit you buy never expires, and a call stopped by a 429 charges nothing. Every rate is on the pricing page.
The most accurate web search API, at about one second
SpecStream scores 97.9 F-score on all 1,000 official SimpleQA Verified questions (978 correct), and 64.0 item F1 and 43.4 row F1 on all 200 official WideSearch tasks. The Extract API scores 0.908 F1 on WCXB. Each score and its method is on the benchmarks page.
On November 9, 2026 production took 1 to 20 searches a second through the fast search every drop-in route uses, and answered 718 of 720. The median was 0.82 s at 1 search a second and 1.07 s at 20 a second, and the 95th percentile stayed between 1.09 and 1.73 s. One account takes up to 8,800 searches a minute; a call over that gets a 429 with Retry-After and is not charged.
You decide what is kept
Zero retention is a field on each key. A search made with such a key keeps no request text and no answer after the reply. The charge keeps the account, the key, the request ID, the price and the time.
POST https://api.specstream.ai/v1/account/keys
{
"name": "production",
"scopes": ["account:read", "finds:spend"],
"spend_cap_cents": 500000,
"zero_retention": true
}Search is the first call, and the same key does the rest
GET /v1/web-search returns up to 100 results for one search and an answer with the page it was read from. The Extract API reads up to 20 pages or documents a call at $0.80 per 1,000 pages, and a page with no text is not charged. Deep Search returns every match on the live web as structured rows at 5¢, 15¢ or $1 a row, with the most a run can cost quoted before it starts.
What else Bing API users price
Grounding with Bing Search
Microsoft's replacement: a tool inside Azure AI Agents at $14 per 1,000 transactions, counted by the tool calls in a run. It returns a model's answer with citations, and developers don't get the raw results. SpecStream returns the results in Bing's JSON at $5 per 1,000. The Grounding with Bing Search alternative page compares the two.
Grounding with Bing Custom Search
The same tool limited to the sites you choose, at the same $14 per 1,000 transactions on Microsoft's page. Its documentation sits under Agents (classic), which Microsoft says will be retired on March 31, 2027. On SpecStream, site: in q keeps a search to one site at $0.005.
Brave Search API
A search API on Brave's own index at $5 per 1,000 requests, with $5 in free credits every month. Its reply has Brave's shape, so Bing code is rewritten for it. SpecStream answers the Bing call your code already sends, and Brave's call too, at https://api.specstream.ai/res/v1/web/search.
Tavily
A search API for agents billed in credits, at $0.008 a credit pay as you go. SpecStream answers Tavily's call as well, at https://api.specstream.ai/tavily/search, for $0.005 a search.
Exa
A search API priced from $4 per 1,000 requests of up to 10 results. Its reply has Exa's shape. SpecStream answers Exa's call at https://api.specstream.ai/exa/search and Bing's at https://api.specstream.ai/v7.0/search, on one key.
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?
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?
Why does my Bing Search API call return 401?
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?
Is Grounding with Bing Search the same as the Bing Search API?
webPages.value[] in Bing's v7 JSON at $5 per 1,000.Does my Bing Web Search v7 code still work?
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?
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.
- Microsoft: Bing Search APIs retiring on August 11, 2025learn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 10, 2026
- Microsoft 365 Message Center AZ492574 (mirror)mc.merill.net/message/AZ492574, read Nov 10, 2026
- 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
- 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
- Microsoft: Bing APIs and Grounding with Bing pricingmicrosoft.com/en-us/bing/apis, read Nov 10, 2026
- Microsoft: Grounding with Bing Search toolslearn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/bing-tools, read Nov 10, 2026
- 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
- Microsoft: Bing Web Search API Python quickstartlearn.microsoft.com/en-us/bing/search-apis/bing-web-search/quickstarts/rest/python, read Nov 10, 2026
- Microsoft: Bing Web Search API query parameterslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/query-parameters, read Nov 10, 2026
- Microsoft: Bing Web Search API response objectslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/response-objects, read Nov 10, 2026
- Brave Search APIbrave.com/search/api/, read Nov 10, 2026
- Tavily pricingtavily.com/pricing, read Nov 10, 2026
- Exa pricingexa.ai/pricing, read Nov 10, 2026
- SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
- SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
- SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026




