Bing Search

get/search

Request

  • Base URL
    https://www.searchapi.io/api/v1
  • Auth
    • API key in header Authorization
    • or API key in query parameter api_key

Query parameters

engine'bing' required

Set to 'bing' to use the Bing search engine

qstring required

Search query

device'mobile' | 'desktop'

Device type for search results

locationstring

Location for localized results (e.g., "New York,United States")

latnumber

Latitude for location-based results

lonnumber

Longitude for location-based results

market_code'es-ar' | 'en-au' | 'de-at' | 'nl-be' | 'fr-be' | 'pt-br' | 'en-ca' | 'fr-ca' | 'es-cl' | 'da-dk' | 'fi-fi' | 'fr-fr' | 'de-de' | 'zh-hk' | 'en-in' | 'en-id' | 'it-it' | 'ja-jp' | 'ko-kr' | 'en-my' | 'es-mx' | 'nl-nl' | 'en-nz' | 'no-no' | 'zh-cn' | 'pl-pl' | 'en-ph' | 'ru-ru' | 'en-za' | 'es-es' | 'sv-se' | 'fr-ch' | 'de-ch' | 'zh-tw' | 'tr-tr' | 'en-gb' | 'en-us' | 'es-us'

Market code for localized results. Format: language-country (e.g., en-US)

country_code'AR' | 'AU' | 'AT' | 'BE' | 'BR' | 'CA' | 'CL' | 'DK' | 'FI' | 'FR' | 'DE' | 'HK' | 'IN' | 'ID' | 'IT' | 'JP' | 'KR' | 'MY' | 'MX' | 'NL' | 'NZ' | 'NO' | 'PL' | 'PT' | 'PH' | 'RU' | 'SA' | 'ZA' | 'ES' | 'SE' | 'CH' | 'TW' | 'TR' | 'GB' | 'US' | 'CN'

ISO 3166-1 alpha-2 country code

language'ar' | 'eu' | 'bn' | 'bg' | 'ca' | 'zh-hans' | 'zh-hant' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'en-gb' | 'et' | 'fi' | 'fr' | 'gl' | 'de' | 'gu' | 'he' | 'hi' | 'hu' | 'is' | 'it' | 'jp' | 'kn' | 'ko' | 'lv' | 'lt' | 'ms' | 'ml' | 'mr' | 'nb' | 'pl' | 'pt-br' | 'pt-pt' | 'pa' | 'ro' | 'ru' | 'sr' | 'sk' | 'sl' | 'es' | 'sv' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'vi'

Language code for search results

safe_search'off' | 'moderate' | 'strict'

Safe search filter level

time_period'last_day' | 'last_week' | 'last_month' | 'last_year'

Restricts results to a relative time period. Cannot be combined with filters.

time_period_minstring

Start of a custom time period, in MM/DD/YYYY or YYYY-MM-DD format. Cannot be combined with filters.

time_period_maxstring

End of a custom time period, in MM/DD/YYYY or YYYY-MM-DD format. Cannot be combined with filters.

filtersstring

Additional search filters. Cannot be combined with the time_period parameters.

pageinteger

Page number for pagination (starts at 1)

next_page_tokenstring

Token from pagination.next_page_token that starts the next page right after the last organic result of the previous response. Takes precedence over page. Use it with the same q.

numinteger

Number of results per page

Response

Successful response

errorstring

Error message when no results are returned

Changes

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