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

Bing Search scraper API: organic web results, People Also Ask, related searches, Bing News and Bing Images for any query, market and page. Export to JSON, CSV or Excel.

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

## Pricing

from $0.41 / 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/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 — SERP, News & Images

Get Bing search results as clean data: for every query the organic web results with rank,
title, URL, displayed URL, snippet, date and sitelinks; Bing News articles with source,
publish time and thumbnail; or Bing Images with the full-size image URL, size, thumbnail
and source page. Choose the market (country and language), time range and SafeSearch level.
No Bing account, no login and no API key needed. Export results as JSON, CSV or Excel, or
pull them through the Apify API.

### What does Bing Search Scraper do?

Add search terms such as **best running shoes** (Bing operators like `site:`, `intitle:`,
`"exact phrase"` and `-exclude` work) or Bing search URLs such as
**https://www.bing.com/search?q=crawlee**, pick a search type, and the scraper returns one
record per result, read live from Bing at run time:

- **Web** (`recordType: "organic"`) — the top 10 organic results per query: `position`
  (rank), `title`, `url` (the real destination, not a Bing redirect), `displayedUrl`,
  `domain`, `siteName`, `snippet`, `date` (ISO) and `dateText` as Bing prints it,
  `sitelinks`, favicon and Bing's `totalResults` estimate.
- **News** (`recordType: "news"`) — Bing News articles, newest coverage first, page after
  page: headline, article `url`, `source` (publisher), `publishedAt` (ISO, UTC), summary
  and thumbnail `imageUrl`.
- **Images** (`recordType: "image"`) — Bing Images, up to 35 per page: full-size
  `imageUrl`, `thumbnailUrl`, `pageUrl` of the page that hosts the image, `width` and
  `height`, title and Bing's image ID.

Every record carries the `query`, `market`, `page`, a stable `id`, the Bing `searchUrl`
and `scrapedAt`, so results from many queries sit in one tidy table.

### Use cases

- **SEO rank tracking** — check where your pages and competitors rank on Bing for your
  keywords, in each market, and schedule the run daily or weekly.
- **SERP and content research** — see which sites, titles and snippets win the top 10
  for a topic before you write or optimise a page.
- **News monitoring** — follow fresh coverage of your brand, competitors or industry
  terms from thousands of publishers through Bing News.
- **Image research** — collect image URLs, sizes and source pages for a topic, for
  mood boards, brand monitoring or finding where your images are used.
- **Lead and link prospecting** — build lists of domains that rank for niche queries.
- **AI agents and RAG pipelines** — give an agent fresh web, news or image results on
  demand.

### How much does it cost?

You pay only for the results you get (pay-per-event). Duplicates, failed queries and
results above your limits are never charged.

| Event | What you pay for | Free plan | Paid plans (from) |
| --- | --- | --- | --- |
| `result` | One Bing result: an organic web result, a news article or an image | $0.54 per 1,000 | $0.405 per 1,000 |

"Paid plans (from)" is the Gold-and-above price; Bronze ($0.495) and Silver ($0.45) sit in
between. Apify also charges a tiny actor-start fee per run.

Examples:

- Tracking the top 10 for 100 keywords (1,000 results) on the Free plan costs about $0.54.
- 10,000 news articles or images on a Gold+ plan cost about $4.05.

The Apify Free plan includes $5 monthly credit, enough for roughly 9,000 results a month.

### How to use Bing Search Scraper

1. Open the actor in Apify Console and click **Try for free**.
2. Enter your search terms (one per line) or paste Bing search URLs. The form is
   prefilled with a working example.
3. Pick **Web**, **News** or **Images**, the market and, if you like, a time range.
4. Set **Max items** to cap the run, click **Start** and wait a few seconds.
5. Download the dataset as JSON, CSV or Excel, or call the actor through the API (see
   below).

### Input

| Field | Type | Description |
| --- | --- | --- |
| `queries` | array | Search terms or Bing search URLs (required). |
| `searchType` | string | `web` (default), `news` or `images`. |
| `maxPagesPerQuery` | integer | Result pages per query (default 3). News ≈10 and images up to 35 per page; web returns the top 10. |
| `market` | string | Bing market, e.g. `en-US` (default), `en-GB`, `de-DE`, `fr-FR`, `ja-JP`. |
| `language` | string | Optional interface language (`en`, `de`, …); defaults to the market's language. |
| `timeRange` | string | Web: `day`, `week`, `month`; News: `hour`, `day`, `week`, `month`; Images: `day`, `week`, `month`, `year`. Empty = any time. |
| `safeSearch` | string | `off`, `moderate` (default) or `strict`. |
| `maxItems` | integer | Maximum number of results for the whole run (default 1000). |
| `proxyConfiguration` | object | Apify Proxy settings (datacenter by default). |

```json
{
    "queries": ["best running shoes", "project management software"],
    "searchType": "web",
    "market": "en-US",
    "maxPagesPerQuery": 2,
    "maxItems": 20
}
```

### Output

One record per result. A web result:

```json
{
    "id": "279ce9c03bd188c9",
    "recordType": "organic",
    "query": "best running shoes",
    "market": "en-US",
    "page": 1,
    "position": 1,
    "title": "The 15 Best Running Shoes of 2026, Tested by Runner’s World",
    "url": "https://www.runnersworld.com/gear/a19663621/best-running-shoes/",
    "displayedUrl": "https://www.runnersworld.com › gear › best-ru",
    "domain": "runnersworld.com",
    "siteName": "runnersworld.com",
    "snippet": "Find the best running shoes of 2026, including Runner’s World–tested picks from Adidas, Brooks, New Balance, Nike, …",
    "date": "2026-10-22",
    "dateText": "Oct 22, 2026",
    "iconUrl": "https://th.bing.com/th/id/ODLS.A2450BEC-5595-40BA-9F13-D9EC6AB74B9F?w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2",
    "sitelinks": [],
    "totalResults": 23100,
    "searchUrl": "https://www.bing.com/search?q=best+running+shoes&mkt=en-US&setlang=en&cc=US&adlt=moderate",
    "scrapedAt": "2026-11-21T11:12:40Z"
}
```

- `position` — rank within the query (1 = top), counted across pages.
- `url` — the destination page; Bing's click-tracking links are decoded.
- `date` / `dateText` — the date Bing shows next to the snippet (when it shows one).
- News records add `source`, `publishedAt` and `imageUrl`; image records add `imageUrl`,
  `thumbnailUrl`, `pageUrl`, `width`, `height`, `description`, `bingImageId` and `bingUrl`
  (`url` is the source page).

The dataset has three views in Apify Console: **Web results**, **News** and **Images**.

### Integrations and API

Run the actor and get results with one HTTP call:

```bash
curl -X POST "https://api.apify.com/v2/acts/innolabs~bing-search-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["best running shoes"], "searchType": "web", "maxItems": 10}'
```

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("innolabs/bing-search-scraper").call(
    run_input={"queries": ["electric vehicles"], "searchType": "news", "maxItems": 50}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["position"], item["title"], item["url"])
```

Connect results to Make, Zapier, n8n, Google Sheets or webhooks, and schedule runs in
Apify Console. AI agents can call this actor through the Apify MCP server at
https://mcp.apify.com.

### FAQ

#### Is it legal to scrape Bing search results?

The actor only collects publicly visible search results, the same ones anyone sees on
bing.com without logging in. Check Bing's terms and the laws that apply to your use case
(for example GDPR when results contain personal data).

#### Do I need proxies?

No setup needed: the default Apify datacenter proxy works for Bing, and every retry uses
a fresh IP. Switch Proxy configuration to RESIDENTIAL only if your runs keep failing.

#### How many results can I get per query?

Web search returns the top 10 organic results per query (Bing shows automated visitors
only its first results page). News and images go page by page: about 10 articles or up to
35 images per page, up to `maxPagesPerQuery` pages, stopping early when Bing has nothing
new. For more web coverage, add query variations (for example with `site:` or extra
keywords). `maxItems` caps the whole run.

#### Why did a query return fewer results than expected?

Bing sometimes answers automated visitors with results for a different search or with an
empty page. The scraper checks every page against your query, retries such answers on a
new IP up to six times, and never saves unrelated results. Queries that still fail are
listed in the run's SUMMARY record; the rest of the run continues.

#### Can I search in other countries and languages?

Yes. Set `market` (for example `de-DE`, `fr-FR`, `ja-JP`) and, optionally, `language`.
Bing then returns the results searchers in that market see.

#### Can I get only fresh results?

Use `timeRange` (past hour for news, past day, week or month, past year for images) and
schedule the actor; each record has a stable `id` you can use to skip results you already
have.

### Limits

- Web search: top 10 organic results per query; ads, People Also Ask, related searches
  and other SERP widgets are not included.
- News: Bing News search feed, usually 5–10 articles per page and up to about 100 per
  query.
- Images: up to 35 per page; very deep image pages may repeat and end the query.
- Snippets, dates and counts are as Bing shows them at run time and vary by market.

# Changelog

This Actor's version history is a separate document: https://apify.com/innolabs/bing-search-scraper/changelog.md

# Actor input Schema

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

Search terms exactly as you would type them into Bing (operators like site:, intitle:, "exact phrase" and -exclude work), or Bing search URLs such as https://www.bing.com/search?q=crawlee.

## `searchType` (type: `string`):

Web = organic results (top 10 per query). News = Bing News articles (about 10 per page). Images = Bing Images (up to 35 per page).

## `maxPagesPerQuery` (type: `integer`):

Result pages to read per query. News: about 10 articles per page; Images: up to 35 images per page. Web: Bing shows automated visitors only the first results page (top 10 organic results), so web search returns the top 10 per query and stops when Bing repeats that page.

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

Bing market (language-country) that decides which country's results you see, e.g. en-US, en-GB, de-DE, fr-FR, es-ES, ja-JP, pt-BR.

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

Optional Bing interface language code (en, de, fr, …). Leave empty to use the market's language.

## `timeRange` (type: `string`):

Only results from this period. Web: day, week, month. News: hour, day, week, month. Images: day, week, month, year. Leave empty for any time.

## `safeSearch` (type: `string`):

Bing SafeSearch level for web and image results.

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

Hard cap on records for the whole run. The run stops cleanly when reached and you are never charged above it.

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

Apify Proxy rotates IPs for every retry. Datacenter proxies (default) work for Bing; switch to RESIDENTIAL only if runs keep failing.

## `debug` (type: `boolean`):

Verbose logs for development.

## Actor input object example

```json
{
  "queries": [
    "best running shoes",
    "project management software"
  ],
  "searchType": "web",
  "maxPagesPerQuery": 2,
  "market": "en-US",
  "timeRange": "",
  "safeSearch": "moderate",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

All results of the run: organic web results (recordType organic), news articles (recordType news) or images (recordType image).

# 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": [
        "best running shoes",
        "project management software"
    ],
    "maxPagesPerQuery": 2,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("innolabs/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": [
        "best running shoes",
        "project management software",
    ],
    "maxPagesPerQuery": 2,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("innolabs/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": [
    "best running shoes",
    "project management software"
  ],
  "maxPagesPerQuery": 2,
  "maxItems": 20
}' |
apify call innolabs/bing-search-scraper --silent --output-dataset

```

## MCP server setup

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