# Bing Search Results Scraper (`scrapesmith/bing-search-results-scraper`) Actor

Scrape Bing search results for any keyword in any language. Organic results, paid ads, People Also Ask, related searches, siteLinks. No browser, no proxy, no paid API key.

- **URL**: https://apify.com/scrapesmith/bing-search-results-scraper.md
- **Developed by:** [Scrape Smith](https://apify.com/scrapesmith) (community)
- **Categories:** Developer tools, SEO tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Bing Search Scraper — SERP Results, People Also Ask & Related Queries

Extract structured search results from Bing for any keyword in any language. Organic results, paid ads, People Also Ask, related searches, siteLinks — all in flat, CSV-ready rows.

---

### Why This Scraper?

- **5,000+ results from a single query** — unlimited pagination depth
- **16 fields per result** — everything visible on the SERP page
- **No browser, no proxy, no API key** — fast, cheap, reliable
- **10 queries processed in parallel** — 500 results in under a minute
- **200+ markets** — any language, any country Bing supports

---

### What Data Do You Get?

| Output Type | Description |
|---|---|
| **Organic Results** | Title, URL, snippet, display URL, position, site links, date, icon, emphasized keywords |
| **Total Results** | The "X results" count Bing shows (e.g. 32,600) |
| **Paid Ads** | Title, URL, snippet — clearly marked as type "ad" |
| **People Also Ask** | Question text, answer snippet, source URL |
| **Related Searches** | Query suggestion text, Bing search URL |

---

### Input

```json
{
  "queries": ["python programming", "bitcoin price", "best restaurants NYC"],
  "maxResults": 50,
  "market": "en-US"
}
````

| Parameter | Type | Default | Description |
|---|---|---|---|
| `queries` | string\[] | — | Search queries to scrape |
| `maxResults` | integer | `10` | Max organic results per query |
| `market` | string | `en-US` | Language/country (de-DE, fr-FR, ja-JP, etc.) |
| `includeAds` | boolean | `true` | Include paid advertisements |
| `includeRelatedSearches` | boolean | `true` | Include related search suggestions |
| `includePeopleAlsoAsk` | boolean | `true` | Include People Also Ask questions |

***

### Sample Output

```json
{
  "query": "python programming",
  "position": 1,
  "title": "Welcome to Python.org",
  "url": "https://www.python.org/",
  "displayUrl": "https://www.python.org",
  "snippet": "The official home of the Python Programming Language...",
  "iconUrl": "https://th.bing.com/...",
  "emphasizedKeywords": ["Python", "Programming"],
  "date": null,
  "siteLinks": [
    {"url": "https://www.python.org/downloads/", "title": "Downloads", "description": ""}
  ],
  "type": "organic",
  "page": 1,
  "resultsTotal": 25500,
  "searchUrl": "https://www.bing.com/search?q=python+programming&mkt=en-US",
  "market": "en-US"
}
```

***

### How Fast Is It?

| Scenario | Results | Time |
|---|---|---|
| 1 query, 10 results | 10 | ~8 seconds |
| 10 queries, 50 results each | 500 | ~45 seconds |
| 1 query, 200 results | 200 | ~50 seconds |
| 1 query, 5,000 results (deep pagination) | 5,000 | ~18 minutes |

***

### Use Cases

- **SEO rank tracking** — monitor your position and competitors across Bing for target keywords
- **Keyword research** — discover related queries and People Also Ask questions at scale
- **Market intelligence** — compare search results across countries and languages
- **Ad monitoring** — track who's buying ads on your keywords
- **Content gap analysis** — find what ranks for keywords where you don't
- **SERP feature analysis** — track siteLinks, featured snippets, knowledge panels

***

### Supported Markets

Any Bing-supported market: `en-US`, `en-GB`, `de-DE`, `fr-FR`, `es-ES`, `it-IT`, `pt-BR`, `ja-JP`, `zh-CN`, `ko-KR`, `ar-SA`, `hi-IN`, `nl-NL`, `sv-SE`, `pl-PL`, and 200+ more.

***

### FAQ

**How many results can I get from one query?**
Over 5,000 — Bing has no hard pagination ceiling. Tested to 500 pages deep.

**Does this need a Bing API key?**
No. Results are extracted directly from Bing's search pages. No API key, no account, no quotas.

**How is this different from the Bing Web Search API?**
The official API costs $7 per 1,000 queries and imposes strict rate limits. This scraper has no such limits and costs a fraction of the price.

**Can I search in different languages?**
Yes. Set the `market` parameter — for example `de-DE` returns German-language results from Bing Germany.

**What are emphasized keywords?**
These are the bold words Bing highlights in the snippet — usually your search terms as they appear in the page content.

**What are siteLinks?**
Sub-links that appear under some results (like "Downloads", "Documentation", "About" under python.org). Captured as an array.

**Is there a free trial?**
Yes. Every run includes free results so you can verify data quality.

**What output formats are available?**
JSON, CSV, Excel, XML — all available directly from the Apify dataset.

# Actor input Schema

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

List of search queries to run on Bing.

## `maxResults` (type: `integer`):

Maximum number of organic results to return per query.

## `market` (type: `string`):

Bing market for localized results.

## `includeAds` (type: `boolean`):

Include paid advertisement results (marked with type=ad).

## `includeRelatedSearches` (type: `boolean`):

Include related search suggestions from the SERP.

## `includePeopleAlsoAsk` (type: `boolean`):

Include 'People Also Ask' questions from the SERP.

## Actor input object example

```json
{
  "queries": [
    "python programming"
  ],
  "maxResults": 10,
  "market": "en-US",
  "includeAds": true,
  "includeRelatedSearches": true,
  "includePeopleAlsoAsk": true
}
```

# 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": [
        "python programming"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesmith/bing-search-results-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": ["python programming"] }

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "python programming"
  ]
}' |
apify call scrapesmith/bing-search-results-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapesmith/bing-search-results-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bing Search Results Scraper",
        "description": "Scrape Bing search results for any keyword in any language. Organic results, paid ads, People Also Ask, related searches, siteLinks. No browser, no proxy, no paid API key.",
        "version": "0.0",
        "x-build-id": "x8MpnTD5RVAiUGfB4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapesmith~bing-search-results-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapesmith-bing-search-results-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapesmith~bing-search-results-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapesmith-bing-search-results-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapesmith~bing-search-results-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapesmith-bing-search-results-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "queries"
                ],
                "properties": {
                    "queries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "List of search queries to run on Bing.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max Results Per Query",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of organic results to return per query.",
                        "default": 10
                    },
                    "market": {
                        "title": "Market / Country",
                        "enum": [
                            "en-US",
                            "en-GB",
                            "en-CA",
                            "en-AU",
                            "en-IN",
                            "en-NZ",
                            "en-ZA",
                            "en-IE",
                            "de-DE",
                            "de-AT",
                            "de-CH",
                            "fr-FR",
                            "fr-CA",
                            "fr-BE",
                            "fr-CH",
                            "es-ES",
                            "es-MX",
                            "es-AR",
                            "es-CL",
                            "es-CO",
                            "pt-BR",
                            "pt-PT",
                            "it-IT",
                            "nl-NL",
                            "nl-BE",
                            "sv-SE",
                            "da-DK",
                            "nb-NO",
                            "fi-FI",
                            "pl-PL",
                            "tr-TR",
                            "ru-RU",
                            "ja-JP",
                            "ko-KR",
                            "zh-CN",
                            "zh-TW",
                            "zh-HK",
                            "ar-SA",
                            "ar-EG",
                            "ar-AE",
                            "hi-IN",
                            "th-TH",
                            "vi-VN",
                            "id-ID",
                            "ms-MY",
                            "he-IL",
                            "cs-CZ",
                            "ro-RO",
                            "hu-HU",
                            "el-GR",
                            "uk-UA",
                            "bg-BG",
                            "hr-HR",
                            "sk-SK",
                            "sl-SI",
                            "et-EE",
                            "lv-LV",
                            "lt-LT"
                        ],
                        "type": "string",
                        "description": "Bing market for localized results.",
                        "default": "en-US"
                    },
                    "includeAds": {
                        "title": "Include Ads",
                        "type": "boolean",
                        "description": "Include paid advertisement results (marked with type=ad).",
                        "default": true
                    },
                    "includeRelatedSearches": {
                        "title": "Include Related Searches",
                        "type": "boolean",
                        "description": "Include related search suggestions from the SERP.",
                        "default": true
                    },
                    "includePeopleAlsoAsk": {
                        "title": "Include People Also Ask",
                        "type": "boolean",
                        "description": "Include 'People Also Ask' questions from the SERP.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
