# Google & Bing News Monitor (Deprecated) (`sonic_scraper/google-bing-news-monitor`) Actor

Deprecated. Same input and output as the Yahoo News Scraper + Google & Bing News Aggregator (set searchEngines to google and bing). For Google News alerts with only-new monitoring use Google News Scraper. No new features will be added here.

- **URL**: https://apify.com/sonic_scraper/google-bing-news-monitor.md
- **Developed by:** [Sonic Scraper](https://apify.com/sonic_scraper) (community)
- **Categories:** News
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 news 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

## Google & Bing News Monitor (Deprecated)

**This Actor is deprecated and will not receive new features. Use one of the Actors below instead. Your existing input works there without changes.**

### Where to go instead

| You want | Use | Price |
|---|---|---|
| Google News alerts that return only new articles, with date and publisher filters | [Google News Scraper & Monitor](https://apify.com/sonic_scraper/google-news-scraper) | $1.00 per 1,000 articles |
| Bing News with direct publisher article URLs | [Bing News Scraper](https://apify.com/sonic_scraper/bing-news-scraper) | $1.00 per 1,000 results |
| Google News and Bing News (and Yahoo News) in one dataset | [Yahoo News Scraper + Google & Bing News Aggregator](https://apify.com/sonic_scraper/multi-news-scraper) | $3.00 per 1,000 results |

### How to migrate

The multi-engine Actor uses the same input fields as this one. Copy your input and keep `searchEngines` set to Google and Bing:

```json
{
  "queries": ["your brand", "your competitor"],
  "searchEngines": ["google", "bing"],
  "geo": "US",
  "language": "en",
  "maxItemsPerQuery": 50,
  "dedupe": true
}
```

The output rows have the same fields (`searchEngine`, `title`, `source`, `publishedAt`, `snippet`, `newsUrl`, `googleNewsUrl`, `bingNewsUrl`, `articleUrl`, `query`, `position`, `geo`, `language`, `guid`, `fetchedAt`) plus a `yahooNewsUrl` field that stays empty when Yahoo is not selected.

If you used this Actor for alerts, the [Google News Scraper & Monitor](https://apify.com/sonic_scraper/google-news-scraper) has an only-new mode (`monitoringMode: true`) that outputs and bills only articles you have not received before.

### What this Actor does

Until it is unpublished, this Actor still searches Google News and Bing News by keyword and returns one row per article with headline, publisher, publish date, snippet, source engine, Google or Bing link, and the publisher URL when Bing provides it. Current price: $1.50 per 1,000 results.

Questions? Open an issue on the **Issues** tab.

# Changelog

This Actor's version history is a separate document: https://apify.com/sonic_scraper/google-bing-news-monitor/changelog.md

# Actor input Schema

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

Search terms to pull Bing News articles for. You can also paste them as text below.

## `queriesText` (type: `string`):

Paste one query per line or comma-separated.

## `searchEngines` (type: `array`):

News sources to monitor.

## `geo` (type: `string`):

Country/market code, e.g. US, GB, CA, FR, DE.

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

Language code, e.g. en, fr, es, de.

## `maxItemsPerQuery` (type: `integer`):

Cap on articles kept per query per search engine.

## `maxQueries` (type: `integer`):

Maximum number of search queries to process.

## `dedupe` (type: `boolean`):

Remove duplicate articles (same link) across all queries.

## `requestDelayMs` (type: `integer`):

Delay between feed requests.

## `maxConcurrency` (type: `integer`):

Parallel feed requests. Keep modest; add a proxy for high volume.

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

Optional. Use Apify Proxy for large/repeated runs to avoid rate limits.

## `debugMode` (type: `boolean`):

Verbose logging.

## Actor input object example

```json
{
  "queries": [
    "openai",
    "climate tech",
    "interest rates"
  ],
  "searchEngines": [
    "google",
    "bing"
  ],
  "geo": "US",
  "language": "en",
  "maxItemsPerQuery": 50,
  "maxQueries": 100,
  "dedupe": true,
  "requestDelayMs": 500,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debugMode": false
}
```

# Actor output Schema

## `articles` (type: `string`):

One row per article: search engine, title, source, publish date, snippet, news link, and decoded publisher URL when available.

## `headlinesBySource` (type: `string`):

Article titles grouped by publisher.

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

Totals, top sources, top queries by volume.

## `errors` (type: `string`):

Feeds that failed to fetch.

# 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": [
        "openai",
        "climate tech",
        "interest rates"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sonic_scraper/google-bing-news-monitor").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": [
        "openai",
        "climate tech",
        "interest rates",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("sonic_scraper/google-bing-news-monitor").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": [
    "openai",
    "climate tech",
    "interest rates"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call sonic_scraper/google-bing-news-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sonic_scraper/google-bing-news-monitor"
        }
    }
}
```

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/oew4cOjZUYDOljgK2/builds/FDK1ldCIAfXf4DZFH/openapi.json
