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

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 failure
import 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

NameTypeDescription
queryquery · requiredstring
urlquery · requiredstringExample: nytimes.com.
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"One of desktop, mobile.
depthqueryinteger
all_matchesquery"true" | "false"One of true, false.
include_subdomainsquery"true" | "false"One of true, false.
Status codes
StatusMeaning
200The rank.
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 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.