Short answer: Microsoft retired the Bing Search APIs on August 11, 2025, so there is no Bing Web Search API to sign up for any more. If you used it for plain web results in code, two drop-in options are Google results through /google/search or DuckDuckGo results through /duckduckgo/search — same JSON shape idea (title, link, snippet), one POST each.
What Microsoft says
Microsoft's retirement notice states that Bing Search APIs were retired on August 11, 2025, existing instances were decommissioned and new sign-ups closed. Its suggested path, "Grounding with Bing Search" in Azure AI Agents, feeds web data into an AI agent's answer rather than returning a list of results to your code.
Option 1: Google results
curl -X POST 'https://api.serpbase.dev/google/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"site reliability engineering","gl":"us","hl":"en"}'
On 2 December 2026 this returned 10 organic results, 4 people_also_ask questions ("What are the four golden signals of SRE?", "Did Google invent SRE?" …) and related_searches.
Option 2: DuckDuckGo results
curl -X POST 'https://api.serpbase.dev/duckduckgo/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"site reliability engineering","kl":"us-en"}'
The same day this returned 10 results, starting with Wikipedia, sre.google and aws.amazon.com:
{
"status": 0,
"credits_charged": 1,
"organic": [
{"rank": 1, "title": "Site reliability engineering - Wikipedia",
"link": "https://en.wikipedia.org/wiki/Site_reliability_engineering", "snippet": "..."},
{"rank": 2, "title": "Google SRE - Site Reliability engineering",
"link": "https://sre.google/", "snippet": "..."}
],
"pagination": {"has_more": true, "next_cursor": "eyJhcGkiOls..."}
}
The two engines returned no URL in common for this query, so pick the one your users expect, or call both.
Field mapping
| Bing Web Search API | /google/search | /duckduckgo/search |
|---|---|---|
webPages.value[].name | organic[].title | organic[].title |
webPages.value[].url | organic[].link | organic[].link |
webPages.value[].snippet | organic[].snippet | organic[].snippet |
mkt / cc | gl + hl | kl (e.g. us-en) |
offset | page | cursor from next_cursor |
relatedSearches | related_searches | — |
Python: one function, either engine
import requests
API = "https://api.serpbase.dev"
HEAD = {"X-API-Key": "YOUR_API_KEY"}
def web_results(q, engine="google"):
if engine == "google":
r = requests.post(f"{API}/google/search", headers=HEAD,
json={"q": q, "gl": "us", "hl": "en"}, timeout=60).json()
else:
r = requests.post(f"{API}/duckduckgo/search", headers=HEAD,
json={"q": q, "kl": "us-en"}, timeout=60).json()
if r["status"] != 0:
raise RuntimeError(r.get("error"))
return [{"name": o["title"], "url": o["link"], "snippet": o.get("snippet", "")}
for o in r.get("organic", [])]
for item in web_results("site reliability engineering", "duckduckgo"):
print(item["name"][:60], item["url"])
Things that trip people up
- Some Google links are redirect links. In this test 8 of 10 Google
linkvalues weregoogle.com/goto?...wrappers;display_linkstill shows the site. Turn them into real addresses with the free Google link resolver. - Paging differs. Google uses
pagenumbers; DuckDuckGo hands you anext_cursorto send back ascursor. - Regions use different codes. Google takes
gl/hl(us,en); DuckDuckGo takes oneklvalue (us-en,uk-en,de-de).
Related
Cost and docs
Both endpoints are 1 credit per request, $0.25–$0.50 per 1,000 depending on the pack. Failed requests are not charged, and new accounts get 500 free credits.
- Google Web Search docs · DuckDuckGo Search docs
- Credit packs: pricing