# Bing Search Scraper: SERP Results, Ads & Rank Tracker (`alexmorain/bing-search-scraper`) Actor

Bing search results for up to 1,000 keywords per run: organic results, ads, featured snippets, People also ask and other blocks, in stable columns. 180 countries, desktop or mobile, top 10 to 100. Rank tracking for your domain. From $1.20 per 1,000 pages.

- **URL**: https://apify.com/alexmorain/bing-search-scraper.md
- **Developed by:** [Alexis Morain](https://apify.com/alexmorain) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result pages

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/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

### What does Bing Search Scraper do?

**Bing Search Scraper** returns the Bing results page for a list of keywords, up to **1,000 keywords per run**. Every organic result, ad, featured snippet and SERP block (People also ask, related searches, videos, images, shopping, AI overview) becomes one row, with the same columns every time. Add your domain and it also tells you where you rank, and how that changed since the last run.

The data comes from [DataForSEO](https://dataforseo.com), a SERP data provider. No browser, no proxy to set up, no login, no API key to buy.

### Why use it?

- **Pay per page, not per result.** 1,000 pages of 10 results cost $2, $1.20 on the Gold plan. A top 10 for 1,000 keywords is 1,000 pages, a top 30 is 3,000. You pay for the depth you ask for, like the data provider bills it, so ask for the top 10 unless you need more.
- **Stable columns.** Organic results, ads and blocks share one flat schema, so a spreadsheet or a database import does not break when Bing adds a new block. `position` is the organic rank (1, 2, 3...), `absolutePosition` the rank on the page with ads and blocks counted.
- **Rank tracking built in.** Set `targetDomain`, turn on monitoring, schedule the run daily or weekly. You get one `rank` row per keyword: position, previous position, change, and a status (up, down, same, entered, dropped).
- **Failures cost nothing.** A keyword that fails, returns no results or returns unrelated results is delivered as such and is not charged.
- **Mobile by default, and off-topic pages are caught.** We ran the same 10 US keywords on Bing desktop and mobile on 9 November 2026. Mobile gave 10 correct pages. Desktop gave 7: one came back empty and two had nothing to do with the query ("electric car charger" returned a list of Wikipedia pages), and asking again did not fix them. So the Actor searches on mobile unless you pick desktop. It checks every page against the keyword. On mobile it asks once more when a page looks wrong. Any page still off is delivered with a `warning` and is not charged.

Use it to track your rankings outside Google, check what your competitors pay for in ads, collect People also ask questions for content ideas, or feed an SEO dashboard.

### How long does a run take?

Searches are queued at the data provider, which is what keeps the price low. **Results usually arrive within 2 to 5 minutes**, whether you send 1 keyword or 1,000. Rows are written as pages come back, so they are not in the order of your list. If a search is still not done after about 20 minutes, it comes back as an `error` row and is not charged.

### How to scrape Bing results

1. Click **Try for free**.
2. Paste your keywords, one per line.
3. Pick the country, the language and the device.
4. Choose how many results per keyword: top 10 to top 100.
5. Optional: add your domain and turn on monitoring.
6. Click **Start**, then download the results in JSON, CSV, Excel or HTML, or read them through the API.

### Input example

```json
{
  "keywords": ["best crm software"],
  "maxResults": "10",
  "targetDomain": "www.forbes.com",
  "monitor": true
}
```

### Output example

One organic result:

```json
{
  "keyword": "best crm software",
  "country": "US",
  "rowType": "result",
  "resultType": "organic",
  "position": 1,
  "absolutePosition": 3,
  "title": "...",
  "url": "https://www.forbes.com/...",
  "domain": "www.forbes.com",
  "isTargetDomain": true
}
```

One rank row, on the second run of a watch:

```json
{
  "keyword": "best crm software",
  "rowType": "rank",
  "targetDomain": "www.forbes.com",
  "targetPosition": 2,
  "previousPosition": 5,
  "positionChange": 3,
  "rankStatus": "up"
}
```

### What data does it return?

Three row types, told apart by `rowType`. Every row has every field, `null` when it does not apply.

| Field | Description |
|---|---|
| `rowType` | `result`, `rank` (your domain, one per keyword) or `error` |
| `resultType` | `organic`, `paid`, `featured_snippet`, `people_also_ask`, `related_searches`, `video`, `images`... |
| `position`, `absolutePosition`, `page` | Rank within the type, rank on the page, result page |
| `title`, `url`, `domain`, `description`, `breadcrumb` | The result itself |
| `sitelinks`, `blockItems`, `text` | Sitelinks of a result, items of a block, text of an answer block |
| `isFeaturedSnippet`, `isTargetDomain` | Flags |
| `targetDomain`, `targetPosition`, `targetUrl` | Rank rows: your best organic position and its URL |
| `previousPosition`, `positionChange`, `rankStatus` | Rank rows with monitoring |
| `totalResults`, `checkUrl` | Results announced by the engine, the search URL to check by hand |
| `warning`, `error` | Why a keyword was not charged |
| `engine`, `keyword`, `country`, `language`, `device`, `scrapedAt` | Context |

A `SUMMARY` record in the run's key-value store gives keywords delivered, pages charged, errors and rank changes.

### How much does it cost?

| | Free and Bronze | Silver | Gold and above |
|---|---|---|---|
| Per 1,000 result pages | $2 | $1.50 | $1.20 |

Plus $0.005 per run (Actor start). One result page is up to 10 results for one keyword, ads and blocks included. Duplicate keywords are removed and never charged. Set a maximum cost per run in the run options: the Actor stops before it goes over and keeps what it delivered.

Free Apify plan: up to 0.15 USD of DataForSEO data per day; paid plans unlimited.

### Rank tracking

Set `targetDomain` to your domain. `https://www.example.com/blog` is read as `example.com`, and subdomains count as yours. Each keyword gets one `rank` row with your best organic position in the results read. Not in the top 100 you asked for? `targetPosition` is empty and `rankStatus` is `not_found`.

Turn on `monitor` and the Actor remembers each position in a key-value store of your account. On the next run each rank row says `up`, `down`, `same`, `entered` (absent last time, present now) or `dropped`. Positions older than 90 days are forgotten. Schedule the run in Apify to get a daily or weekly report, and add a webhook to be told when it ends.

### FAQ

**Is it legal to scrape Bing?** The Actor reads public search results through a data provider. It collects no personal data beyond what appears in public results. Check the rules that apply to your use.

**Why do my results differ from what I see in my browser?** Search results depend on location, language, device and history. The Actor searches as an anonymous user from the country you picked.

**Can I search one city?** Not yet. This version searches at country level.

**Something is wrong or missing?** Open an issue on the Issues tab. I read them.

This Actor is an independent project and is not affiliated with Bing.

### Guide and use cases

Use cases for outbound and automation, the output fields, pricing and common questions are on the [Bing Search Scraper page](https://alexis.morain.fr/en/scrapers/bing-search-scraper/) of my site. The [SEO and search engines family page](https://alexis.morain.fr/en/scrapers/families/seo/) puts it side by side with the other scrapers of the same family.

# Actor input Schema

## `keywords` (type: `array`):

One search query per line, up to 1,000 per run. Each keyword is searched on Bing once. Duplicates (same text, any case) are removed and never charged.

## `country` (type: `string`):

Country the search is run from. 180 countries on Bing.

## `language` (type: `string`):

Interface language of the search engine. Pick the language of your keywords.

## `device` (type: `string`):

Desktop or mobile results. They often differ.

## `maxResults` (type: `string`):

How deep to read. You pay per page of 10 results asked: top 30 is 3 pages, even when the search engine has fewer results to show.

## `includeBlocks` (type: `boolean`):

Also return People also ask, related searches, videos, images, shopping and other blocks, one row each with their items. Off: organic results, ads and featured snippets only. Same price either way.

## `targetDomain` (type: `string`):

Flags the results of this domain and its subdomains (<code>isTargetDomain</code>) and adds one <code>rank</code> row per keyword with its best organic position. <code>https://www.example.com/page</code> is read as <code>example.com</code>.

## `monitor` (type: `boolean`):

Remembers each position and reports the change on the next run: up, down, same, entered or dropped, with <code>previousPosition</code> and <code>positionChange</code>. Needs a domain above. Schedule the run daily or weekly.

## `watchName` (type: `string`):

Name of the position memory. Leave empty and it is derived from the domain, country, language, device and keywords. Set it to keep history when you edit the keyword list.

## `webhookUrl` (type: `string`):

Called once with the run summary when the run ends (Slack, Discord, Make, Zapier, n8n). Must start with <code>https://</code>.

## Actor input object example

```json
{
  "keywords": [
    "best crm software"
  ],
  "country": "US",
  "language": "en",
  "device": "mobile",
  "maxResults": "10",
  "includeBlocks": true,
  "monitor": false
}
```

# Actor output Schema

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

All rows in the default dataset.

## `summary` (type: `string`):

Keywords delivered, pages charged, errors, rank changes.

# 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 = {
    "keywords": [
        "best crm software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alexmorain/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 = { "keywords": ["best crm software"] }

# Run the Actor and wait for it to finish
run = client.actor("alexmorain/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 '{
  "keywords": [
    "best crm software"
  ]
}' |
apify call alexmorain/bing-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alexmorain/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/dIsmb1noA3dXqBI13/builds/ORVOgg4d21NYMbSzJ/openapi.json
