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

Bing autosuggest API

What Bing suggests for a partial query, per market.

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

res = requests.get(
    "https://api.groundsocial.dev/v1/bing/suggestions?query=coffee",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "coffee",
"suggestions": [
"coffee",
"coffee near me",
"… 23 more"
]
}

Parameters

NameTypeDescription
queryquery · requiredstring
marketquerystringBing market, e.g. en-US, de-DE (default en-US).
Status codes
StatusMeaning
200Suggestions.
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

How many?

Up to about 8-20, as Bing suggests.

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