Logo

Basics

  • Getting Started
  • Client Usage

User Guide

  • User Guide Overview
  • Parameters and Engines
  • Output Formats
  • Extract API
  • Pagination
  • Errors and Timeouts
  • Account and Locations

Migration

  • Migrating from google-search-results

Advanced Usage

  • Async Search Archive
  • Async Client
  • Threading
  • Multiprocessing
  • Zero Trace and Data Retention
  • JSON Restrictor
  • Request Options

AI Agents

  • AI Agents
  • Examples
    • Search Engines
      • Google Across Countries
      • Bing Search
      • DuckDuckGo Search
      • Baidu Search
    • AI Answers
      • Google AI Overview
    • Local and Maps
      • Google Maps Local Businesses
      • Google Local Services
    • Shopping and Marketplaces
      • Google Shopping Products
      • Google Shopping Price Monitoring
      • Amazon Product Search
      • Walmart Product Search
      • eBay Product Listings
      • Home Depot Product Search
    • Travel and Hospitality
      • Google Flights Travel
      • Tripadvisor Travel Search
    • Finance, Trends, and Jobs
      • Google Finance Market Data
      • Google Trends Demand
      • Google News Monitoring
      • Google Jobs Listings
    • Media, Apps, and Research
      • YouTube Video Search
      • Google Images Search
      • Google Lens Image Upload
      • Google Scholar Research
      • Google Play Store Apps

Reference

  • API Reference
serpapi
  • Examples
  • Search Engines
  • Bing Search
  • View page source

Bing Search

Search Bing to read its web results or compare them with Google results. The example below searches for coffee from Austin, Texas. You can add language, location, and pagination parameters to the same request.

Search Bing

Install the package and set your API key before running this example.

import os
import serpapi


client = serpapi.Client(api_key=os.environ["SERPAPI_KEY"], timeout=20)

results = client.search(
    engine="bing",
    q="coffee",
    location="Austin, Texas",
)

for result in results.get("organic_results", [])[:5]:
    print(result.get("position"), result.get("title"))
    print(result.get("link"))

Read the Results

Read web listings from organic_results. Each listing can include a title, link, snippet, and position. To see which other sections the response contains, print its keys:

print(results.keys())

For all supported Bing parameters, see the Bing Search API documentation. To try different parameters in your browser, use the SerpApi Playground.

Previous Next

© Copyright 2026 SerpApi, LLC.

Built with Sphinx using a theme provided by Read the Docs.