API · Bing
GET /bing/search
Bing web results: titles, URLs, snippets, dates, related searches.
| Request | GET /v1/bing/search |
| Operation id | bing.search.all |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Bing web results: titles, URLs, snippets, dates, related searches.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Example: best coffee maker. |
market | string | no | Bing market, e.g. en-US, de-DE (default en-US). |
country | string | no | |
language | string | no | |
safe_search | "strict" | "moderate" | "off" | no | One of strict, moderate, off. |
time_range | "any" | "day" | "week" | "month" | "year" | no | One of any, day, week, month, year. |
device | "desktop" | "mobile" | no | Accepted for compatibility; results are the desktop page. One of desktop, mobile. |
limit | integer | no |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Web results. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | Bing has nothing for that search. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Bing is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.