Bing

Bing web search

Returns Bing web results: organic results, ads, answer boxes, Knowledge Graph cards, local, shopping, news and related searches when Bing shows them. Page through organic results with first; prefer the pagination.next link in the response over building the offset yourself.

get/api/bing/search

Request

  • Base URL: https://api.litescrape.com
  • URL: https://api.litescrape.com/api/bing/search
  • Auth: one of:
    • HTTP bearer
    • API key in header zc-signature

Query parameters

engine'bing'

Search engine. Optional; the only accepted value is bing.

qstring required
Example:pizza shops in New York

Search query, up to 2,048 characters with no control characters. Bing search operators are preserved.

locationstring
Example:New York, New York

Optional city-level search origin, up to 256 characters.

latnumber
Example:40.7128

Optional search-origin latitude from -90 through 90. Independent of lon and location.

lonnumber
Example:-74.006

Optional search-origin longitude from -180 through 180. Independent of lat and location.

mktstring
Example:en-US

Bing market in language-country form, such as en-US; case-insensitive. Mutually exclusive with cc.

ccstring
Example:US

Two-letter ISO country code of the search origin, such as US; case-insensitive. Mutually exclusive with mkt.

firstinteger

One-based offset of the first organic result.

safeSearch'off' | 'moderate' | 'strict'

Adult-content filtering: off, moderate, or strict. Case-insensitive.

filtersstring
Example:ex1:"ez5_20069_20433"

Native Bing display or date filters, up to 8,192 characters with no control characters.

device'desktop' | 'tablet' | 'mobile'

Request profile: desktop, tablet, or mobile. Case-insensitive.

timeoutnumber

Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

Response

Successful response; one call consumed unless noted otherwise.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.