GroundsocialDocs

API · Bing

GET /bing/rank

Where a domain or URL ranks on Bing for a query, up to 200 deep.

RequestGET /v1/bing/rank
Operation idbing.rank.get
Cost5 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Where a domain or URL ranks on Bing for a query, up to 200 deep.

Query parameters

NameTypeRequiredDescription
querystringyes
urlstringyesExample: nytimes.com.
marketstringnoBing market, e.g. en-US, de-DE (default en-US).
countrystringno
languagestringno
safe_search"strict" | "moderate" | "off"noOne of strict, moderate, off.
time_range"any" | "day" | "week" | "month" | "year"noOne of any, day, week, month, year.
device"desktop" | "mobile"noOne of desktop, mobile.
depthintegerno
all_matches"true" | "false"noOne of true, false.
include_subdomains"true" | "false"noOne of true, false.

Responses

StatusMeaningSchema
200The rank.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Bing has nothing for that search.Error
429Too many requests. Wait for Retry-After seconds.Error
503Bing is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.