100 free credits. No credit card required. Get a key

Bing search API

Bing’s first results page for a query: positions, titles, real URLs, snippets and dates, the estimated total and related searches, per market, with safe search and time range.

GET /v1/bing/searchBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/bing/search?query=best%20coffee%20maker&market=en-US",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "best coffee maker",
"totalEstimatedMatches": 21600,
"webPages": [
{
"position": 1,
"name": "The 9 Best Coffee Makers of 2026 | Reviews by Wirecutter",
"url": "https://www.nytimes.com/wirecutter/reviews/best-coffee-maker/",
"displayUrl": "https://www.nytimes.com › wirecutter › reviews › best-coffee-maker",
"snippet": "We think the easiest way to make good coffee is with the OXO Brew 9 Cup Coffee Maker. We also have picks for a …",
"datePublished": "Mar 20, 2026",
"siteName": "nytimes.com"
},
{
"position": 2,
"name": "13 Best Coffee Makers of 2026, Lab Tested and Reviewed",
"url": "https://www.consumerreports.org/appliances/coffee-makers/best-coffee-makers-of-the-year-a9612622702/?msockid=0ce4e7237a0…",
"displayUrl": "https://www.consumerreports.org › appliances › coffee-makers › best...",
"snippet": "The best lab-tested coffee makers, whether you're looking for a drip machine, pod coffee maker, or one that can handle …",
"datePublished": "Oct 8, 2026",
"siteName": "consumerreports.org"
},
"… 8 more"
],
"relatedSearches": []
}

Parameters

NameTypeDescription
queryquery · requiredstringExample: best coffee maker.
marketquerystringBing market, e.g. en-US, de-DE (default en-US).
countryquerystring
languagequerystring
safe_searchquery"strict" | "moderate" | "off"One of strict, moderate, off.
time_rangequery"any" | "day" | "week" | "month" | "year"One of any, day, week, month, year.
devicequery"desktop" | "mobile"Accepted for compatibility; results are the desktop page. One of desktop, mobile.
limitqueryinteger
Status codes
StatusMeaning
200Web results.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Bing has nothing for that search.
429Too many requests. Wait for Retry-After seconds.
503Bing is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

More than 10 results?

Bing serves a logged-out visitor its first page only.

Bing is a trademark of Microsoft Corporation. We are not affiliated with or endorsed by Microsoft.