# Real-Time Google Discover API (`newsdiscover-ai/real-time-google-discover-api`) Actor

by Newsdiscover.ai — not affiliated with Google

- **URL**: https://apify.com/newsdiscover-ai/real-time-google-discover-api.md
- **Developed by:** [Newsdiscover.ai](https://apify.com/newsdiscover-ai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2,000.00 / 1,000 country snapshots

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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

## Real-Time Google Discover API

by Newsdiscover.ai — not affiliated with Google. Trending articles in 54 markets plus the 51 US states.

**See which news articles are trending in Google Discover right now, country by country, in one run.**

Newsdiscover.ai follows the Google Discover feed in 54 markets and in every US state. For each country you get the articles that are trending now, the new ones, the ones rising fastest and the publishers that dominate, with the history of any article or publisher since you start (up to 30 days).

### Try it in one minute

1. Click **Start**. The input is already filled in with the United Kingdom (`GB`) and a 6-hour window.
2. For a quick look, tick **Preview only**: you get the first 5 trending articles in the United Kingdom for $0.05.
3. Leave it unticked for a full **country snapshot** (100 trending articles, 25 publishers, new and rising articles).
4. Open the **Output** tab. Each country is one item of the dataset; export it as JSON, CSV or Excel, or read it through the Apify API.

### What a country snapshot contains

One dataset item per country, with:

- **trending**: up to 100 articles trending in the chosen window (1, 6, 24 or 96 hours);
- **publishers**: up to 25 top publishers in the same window;
- **new** and **rising**: up to 50 articles that just appeared and up to 50 that are rising fastest (window up to 24 hours);
- **market_status**, **data_freshness**, **data_as_of** and **next_update_at**: whether the data is real-time or daily, how fresh it is and when new data is due.

Every article has:

| field | meaning |
|---|---|
| `article_id` | stable id of the article; use it for the article history |
| `url`, `title`, `publisher`, `domain` | the article as shown in Discover (the title can be null; descriptions and images are not provided) |
| `rank` | position in the list |
| `presence_pct` | how steadily the article appears in Discover during the window, 0 to 100 |
| `score` | 0 to 100, relative to the top article |
| `acceleration`, `prev_presence_pct` | change against the previous window of the same length |
| `is_new` | true if the article was not seen in the previous window |
| `position_best`, `position_avg` | best and average position in the feed |
| `first_seen`, `last_seen` | first and last time we saw it |

Other inputs, each charged on its own: **article histories** (hourly for up to 7 days and daily since you start, up to 30 days), **publisher histories** (daily since you start, up to 30 days, with the best articles of each day) and a **title search** over the last 30 days.

### Countries and activations

- **54 markets:** AR, AT, AU, AZ, BE, BG, BO, BR, CA, CH, CL, CO, CZ, DE, DK, EC, EG, ES, FI, FR, GB, GR, HR, HU, ID, IE, IL, IN, IT, JP, KH, KR, KZ, LT, LU, MX, MY, NL, NO, NZ, PE, PL, PT, RO, RS, SA, SE, SK, TH, TR, TW, US, VE, VN.
- **Plus the 51 US states** (the 50 states and DC): write `US-CA`, `US-NY` and so on. `US` alone is the United States as a whole.
- A country is either **live** (updated in real time: `data_freshness: realtime`) or **daily** (updated once a day: `data_freshness: daily`). The United Kingdom and Italy are always live.
- **A live country** gives you real-time data at the snapshot price.
- **A daily country** gives you its daily data at once, at the lower daily price ($0.50 per snapshot within the first 40 of the month).
- **A daily country switches to real time when it shows steady demand**: requests for it from 3 different Apify accounts within 7 days, or from the same account on 3 different days within 7 days. The run that meets this asks for the switch; the country is in real time in about 5 minutes (`warming_up`, then `live`) and its full history starts from there. Until then nothing is activated and nothing is charged for an activation: keep requesting the country and it switches.
- The one-off `country-activation` event is charged **only once the switch is confirmed**. The run waits for that confirmation at its end, usually a few seconds. If the switch cannot start within 3 minutes (the activation slots are busy), it is cancelled and not charged: you keep the daily data and can run again later. If the confirmation does not come, or you abort the run while it waits, the activation is not charged. Each country's outcome is in the run's `SUMMARY` and status message.
- Limits: at most 3 activations per run and 5 per day per account; activations through Apify are shared by all Apify users, with a daily limit, at most 1 per hour and at most 10 countries in real time at the same time. A country that went back to daily updates can be switched to real time again through Apify 14 days later. Beyond any limit, or when the maximum cost per run does not cover the activation, the country is delivered with its daily data, the reason is in the run's status message, and no activation is charged.
- A country can go back to daily updates once nobody has requested it for 5 days (never before 7 days from its activation).
- The **preview** never activates a country: it works only on countries that are already live, and charges nothing otherwise.

### Pricing

You pay per event, only for pieces delivered in full: an event is charged after its item is written to the dataset. If the maximum cost per run you set does not cover the next piece, the Actor stops before asking for it and says so in the status message.

**The more snapshots you take in a month, the less each one costs.** The price of a country snapshot depends on how many snapshots your Apify account was charged in the calendar month (UTC): snapshots 1 to 40 at the full price, 41 to 400 at the volume price, from the 401st at the bulk price. Within the first 40, a snapshot of a country updated daily (`data_freshness: daily`, see above) costs $0.50 instead of $2; it counts toward the 40 like the others. The run start fee falls too once you pass 40 snapshots. The count starts again on the 1st of each month; previews and histories do not count.

| event | price (USD) | what it is |
|---|---|---|
| Run start (`start`) | $0.25 | Fixed fee per run while your account has fewer than 40 country snapshots this month. Charged with the first piece delivered. |
| Run start (volume) (`start-volume`) | $0.005 | Fixed fee per run once your account has 40 or more country snapshots this month. Charged with the first piece delivered. |
| Country snapshot (`country-snapshot`) | $2.00 | Snapshots 1 to 40 of the month: up to 100 trending articles, 25 publishers, 50 new and 50 rising articles for one country. |
| Country snapshot (daily data) (`country-snapshot-daily`) | $0.50 | Snapshots 1 to 40 of the month of a country updated daily (data_freshness daily): same content as a country snapshot. |
| Country snapshot (volume) (`country-snapshot-volume`) | $0.05 | Snapshots 41 to 400 of the month, same content as a country snapshot. |
| Country snapshot (bulk) (`country-snapshot-bulk`) | $0.008 | From the 401st snapshot of the month, same content as a country snapshot. |
| Preview (`preview`) | $0.05 | First 5 trending articles of one country already in real time. No run start fee; never activates a country. |
| Country activation (`country-activation`) | $5.00 | Switches a country that is updated daily to real time. Charged only once the switch is confirmed, at most 3 per run. |
| Article history (`article-history`) | $0.10 | Hourly history (up to 7 days) and daily history since you start (up to 30 days) of one article. |
| Publisher history (`publisher-history`) | $1.00 | History since you start (up to 30 days) and best articles per day of one publisher in one country. |
| Search result (`search-result`) | $0.01 | One article found by a title search over the last 30 days. |

Set the **maximum cost per run** in the run options. Apify's default is $5, enough for two full snapshots at the full price: for more countries in one run, raise it (for example $2.25 for the first country and $2 for each further one, at the full price).

What it costs in a 30-day month, one run at a time, for countries in real time:

| use | cost per month |
|---|---|
| 1 country, one snapshot a week | $9.00 |
| 1 country, one snapshot a day | $67.50 |
| 6 countries, one snapshot a day each (one run) | $88.86 |
| 1 country, one snapshot an hour | $113.96 |
| 1 country, one snapshot every 10 minutes | $160.76 |
| 2 countries, every 10 minutes (one run) | $190.42 |

### Example: preview of the United Kingdom

A real output of **Preview only** with the default input (`GB`, 6 hours):

```json
{
  "type": "preview",
  "market": "GB",
  "country": "GB",
  "region": null,
  "market_status": "live",
  "data_freshness": "realtime",
  "data_as_of": "2026-11-25T15:00:30.458000Z",
  "next_update_at": "2026-11-25T15:05:30.458000Z",
  "window": {
    "hours": 6,
    "from": "2026-11-25T09:00:30.458000Z",
    "to": "2026-11-25T15:00:30.458000Z"
  },
  "trending": [
    {
      "article_id": "186a0381808d295c",
      "url": "https://www.independent.co.uk/news/world/europe/istanbul-lion-sighting-island-turkey-b3090387.html",
      "title": "Turkish officials say animal spotted in Istanbul woods was not a lion",
      "publisher": "The Independent",
      "domain": "independent.co.uk",
      "type": "article",
      "language": "en-GB",
      "rank": 1,
      "presence_pct": 96.62,
      "score": 100,
      "acceleration": 14.65,
      "prev_presence_pct": 81.97,
      "is_new": false,
      "position_best": 3,
      "position_avg": 11.44,
      "first_seen": "2026-11-25T06:03:44.250000Z",
      "last_seen": "2026-11-25T14:56:11.042000Z",
      "entities": null
    },
    {
      "article_id": "b2dd11d440ceb4f3",
      "url": "https://www.futura-sciences.com/en/among-the-bones-of-a-bronze-age-man-buried-in-southwestern-russia-archaeologists-found-a-grape-sized-stone-it-was-most-likely-a-5300-year-old-kidney-stone-a1_902933/",
      "title": "Among the bones of a Bronze Age man buried in southwestern Russia, archaeologists found a grape-sized stone. It was most likely a 5,300-year-old kidney stone",
      "publisher": "Futura, le média qui explore le monde",
      "domain": "futura-sciences.com",
      "type": "article",
      "language": "en-GB",
      "rank": 2,
      "presence_pct": 89.86,
      "score": 93,
      "acceleration": 2.97,
      "prev_presence_pct": 86.89,
      "is_new": false,
      "position_best": 2,
      "position_avg": 13.29,
      "first_seen": "2026-11-25T06:03:44.250000Z",
      "last_seen": "2026-11-25T14:56:11.042000Z",
      "entities": null
    },
    {
      "article_id": "ef7fe8fa4162d75a",
      "url": "https://timesofindia.indiatimes.com/city/indore/a-17-year-old-mp-girl-stopped-her-family-from-marrying-her-off-to-continue-her-education-sought-help-from-teachers-now-in-class-12-she-dreams-of-becoming-a-teacher-with-david-beckham-sharing-her-story/amp_articleshow/136087438.cms",
      "title": "A 17-year-old MP girl stopped her family from marrying her off to continue her education, sought help from teachers; now in Class 12, she dreams of becoming a teacher, with David Beckham sharing her story",
      "publisher": "The Times of India",
      "domain": "timesofindia.indiatimes.com",
      "type": "article",
      "language": "en-GB",
      "rank": 3,
      "presence_pct": 75.68,
      "score": 78,
      "acceleration": 5.19,
      "prev_presence_pct": 70.49,
      "is_new": false,
      "position_best": 1,
      "position_avg": 18.8,
      "first_seen": "2026-11-25T05:02:03.142000Z",
      "last_seen": "2026-11-25T14:56:11.042000Z",
      "entities": null
    },
    {
      "article_id": "037c6e4bee5ee575",
      "url": "https://www.loudersound.com/bands-artists/robert-fripp-toyah-living-apart",
      "title": "Why Robert Fripp and wife Toyah live four miles apart: “He is constantly building and developing. I am the opposite”",
      "publisher": "Louder",
      "domain": "loudersound.com",
      "type": "article",
      "language": "en-GB",
      "rank": 4,
      "presence_pct": 75.68,
      "score": 78,
      "acceleration": 13.38,
      "prev_presence_pct": 62.3,
      "is_new": false,
      "position_best": 5,
      "position_avg": 19.07,
      "first_seen": "2026-11-24T10:15:10.760000Z",
      "last_seen": "2026-11-25T14:56:11.042000Z",
      "entities": null
    },
    {
      "article_id": "99697f06604d4421",
      "url": "https://www.bbc.com/news/articles/cx30g86nmdz6o",
      "title": "Calls for Sir Patrick Stewart blue plaque exception",
      "publisher": "BBC",
      "domain": "bbc.com",
      "type": "article",
      "language": "en-GB",
      "rank": 5,
      "presence_pct": 71.62,
      "score": 74,
      "acceleration": 37.19,
      "prev_presence_pct": 34.43,
      "is_new": false,
      "position_best": 4,
      "position_avg": 14.97,
      "first_seen": "2026-11-24T11:40:44.584000Z",
      "last_seen": "2026-11-25T14:56:11.042000Z",
      "entities": null
    }
  ]
}
```

### Good to know

- All times are UTC, in ISO 8601.
- Unknown countries, articles or publishers, and publishers with no data in a country, are skipped and not charged. The status message of the run says what was delivered and what was skipped, and why. A run that delivers nothing costs nothing and ends as failed, so your integrations notice it.
- In search results `type` is always `search-result`; the article's own card type is in `card_type`.
- Poll after `next_update_at`, not before: earlier runs return the same data.
- Entities are not available yet (the field is null).

Newsdiscover.ai is an independent service, not affiliated with, endorsed by or sponsored by Google. "Google" and "Discover" are trademarks of Google LLC and are used only to identify the service the data refers to.

### Support

Open an issue in the **Issues** tab of this Actor, or write to support@newsdiscover.ai.

# Actor input Schema

## `preview` (type: `boolean`):

Cheap preview: the first 5 trending articles of the first country in the list (United Kingdom if the list is empty), for the 'preview' event only ($0.05, no run start fee). It works only on countries already in real time and never activates a country; every other option is ignored.

## `countries` (type: `array`):

Country codes, e.g. GB, ES, MX; US states as US-NY, US-CA. A live country gives real-time data. A daily country gives its daily data at $0.50 per snapshot ('country-snapshot-daily'). A daily country switches to real time once it shows steady demand: requests from 3 different Apify accounts within 7 days, or from one account on 3 different days. Its one-off 'country-activation' is charged only when that switch happens and is confirmed; until then you pay nothing for it.

## `window` (type: `string`):

Window of the country snapshot (and of the preview): 1, 6, 24 or 96 hours. New and rising articles use at most 24 hours.

## `snapshot` (type: `boolean`):

For each country: up to 100 trending articles, up to 25 top publishers, new and rising articles. Snapshots 1-40 of the month: $2.00 for a live country, $0.50 for a daily one; lower prices from the 41st.

## `articleIds` (type: `array`):

article_id values (from a snapshot) for which to get the hourly history (up to 7 days) and the daily history since you start (up to 30 days) ($0.10 each). Applies to the first country.

## `publishers` (type: `array`):

Domains (e.g. bbc.co.uk) for which to get the history since you start (up to 30 days) and best articles per day ($1.00 per publisher and country).

## `search` (type: `string`):

Optional: search the last 30 days of article titles in each country ($0.01 per article found).

## `maxSearchResults` (type: `integer`):

At most this many articles per country from the title search, each charged as a 'search-result' event.

## Actor input object example

```json
{
  "preview": false,
  "countries": [
    "GB"
  ],
  "window": "6",
  "snapshot": true,
  "articleIds": [],
  "publishers": [],
  "maxSearchResults": 50
}
```

# Actor output Schema

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

All items of the run: type is country-snapshot, preview, article-history, publisher-history or search-result.

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

SUMMARY record: per country the status before the run and the activation outcome, what was skipped and why, and the events charged.

# 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 = {
    "countries": [
        "GB"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("newsdiscover-ai/real-time-google-discover-api").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 = { "countries": ["GB"] }

# Run the Actor and wait for it to finish
run = client.actor("newsdiscover-ai/real-time-google-discover-api").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 '{
  "countries": [
    "GB"
  ]
}' |
apify call newsdiscover-ai/real-time-google-discover-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,newsdiscover-ai/real-time-google-discover-api"
        }
    }
}
```

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/jOl7r90LzdFj0cxDC/builds/46aSU6qu781CdVqi1/openapi.json
