---
openapi: 3.1.0
info:
  title: Bing Search — SearchApi
  version: 3.1.0
  description: Generated from the SearchApi engine catalog. Parameters marked in the
    catalog as unverified are described from its records rather than from the vendor's
    specification.
servers:
- url: https://www.searchapi.io/api/v1
paths:
  "/search":
    get:
      operationId: bing
      summary: Bing Search
      parameters:
      - name: engine
        in: query
        required: true
        description: Engine that retrieves the data; fixed per API (see Apis::BY_ENGINE
          keys).
        schema:
          type: string
          const: bing
      - name: api_key
        in: query
        required: true
        description: 'SearchApi.io API key; alternatively send ''Authorization: Bearer
          <key>''.'
        schema:
          type: string
      - name: zero_retention
        in: query
        required: false
        description: 'Enterprise-only: disables all logging and persistent storage
          of the search.'
        schema:
          type: boolean
          default: false
      - name: q
        in: query
        required: true
        description: Search query; most engines accept native operators and advanced
          filters.
        schema:
          type: string
      - name: device
        in: query
        required: false
        description: Device to emulate for the search.
        schema:
          type: string
          enum:
          - desktop
          - mobile
          - tablet
          default: desktop
      - name: mkt
        in: query
        required: false
        description: Market of the search, e.g. en-US.
        schema:
          type: string
      - name: language
        in: query
        required: false
        description: Language of the results; values listed at docs/parameters/bing/language.
        schema:
          type: string
      - name: safe_search
        in: query
        required: false
        description: Adult content filtering level.
        schema:
          type: string
          enum:
          - strict
          - moderate
          - 'off'
      - name: page
        in: query
        required: false
        description: Page number of the results.
        schema:
          type: integer
          default: 1
      - name: num
        in: query
        required: false
        description: Number of results per page.
        schema:
          type: integer
      responses:
        '200':
          description: A Bing Search result envelope.
