# Bing Search Scraper (`fastdataapi/bing-search-scraper`) Actor

Bing Search Scraper scrapes Bing web search results in bulk: organic results, ads, People also ask, related searches and total result count for any keyword or Bing URL, in 110 markets. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/fastdataapi/bing-search-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Bing Search Scraper — Organic Results, Ads, Related Searches

Bing Search Scraper extracts Bing web search results for any keyword or Bing search URL, page by page. Each result page comes back with its organic results (title, link, snippet, date, highlighted words), paid ads, People also ask questions, related searches and Bing's estimated result count. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed an SEO monitoring pipeline. **No Bing account or cookies needed.** Start with one keyword, then track every market you rank in.

![Bing Search Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-bing-search-hero.webp)

***

### What data can I extract with Bing Search Scraper?

Using this Bing Search API, you will be able to extract the following Bing search result data:

| 🔎 Search term | 📄 Page number | 📍 Market and language | 🔢 Estimated result count |
|---|---|---|---|
| 🏆 Organic position | 📰 Result title | 🔗 Result link | 🌐 Displayed address |
| 📝 Snippet | 📅 Date (if shown) | ✨ Highlighted words | 🖼️ Site icon |
| 🧭 Site links (if shown) | 💰 Paid ads with position | ❓ People also ask (if shown) | 🔁 Related searches |
| 🧾 Page HTML (optional) | 💾 Saved HTML file link (optional) | 🔗 Result page address | |

***

### How to use Bing Search Scraper

SEO teams, marketers and AI-agent builders get the full first pages of Bing for their keywords, in any market, from one run.

**Copy to your AI assistant:**

```text
`fastdataapi/bing-search-scraper` is an Apify Actor that returns Bing web search result pages as structured JSON: organic results with position, title, link, displayed address, snippet, date and highlighted words, paid ads, People also ask questions, related searches and Bing's estimated result count. Use it whenever someone needs Bing search results without cookies, a login, or a browser - rank tracking in many markets, ad monitoring for a keyword, collecting related searches for content planning. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/fastdataapi~bing-search-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"queries":["laptop","https://www.bing.com/search?q=crawlee"],"maxItems":2,"marketCode":"en-US","languageCode":"en"}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/bing-search-scraper").call(run_input={"queries": ["laptop"], "maxItems": 2}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: queries (array of strings, search terms or full Bing search URLs, required), maxItems (integer, most result pages for each search, every search gets its own count, default 10), marketCode (string, Bing market such as "en-US" | "en-GB" | "de-DE" | "fr-FR" and 106 more, default "" = the market in the URL, else en-US), languageCode (string, interface and result language such as "en" | "de" | "fr" and 67 more, default "" = the market's language), fetchResultsTotal (boolean, fill Bing's estimated result count, default true), saveHtml (boolean, put each page's raw HTML in the row, default false), saveHtmlSnapshotUrls (boolean, save each page's HTML to the run's key-value store and return its link, default false), maxRetries (integer, tries per result page, default 3), proxyConfiguration (object, optional starting proxy, default no proxy). Each dataset row is one result page with up to 10 organic results; billing is one row_result event per stored row. When a search has fewer results than asked, the run stops at the last page Bing has and the log says so. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/fastdataapi~bing-search-scraper/builds/default
```

#### Bing Search Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Bing on its own: organic results, ads, People also ask and related searches for any keyword and market. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-search-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Bing Search Scraper](https://apify.com/fastdataapi/bing-search-scraper) in the Apify Store.
3. Type your Bing keywords, or paste full Bing search URLs.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Bing Search Scraper to bulk

Put every keyword and Bing URL into **Search terms or URLs** — one run handles them all, three searches at a time. **Max result pages per search** applies to each search on its own: 3 searches with 10 give up to 30 pages, and a search with fewer results stops at its last page. For daily rank tracking, save the input as a task and schedule it in Apify Console, or start runs from your own code through the API.

***

### ✨ Features

Bing Search Scraper fetches clean, structured result pages from Bing search. It's ideal for rank tracking, competitor ad monitoring, keyword research and building search context for AI agents. It extracts, per result page:

- **Organic results** – up to 10 per page, each with its position across all pages, title, link, displayed address and snippet
- **Date and highlighted words** – the date Bing shows next to a result and the words it highlights in bold
- **Paid ads** – the ads shown with the page, with title, link, displayed address, text and ad position
- **Related searches** – the related keywords Bing suggests, with their search links
- **People also ask** – the questions and answers Bing shows for the keyword, when it shows them
- **Estimated result count** – Bing's "About N results" figure for the search
- **Market and language** – the market and language each page was searched in

⚡ Every page holds 10 organic results like a normal Bing results page, and positions run on without gaps from page to page (1–100 in a recorded 10-page run).

***

### Use cases 💡

- **SEO specialist** — track organic positions for your keywords across 110 Bing markets.
- **PPC manager** — see which advertisers bid on your keywords and what their ads say.
- **Content strategist** — mine related searches and People also ask for new article topics.
- **Market researcher** — compare result pages for one keyword between countries and languages.
- **AI-agent builder** — give your agent fresh Bing results as context for RAG answers.

Building an AI agent? [Connect Bing Search Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **Deep result lists in seconds.** A recorded run returned 10 result pages with 100 organic results for "laptop" (positions 1–100, no duplicates) in 14.4 seconds.
- **The whole page, not just links.** One recorded page for "weather forecast" came back with 10 organic results, 4 ads, 12 related searches and an estimated 805,000 results.
- **110 markets, 70 languages, one actor.** Pick the market and language from a list, or paste a Bing URL with its own filters, such as a date filter.

***

### ⬇️ Input

![Bing Search Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-bing-search-input.webp)

The actor takes a list of search terms and/or full Bing search URLs; **Search terms or URLs** is the only required field.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `queries` | Yes | array | Search terms (one per line) or full Bing search URLs. Filters in a URL (date filter, market, start offset) are kept. | `["laptop", "https://www.bing.com/search?q=crawlee"]` |
| `maxItems` | No | integer | Most result pages for each search term or URL; every search gets its own count (3 searches × 10 = up to 30 pages). Each page is one row with up to 10 organic results. Default 10, minimum 1. | `10` |
| `marketCode` | No | string | Bing market (country and language), 110 to choose from. Default empty = the market in a search URL, else United States (en-US). | `"en-GB"` |
| `languageCode` | No | string | Interface and preferred result language, 70 to choose from. Default empty = the market's own language. | `"en"` |
| `fetchResultsTotal` | No | boolean | Fill Bing's estimated result count for each search (one extra quick request per search). Default true. | `true` |
| `saveHtml` | No | boolean | Put the raw HTML of each result page into the row. Default false. | `false` |
| `saveHtmlSnapshotUrls` | No | boolean | Save the HTML of each result page in the run's key-value store and add its link to the row. Default false. | `false` |
| `maxRetries` | No | integer | How many times a result page is tried before the search moves on. Default 3, minimum 1. | `3` |
| `proxyConfiguration` | No | object | Optional proxy to start with. Default: no proxy; the actor switches to a proxy by itself when it is blocked. | `{"useApifyProxy": false}` |

#### Free plan limits

Users on the Apify free plan can fetch up to 20 result pages per run (all searches together)
and 200 result pages per month. When the limit is reached the run finishes successfully with a
status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
    "queries": ["laptop", "https://www.bing.com/search?q=crawlee"],
    "maxItems": 2,
    "marketCode": "en-US",
    "languageCode": "en",
    "fetchResultsTotal": true,
    "saveHtml": false,
    "saveHtmlSnapshotUrls": false,
    "maxRetries": 3,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

***

### ⬆️ Output

![Bing Search Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-bing-search-output.webp)

Every result page is one typed, normalized JSON item with the same schema on every run, holding up to 10 organic results plus the ads, People also ask questions and related searches shown with them. Export it as JSON (default), CSV or Excel; the Output tab also has separate views for organic results, ads, People also ask and related searches.

#### Example output

```json
{
  "searchQuery": {
    "term": "weather forecast",
    "page": 1,
    "url": "https://www.bing.com/search?q=weather+forecast&mkt=en-US&setLang=en",
    "marketCode": "en-US",
    "languageCode": "en"
  },
  "html": null,
  "htmlSnapshotUrl": null,
  "resultsTotal": 805000,
  "organicResults": [
    {
      "iconUrl": "https://th.bing.com/th/id/ODF.pdW9xuYt5kPwuLymTnzprg?w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2",
      "displayedUrl": "https://weather.com › us › new-york › city › new-york-city › today",
      "title": "Weather Forecast and Conditions for New York City, New York - The ...",
      "url": "https://weather.com/us/new-york/city/new-york-city/today",
      "description": "Today’s and tonight’s New York City, New York weather forecast, weather conditions and Doppler radar from The Weather Channel and …",
      "date": null,
      "emphasizedKeywords": ["weather", "new-york › city", "new-york-city"],
      "type": "organic",
      "position": 1,
      "productInfo": {},
      "siteLinks": []
    },
    {
      "iconUrl": "https://th.bing.com/th/id/ODF.UX_DbqCm9rHIwhP7KLxSiw?w=32&h=32&qlt=91&pcl=fffffa&o=6&pid=1.2",
      "displayedUrl": "https://www.weather-forecast.com › locations › New-York",
      "title": "New York Weather Forecast",
      "url": "https://www.weather-forecast.com/locations/New-York/forecasts/latest",
      "description": "Live weather reports from New York weather stations and weather warnings that include risk of thunder, high UV index and …",
      "date": "1 day ago",
      "emphasizedKeywords": ["www.weather-forecast.com", "New-York"],
      "type": "organic",
      "position": 2,
      "productInfo": {},
      "siteLinks": []
    }
  ],
  "paidResults": [
    {
      "iconUrl": "https://th.bing.com/th/id/ODLS.A2450BEC-5595-40BA-9F13-D9EC6AB74B9F?w=32&h=32&o=6&pid=AdsPlus",
      "displayedUrl": "https://weather-forecast-b6923qp.apprita.com › Local Weather",
      "title": "Free Local Weather App - Local Weather Free App",
      "url": "https://weather-forecast-b6923qp.apprita.com/detail/life.widget.accurate.channel.local.weather.forecast?bingcust=abdf1450037ld&msclkid=757aedeaeca91f07ee96871fb9eed7cc&utm_source=bing&utm_medium=cpc&utm_campaign=art_app_us_phone_weather-forecast-b6923qp&utm_term=weather%20forecast&utm_content=Weather%20Forecast%20(generic)",
      "description": "Download Local Weather Free & Safely. Install Local Weather Quickly & Without Hassle.",
      "type": "paid",
      "position": 1
    }
  ],
  "peopleAlsoAsk": [],
  "relatedQueries": [
    {"title": "weather forecast near me", "url": "https://www.bing.com/search?q=weather+forecast+near+me&FORM=QSRE9"}
  ]
}
```

***

### How does it work?

Bing Search Scraper reads Bing's public search result pages — the same pages any visitor sees without logging in — so no Bing account, cookies or browser setup is needed on your side. You send keywords or Bing URLs; the actor requests each result page for the market and language you chose, follows Bing's own pagination and builds full pages of 10 organic results. It checks every page for new results, so repeated results are dropped and a search stops cleanly at the end of what Bing returns. If a page fails, it retries, and if Bing blocks the requests it switches to a proxy by itself. Every result is mapped to the same normalized JSON schema, so your code keeps working when Bing changes the look of its pages.

***

### How do you integrate Bing Search Scraper into your stack?

Bing Search Scraper works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Bing Search Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/fastdataapi~bing-search-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"queries": ["laptop"], "maxItems": 2, "marketCode": "en-US"},
)
for page in resp.json():
    for result in page["organicResults"]:
        print(result["position"], result["title"], result["url"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Add Bing Search Scraper to your AI agent with one command:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-search-scraper"
```

This registers Bing Search Scraper as a tool your agent can call directly. It works with Claude Code, Cursor, Windsurf and other MCP clients, so your agent can look up fresh Bing results, ads and related searches whenever a task needs them.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node with "Run an Actor" and pick `fastdataapi/bing-search-scraper`, or point the HTTP Request node at the run-sync endpoint with your token.
- **Make** — add the Apify app's "Run an Actor" module, then "Get Dataset Items" to read the result pages.
- **LangChain** — install `langchain-apify` and use `ApifyActorsTool("fastdataapi/bing-search-scraper")` as a tool for your agent.

***

### Is it legal to scrape Bing data?

Scraping publicly available Bing search results is generally legal, as long as you respect applicable laws and use the data responsibly. Bing Search Scraper returns only publicly available data — what any user sees without logging in. Under GDPR, collecting public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Bing Search Scraper return?

Each result page holds the organic results (position, title, link, snippet, date), the paid ads, People also ask questions, related searches and Bing's estimated result count. See [the data fields section](#what-data-can-i-extract-with-bing-search-scraper) for the full list.

#### Does Bing Search Scraper require a Bing account or login?

No. Only public Bing search results are extracted. No credentials are needed.

#### How fast does Bing Search Scraper run?

A recorded run returned 100 organic results on 10 pages for one keyword in 14.4 seconds, and 2 searches (a keyword and a Bing URL) with 20 organic results in 7.1 seconds. Results are fetched live, not from a cache.

#### What happens if a search has no results or can't be loaded?

A search with fewer results than you asked for returns the pages Bing has, and the log says the end of the results was reached. A search that can't be loaded is listed as failed in the log and the status message, adds no rows and is not charged; the other searches still run.

#### Can I scrape multiple Bing searches at once?

Yes. Put many keywords and Bing URLs into one list; the run handles three searches at a time and shares the page total between them.

#### Does Bing Search Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Bing Search Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-search-scraper"`. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Bing Search Scraper return data in a format LLMs can use directly?

Yes. Every page is typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### What happens when Bing changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Bing changes, the actor is updated — your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Bing Search Scraper without managing proxies or browser infrastructure?

Yes. Retries and switching to a proxy when Bing blocks run on the actor's side. You send one request and get structured JSON back. No proxy accounts, no headless browser setup, no maintenance.

#### Which Bing search fields work best for AI training data and RAG indexing?

For RAG: the result titles, snippets, People also ask answers and related searches. For training data: organic and ad positions, highlighted words and the estimated result count. All fields are typed values — strings, integers and lists — no normalization needed.

***

### Your feedback

Found a bug or missing a field? Let us know in the actor's Issues tab. Every report is read, and fixes ship as updates to this actor.

# Actor input Schema

## `queries` (type: `array`):

Search terms (one per line) or full Bing search URLs (https://www.bing.com/search?q=...). Filters in a URL (for example a date filter, market or start offset) are kept. Several entries run in one go.

## `maxItems` (type: `integer`):

Most result pages to return for each search term or URL (each search gets its own count: 3 searches × 10 = up to 30 pages). Each page is one row with up to 10 organic results plus the ads, People also ask and related searches shown with them; a search with fewer results stops at its last page. Free plan: up to 20 result pages per run (all searches together) and 200 per month; paid plans have no limit.

## `marketCode` (type: `string`):

The Bing market (country and language) to search in; results are localized to it. Empty = the market in a search URL, else United States (en-US).

## `languageCode` (type: `string`):

Language of the Bing interface and preferred result language. Empty = the market's own language.

## `fetchResultsTotal` (type: `boolean`):

Fill resultsTotal with Bing's estimated number of results ("About N results") for each search. Adds one quick extra request per search.

## `saveHtml` (type: `boolean`):

Put the raw HTML of each result page into the row's html field. Makes rows much larger.

## `saveHtmlSnapshotUrls` (type: `boolean`):

Store the HTML of each result page in the run's key-value store and put its link in htmlSnapshotUrl.

## `maxRetries` (type: `integer`):

How many times a result page is tried before the search moves on. Blocked requests are also retried on a new connection.

## `proxyConfiguration` (type: `object`):

Optional proxy to start with. If Bing blocks the requests, the actor switches to a residential proxy automatically.

## Actor input object example

```json
{
  "queries": [
    "laptop",
    "https://www.bing.com/search?q=crawlee"
  ],
  "maxItems": 10,
  "marketCode": "",
  "languageCode": "",
  "fetchResultsTotal": true,
  "saveHtml": false,
  "saveHtmlSnapshotUrls": false,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `organic` (type: `string`):

No description

## `ads` (type: `string`):

No description

## `peopleAlsoAsk` (type: `string`):

No description

## `related` (type: `string`):

No description

## `htmlFiles` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "laptop",
        "https://www.bing.com/search?q=crawlee"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/bing-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": [
        "laptop",
        "https://www.bing.com/search?q=crawlee",
    ],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/bing-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "laptop",
    "https://www.bing.com/search?q=crawlee"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/bing-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastdataapi/bing-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iZODuv8f1WmF2c2zc/builds/AsgRXcfKbNeWkM6Rc/openapi.json
