# Google Discover Feed Scraper – By Country (`datascraperes/google-discover-scraper`) Actor

Collect unique articles, posts and videos from Google Discover in 50 markets. Export headlines, publisher or creator names, URLs, images, dates and feed positions. Video duration is included when available.

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

## Pricing

from $0.75 / 1,000 articles

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

Collect the articles, videos and posts that Google Discover is serving for a market, without a browser or Google account. Each Dataset row includes the card URL, headline, and its position in the feed sample. Depending on the card, it also includes the display headline, publisher or creator name, content type, age, and media.

### What this Actor does

The Actor requests the same Discover feed surface that the Google app renders for an anonymous visitor and turns every card into a structured Dataset item. It reads the feed's own card metadata instead of scraping a rendered page, so results do not depend on page layout, JavaScript or a logged-in profile.

Each request returns a rotating sample of roughly 60-70 cards. The Actor deduplicates by article URL, requests additional samples while the target has not been reached, and stops when Google stops returning new articles. You get unique items only, plus a run summary with the number of samples, cards seen, duplicates skipped and top publisher domains.

Choose the **Country** whose Discover feed you need and how many unique articles to collect. The selected market guides the feed, and results may include publishers and languages from other markets. Discover is interest-based and anonymous requests receive the general feed for that market.

### Use cases

- Monitor which publishers and stories Google Discover is pushing in a specific country.
- Build a daily news feed or RSS-style digest from Discover cards, deduplicated by URL.
- Research publisher visibility: which domains, categories and content types appear most often.
- Feed a content or SEO workflow with headline and publisher data before writing or refreshing articles.
- Track how Discover coverage rotates between runs for a market you follow.

### How to use

1. Open the Actor in Apify Console.
2. Keep the prefilled **Maximum articles** value of 5 for a quick first run or raise it for a broader sample.
3. Click **Start** and open the Dataset when the run finishes.

### Input

`country` selects the market (50 countries, default United States) and `maxArticles` is the unique-article cap. The form starts at 5. An API request that omits `maxArticles` uses 60. The cap accepts 1-1000. If Google stops returning new items before the target, the run completes with the articles it collected and reports `feed_exhausted` in the summary.

```json
{
  "country": "us",
  "maxArticles": 5
}
```

```json
{
  "country": "us",
  "maxArticles": 5
}
```

| Field | Type | Default | What it controls |
|---|---|---|---|
| `country` | select | `us` | Market of the Discover feed (50 countries; the list is in the input form). |
| `maxArticles` | integer | `60` | Upper bound on unique articles saved in the run (1-1000). |

### Output

Results are stored in the run's default Dataset. One item is one unique Discover card; duplicates are removed by article URL. The run summary is saved as the `SUMMARY` record in the default Key-Value Store, and includes `status`, `articlesDelivered`, `feedSamples`, `cardsSeen`, `duplicateCardsSkipped`, `stopReason`, timings and the most frequent publisher domains and category IDs.

```json
{
  "type": "discoverCard",
  "position": 1,
  "cardId": "card-EAz7gkkejI8=",
  "title": "Brad Paisley & Lainey Wilson Open \"The 60th Annual CMA Awards\"",
  "displayTitle": "Brad Paisley & Lainey Wilson Open \"The 60th Annual CMA Awards\"",
  "url": "https://www.youtube.com/watch?v=Fth_BroHeUw",
  "domain": "youtube.com",
  "publisherName": "Country Music Association",
  "contentType": "video",
  "publishedAt": "2026-11-19T21:08:35Z",
  "language": "en",
  "displayAge": "16h",
  "videoDurationSeconds": 511,
  "imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSIMF8TBGCHljZH-n9jCSddGJf4OTar7F_Oazgl50PCug&s=10",
  "faviconUrl": "https://www.gstatic.com/youtube/img/watch/yt_favicon_2x.png",
  "categoryId": "60122",
  "channelId": "253",
  "contentSourceId": "15461242917345751148",
  "bundleType": "4227",
  "uiType": "48",
  "collectedAt": "2026-11-20T13:30:50Z",
  "sampleNumber": 1,
  "positionInSample": 1
}
```

- `title` contains the card's annotated headline. `displayTitle` contains the headline from its display data when available and can be longer.
- `publisherName` is the display label for a publisher, channel, or creator. `domain` is the hostname of the content URL.
- `contentType` is `article`, `post`, or `video` when the card's format is recognized. `videoDurationSeconds` is populated for videos with a known display duration.
- `displayAge` preserves text such as `5h` or `2d`. `publishedAt` is Google's document timestamp when present. Missing metadata is returned as `null`.
- `sampleNumber` and `positionInSample` give the first saved occurrence's 1-based sample and position among the extracted cards before deduplication. `position` is the saved row's order across the run.

Export the Dataset to JSON, CSV or Excel from the Console. The **Details** view includes feed positions and Google's category, channel, content-source, and presentation identifiers.

### Pricing

This Actor charges one pay-per-event `article` event for each unique Discover card saved to the Dataset. Apify applies the rate for your plan. Duplicate cards and requests that save no new cards produce no article events.

| Plan tier | Price per saved card | Equivalent per 1,000 saved cards |
|---|---:|---:|
| FREE | $0.001 | $1.00 |
| BRONZE | $0.0009 | $0.90 |
| SILVER | $0.0008 | $0.80 |
| GOLD | $0.00075 | $0.75 |
| PLATINUM | $0.00075 | $0.75 |
| DIAMOND | $0.00075 | $0.75 |

### Related Actors

| Actor | Best for |
|---|---|
| [Google SERP Scraper API – Search Results Scraper](https://apify.com/datascraperes/google-serp-scraper) | Google organic results by query, language, country and page range. |
| [Bing Search Scraper – SERP Results](https://apify.com/datascraperes/bing-search-scraper) | Microsoft Bing organic results as an alternative search index. |
| [Brave Search Scraper – Organic SERP Results](https://apify.com/datascraperes/brave-search-scraper) | Independent organic search results for the same keywords. |
| [DuckDuckGo Search Scraper — Organic SERP API](https://apify.com/datascraperes/duckduckgo-search-results-scraper) | Regional organic results from an independent engine. |

### Limits and data quality

- Discover is an anonymous, location-based feed. Each country returns its own mix of articles, and the same market changes its mix over time.
- Each request returns a fresh sample of about 60-70 cards with heavy overlap between samples. Unique yield falls quickly; a run asking for far more articles than the feed currently offers completes early with `feed_exhausted`.
- Google may omit publish dates and language for a card or for a whole sample. Those fields are `null` and the rest of the card is still delivered.
- Titles come from the feed itself. The publisher's full article and original headline may differ.
- For editorial analysis, filter by `contentType` and `domain`. Unrecognized card formats can still include a headline and URL.
- Every saved URL is unique within a run. Rerunning the Actor in a new run produces a new sample and may repeat articles from earlier runs.
- If the feed stays unavailable or the run reaches its sampling or time limit before the target, the run stops with `failed` or `partial` in `SUMMARY`. Articles already saved stay in the Dataset. When Apify storage is available, `SUMMARY` reports the confirmed count and the reason for stopping.
- Check `SUMMARY.stopReason` when submitting input via the API. For invalid input, `invalid_input` identifies a request to correct and the run delivers no articles or article events.

### Frequently asked questions

#### Can I choose topics or keywords?

No. Discover is personalized by Google and anonymous requests receive the general feed for the requesting location. The Actor collects that feed as served; it does not simulate interests or a signed-in profile.

#### Why did I get fewer articles than my maximum?

The feed rotates and returns roughly 60-70 cards per request. When consecutive samples add nothing new, the Actor stops and marks `feed_exhausted` in the summary rather than repeating requests indefinitely. The delivered count is the real number of unique articles available at that time.

#### Can I choose the country of the feed?

Yes. Select a **Country** to target a market. Discover determines the language and publishers in each sample.

#### Are publish dates always included?

No. Google includes a document timestamp for most cards but sometimes serves a sample without that metadata. In that case `publishedAt` is `null` for those items.

#### What happens if Google is temporarily unavailable?

The run may end before reaching your target. Articles already saved remain in the Dataset, and the summary records how many were delivered and why collection stopped. Start a new run later to collect the next sample.

### Responsible use

You are responsible for using the collected data lawfully and for complying with Google's terms, publisher terms, copyright, privacy rules and any applicable regulation in your jurisdiction. The Actor stores card metadata (headlines, URLs, publisher domains, images and Google's identifiers); it does not bypass access controls, log into accounts or copy article bodies. Do not republish third-party content without the rights to do so.

### Support

Open an issue in the Actor's **Issues** tab with the run ID and the input you used. Include the `SUMMARY` record if the run failed or returned fewer articles than expected.

[Google Discover Feed API integration examples](https://github.com/datacrawler-edu/google-discover-feed-api)

# Actor input Schema

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

Market whose Google Discover feed you want. The feed language and publishers follow this market.

## `maxArticles` (type: `integer`):

Maximum number of unique articles to save. Google Discover returns a rotating sample of about 60-70 cards per request, so larger values need several requests and the feed may run out of new articles before the cap.

## Actor input object example

```json
{
  "country": "us",
  "maxArticles": 5
}
```

# Actor output Schema

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

The default dataset. Each item is one unique Discover article card.

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

Feed samples, cards seen, duplicates skipped, stop reason, and top publisher domains.

# 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 = {
    "country": "us",
    "maxArticles": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/google-discover-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 = {
    "country": "us",
    "maxArticles": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/google-discover-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 '{
  "country": "us",
  "maxArticles": 5
}' |
apify call datascraperes/google-discover-scraper --silent --output-dataset

```

## MCP server setup

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