> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapio.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bing Search

> Execute a Bing SERP query and receive structured organic and paid results.

<Note>
  Bing Search endpoints require a paid plan (Starter or higher). Without one, this endpoint returns `402 plan_upgrade_required`. See [Pricing](/pricing) for details.
</Note>


## OpenAPI

````yaml get /v1/bing/search
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/bing/search:
    get:
      tags:
        - Bing
      summary: Search Bing
      description: >-
        Searches Bing and returns structured organic and paid (sponsored)
        results. Backed by our own maintained `bing_search` Web Scraping API
        target. Requires a Starter plan or higher.
      operationId: searchBing
      parameters:
        - name: search
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            description: Search query text
        - name: geo
          in: query
          required: false
          schema:
            description: Country to use when submitting the query
            type: string
            minLength: 2
            maxLength: 64
        - name: locale
          in: query
          required: false
          schema:
            description: Bing web interface language
            type: string
            minLength: 2
            maxLength: 16
        - name: domain
          in: query
          required: false
          schema:
            description: Top-level domain to search, e.g. 'co.uk'
            type: string
            minLength: 2
            maxLength: 16
        - name: page
          in: query
          required: false
          schema:
            description: Starting page number (1-100)
            type: integer
            minimum: 1
            maximum: 100
        - name: page_count
          in: query
          required: false
          schema:
            description: Number of result pages to fetch (1-10)
            type: integer
            minimum: 1
            maximum: 10
      responses:
        '200':
          description: Structured Bing search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BingSearchResponse'
        '400':
          description: Invalid search parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Bing search requires a Starter plan or higher.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Daily credit cap exceeded, or the upstream provider rate-limited the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Bing upstream failed or returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Bing execution backend unavailable or unconfigured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: |-
            curl "https://api.scrapio.dev/v1/bing/search?search=laptop" \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    BingSearchResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - bing
        request_id:
          type: string
        query_context:
          type: object
          properties:
            search:
              type: string
            geo:
              type: string
            locale:
              type: string
            domain:
              type: string
            page:
              type: integer
              exclusiveMinimum: 0
              maximum: 9007199254740991
          required:
            - search
          additionalProperties: false
        meta_data:
          type: object
          properties:
            page:
              anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
            url:
              anyOf:
                - type: string
                  format: uri
                - type: 'null'
          required:
            - page
            - url
          additionalProperties: false
        organic_results:
          type: array
          items:
            type: object
            properties:
              position:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              position_overall:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              title:
                type: string
              description:
                anyOf:
                  - type: string
                  - type: 'null'
              url:
                type: string
                format: uri
              url_shown:
                anyOf:
                  - type: string
                  - type: 'null'
            required:
              - position
              - position_overall
              - title
              - description
              - url
              - url_shown
            additionalProperties: false
        paid_results:
          type: array
          items:
            type: object
            properties:
              position:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              position_overall:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              title:
                type: string
              description:
                anyOf:
                  - type: string
                  - type: 'null'
              url:
                type: string
                format: uri
              url_shown:
                anyOf:
                  - type: string
                  - type: 'null'
            required:
              - position
              - position_overall
              - title
              - description
              - url
              - url_shown
            additionalProperties: false
      required:
        - provider
        - request_id
        - query_context
        - meta_data
        - organic_results
        - paid_results
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````