Bing rank checker API
Where a domain or exact URL ranks on Bing for a query, with the matching results.
GET /v1/bing/rankBeta5 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bing/rank?query=best%20coffee%20maker&url=nytimes.com",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 5 credits{ "query": "best coffee maker", "target": "nytimes.com", "found": true, "position": 1, "matches": [ { "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" } ], "depth": 10}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | |
urlquery · required | string | Example: nytimes.com. |
marketquery | string | Bing market, e.g. en-US, de-DE (default en-US). |
countryquery | string | |
languagequery | string | |
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" | One of desktop, mobile. |
depthquery | integer | |
all_matchesquery | "true" | "false" | One of true, false. |
include_subdomainsquery | "true" | "false" | One of true, false. |
Status codes
| Status | Meaning |
|---|---|
200 | The rank. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Bing has nothing for that search. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Bing is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How deep?
depth in the answer says how many results were checked (Bing’s first page logged out).
Bing is a trademark of Microsoft Corporation. We are not affiliated with or endorsed by Microsoft.