Prompt flow after the Bing Search API
One url to change.
Prompt flow's BingConnection has two fields, api_key and url, and url defaults to https://api.bing.microsoft.com/v7.0/search. Microsoft retired that API on August 11, 2025, so a flow tool that calls it gets no results.
Set url to https://api.specstream.ai/v7.0/search and put a SpecStream key in api_key. Your tool sends the same call and reads the same JSON, at $1 per 1,000 searches. We ran it on promptflow-core 1.18.5 on Nov 12, 2026.
New accounts get $10 of credit, no card. It covers 10,000 searches.
Prompt flow web search and what replaces Bing, from each company's own pages on Nov 12, 2026
| SpecStream | Bing Web Search API | Grounding with Bing Search | SerpApi (Prompt flow's Serp API tool) | |
|---|---|---|---|---|
| Setting in Prompt flow | url: https://api.specstream.ai/v7.0/search in the BingConnection or a custom connection, with a SpecStream key in api_key | BingConnection.url default: https://api.bing.microsoft.com/v7.0/search | Not a v7 address. Microsoft places it in Azure AI Agents | The built-in Serp API tool, with a Serp connection that holds only an API key |
| Open to a new account | Yes. Create a key and start with $10 of credit, no card | No. Retired on August 11, 2025, with every instance decommissioned and no new sign-up | Yes, with a Grounding with Bing Search resource in the Azure portal | Yes. The Free plan holds 250 searches a month |
| Price | $1 per 1,000 searches of up to 10 results, with no monthly plan | None. Microsoft decommissioned the product | $14 per 1,000 transactions | $25 a month for 1,000 searches on Starter, up to $275 a month for 30,000 on Big Data |
| Limit | No limit per key and no daily limit. A busy call gets a 429 and is not charged | None. The API is retired | 150 transactions a second and 1 million a day | The plan's searches a month, and 200 an hour on Starter |
| What comes back | Bing's webPages.value[] with name, url and snippet, the fields a Bing tool already reads | webPages.value[], with the name, URL and snippet of each page | No raw results: developers and end users get no access to the content returned | SerpApi's own JSON, a different shape from Bing's |
| What answers the search | The whole live web, read at the moment of the call. 97.9 F-score on all 1,000 SimpleQA Verified questions | Nothing since August 11, 2025 | An answer from the model. Not all models support it | Google, Bing or another engine, chosen by the tool's engine input |
Why Prompt flow developers point Bing search at SpecStream
The url field of BingConnection
Prompt flow declares the connection in promptflow/connections/__init__.py:
@dataclass
class BingConnection:
api_key: Secret
url: str = "https://api.bing.microsoft.com/v7.0/search"Prompt flow ships no Bing tool of its own: the call is in a Python tool you wrote, which takes the connection as an input. We ran a tool of this shape. It reads connection.url, so it needs no change:
import requests
from promptflow.core import tool
from promptflow.connections import BingConnection
@tool
def bing_search(connection: BingConnection, question: str) -> list:
reply = requests.get(
connection.url,
headers={"Ocp-Apim-Subscription-Key": connection.api_key},
params={"q": question, "count": 10},
timeout=60,
)
reply.raise_for_status()
return reply.json()["webPages"]["value"]Change the connection, in the connections file your run reads (the dev-connections.json form in Prompt flow's repository):
"bing_connection": {
"type": "BingConnection",
"module": "promptflow.connections",
"value": {
"api_key": "<your SpecStream key>",
"url": "https://api.specstream.ai/v7.0/search"
}
}On Nov 12, 2026 we ran this flow with promptflow-core 1.18.5. The node finished with status Completed and returned the pages of webPages.value, each with its name, url and snippet.
A custom connection, the way the pf CLI stores it
The local pf connection store holds connection types such as custom, and a Microsoft answer on Q&A recommends a custom connection for a Bing key. Put the address in configs and the key in secrets:
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/CustomConnection.schema.json
name: bing_search
type: custom
configs:
url: "https://api.specstream.ai/v7.0/search"
secrets:
api_key: "<your SpecStream key>"pf connection create -f bing_search.yaml --set secrets.api_key=$SPECSTREAM_API_KEYA tool that takes a CustomConnection reads connection.configs["url"] and connection.secrets["api_key"] and sends the same GET. We ran that tool too on Nov 12, 2026, with status Completed.
The same request and the same JSON
SpecStream answers GET /v7.0/search with q, count and offset in Bing's shape, with the key in Ocp-Apim-Subscription-Key. Every parameter and field of the route is in the Bing Web Search v7 guide, and what Microsoft ended, and when, is on the Bing Search API retirement page.
$1 per 1,000 searches, with no daily limit
A search of up to 10 results costs $0.001. There is no monthly plan and no daily limit. Credit you buy never expires, and a new account starts with $10 of credit, which covers 10,000 searches. A busy call gets a 429 with Retry-After and charges nothing.
The most accurate web search API, in about one second
On SimpleQA Verified the SpecStream Search API scores 97.9 F-score on all 1,000 official questions, 978 of them correct. On WideSearch it scores 64.0 item F1 and 43.4 row F1 on all 200 official tasks. Every score and its method is on the benchmarks page.
Every Bing call runs the fast search. Measured on production on November 9, 2026, its median was 0.82 s at 1 search a second and 1.07 s at 20 a second, and it answered 718 of 720.
The same key after Prompt flow retires
Microsoft retires Prompt flow in Microsoft Foundry and Azure Machine Learning on April 20, 2027 and asks you to move to Microsoft Agent Framework. Your search tool is a plain HTTP call, so it moves with you: the same address and the same key work from any Python code, as the Bing Search API in Python page shows.
Other web search options for Prompt flow
Grounding with Bing Search
Microsoft's named replacement for the Bing Search APIs, at $14 per 1,000 transactions, inside Azure AI Agents. It returns an answer with citations, and developers get no access to the raw results, so a Prompt flow tool has no webPages.value to read. SpecStream returns Bing's webPages.value[] at $1 per 1,000.
Prompt flow's Serp API tool
The built-in tool wraps SerpApi's Google and Bing results. SerpApi sells plans from $25 a month for 1,000 searches, and the tool returns SerpApi's JSON, so a flow written for Bing's fields needs new parsing. SpecStream keeps your Bing tool and its fields, at $1 per 1,000 with no plan.
Google Custom Search JSON API
$5 per 1,000 queries after 100 free a day, up to 10,000 a day, for existing customers only: Google closed it to new customers and ends it on January 1, 2027. It answers a different request with a different reply. SpecStream keeps your Bing call and costs $1 per 1,000, with no daily limit.
How SpecStream scores
The same numbers as the benchmarks page, from the official tasks and scorers.
How to move Prompt flow web search to SpecStream
1. Create a key under Agents & API in the SpecStream workspace. A new account gets $10 of credit, no card, which covers 10,000 searches.
2. Check the key with the call Bing's v7 API takes. A 200 with webPages.value means the key works.
curl -H "Ocp-Apim-Subscription-Key: $SPECSTREAM_API_KEY" \
"https://api.specstream.ai/v7.0/search?q=test&count=3"3. Set url to https://api.specstream.ai/v7.0/search and api_key to your SpecStream key: in the BingConnection of your connections file, or in a custom connection made with pf connection create.
4. Run the flow as before. Each search shows in your SpecStream request log with its price.
Frequently asked questions
Something we didn't answer? Talk to a human
Why does Bing search fail in my Prompt flow?
https://api.bing.microsoft.com/v7.0/search, the default url of BingConnection, answers no search. Set url to https://api.specstream.ai/v7.0/search with a SpecStream key in api_key.Where do I get a Bing API key for Prompt flow now?
api_key.Does Prompt flow have a built-in Bing tool?
BingConnection is a connection type for a Python tool you write, and the built-in search tool is the Serp API tool, which calls SerpApi. A Bing tool that reads connection.url works with SpecStream with no code change.What is the best Bing alternative for Prompt flow?
How much does Prompt flow web search cost with SpecStream?
What happens to my search tool when Prompt flow retires?
Sources
SpecStream wrote this page. Prompt flow's settings come from its source on GitHub, and each provider's figure from that company's own page.
- Prompt flow connections/__init__.pyraw.githubusercontent.com/microsoft/promptflow/main/src/promptflow-core/promptflow/connections/__init__.py, read Nov 12, 2026
- Prompt flow dev-connections.json.exampleraw.githubusercontent.com/microsoft/promptflow/main/src/promptflow/dev-connections.json.example, read Nov 12, 2026
- Prompt flow: manage connectionsraw.githubusercontent.com/microsoft/promptflow/main/docs/how-to-guides/manage-connections.md, read Nov 12, 2026
- Prompt flow READMEraw.githubusercontent.com/microsoft/promptflow/main/README.md, read Nov 12, 2026
- Prompt flow Serp API tool referenceraw.githubusercontent.com/microsoft/promptflow/main/docs/reference/tools-reference/serp-api-tool.md, read Nov 12, 2026
- Serp API tool for flows in Microsoft Foundrylearn.microsoft.com/en-us/azure/ai-foundry/how-to/prompt-flow-tools/serp-api-tool, read Nov 12, 2026
- Microsoft Q&A: Bing web search API with Azure AI Studiolearn.microsoft.com/en-us/answers/questions/1615644/how-to-use-bing-websearch-api-with-azure-ai-studio, read Nov 12, 2026
- Bing Search API retirementlearn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 12, 2026
- Grounding with Bing Search pricingmicrosoft.com/en-us/bing/apis/grounding-pricing, read Nov 12, 2026
- Bing APIsmicrosoft.com/en-us/bing/apis, read Nov 12, 2026
- Grounding with Bing Search toolslearn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/bing-tools, read Nov 12, 2026
- Grounding with Bing Search resourcelearn.microsoft.com/en-us/answers/questions/2277223/alternatives-to-bing-web-search-in-azure-openai-se, read Nov 12, 2026
- Bing Web Search response objectslearn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/response-objects, read Nov 12, 2026
- SerpApi pricingserpapi.com/pricing, read Nov 12, 2026
- Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 12, 2026
- SpecStream benchmarksspecstream.ai/benchmarks, read Nov 12, 2026
- SpecStream pricingspecstream.ai/pricing, read Nov 12, 2026
- SpecStream for agentsspecstream.ai/agents.md, read Nov 12, 2026




