# Google Trends Scraper - Trending Now & News API (`solidscrape/google-trends-trending-now`) Actor

Scrape current Google Trends searches and related news by country. Export approximate traffic, filter topics and track changes with capped, transparent pricing.

- **URL**: https://apify.com/solidscrape/google-trends-trending-now.md
- **Developed by:** [SolidScrape](https://apify.com/solidscrape) (community)
- **Categories:** News, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 trend checkeds

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/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 Trends API for trending searches and news

Use this Google Trends scraper to collect the current Trending Now RSS feed for content planning, SEO topic research and news-monitoring pipelines. Each topic includes its country, publication time, original approximate traffic label and related publisher links. Keep a snapshot to identify new or changed topics on a later run. This current-feed API is separate from historical keyword-interest analysis.

Scrape current Google Trends searches and related news by country. Export approximate traffic, filter topics and track changes with capped, transparent pricing.

### Quick start

```json
{
  "countries": [
    "US"
  ],
  "maxItems": 5,
  "maxSpendUsd": 0.05
}
```

Use the Examples tab for saved, capped use cases. Export the dataset as JSON, CSV or Excel, or call `solidscrape/google-trends-trending-now` from the Apify API. The Console prefills and API example use the same small input. No additional site login or third-party API key is needed.

### Coverage and honest limits

Current Google Trending Now **RSS** topics and associated article headlines/links by country. This does not provide Explore keyword histories, exact search volume, active/ended status, categories, subnational regions, or guaranteed hourly history. Feed size and countries vary. The default contains what Google publishes now; a higher maxItems cannot manufacture more topics. `volumeLowerBound` parses the feed label such as `20K+`; it is an approximate bucket, not exact demand. `sourceRank` is position within the feed. News text is limited to supplied headlines; full articles are not downloaded. The same query on a new publication date is treated as a new event. Changes compare approximate traffic and associated news URLs.

### Monitoring changes

1. Run once and retain its key-value store ID.
2. Keep sources and filters identical. Set `previousSnapshotStoreId` to that store ID.
3. Optionally set `changesOnly: true`. New and changed records are returned, while unchanged records are hidden. Every unique record checked is still billable; source scans also remain billable.
4. Use the newest run's SNAPSHOT as the next baseline. An unchanged run can have an empty dataset and a positive charge.

`change.status` is `new`, `changed`, or `unchanged`. `change.previous` and `change.details` explain the comparison. First-run records are new to your baseline, not necessarily newly created on the source. Snapshot retention is bounded to 2,000 records and roughly 2 MB, so older unretained records can reappear as new. No removed-product or ended-trend inference is made. Each new snapshot retains older entries within these limits. Only read access to the selected previous store is requested.

### Transparent pricing

- Start: **$0.002** per allocated GB, minimum one event; this actor supports 512 MB.
- Source operation: **$0.003** per attempt, including blocked, empty or invalid responses. Shopify metadata and catalog pages are separate operations. Google uses one feed operation per country.
- Unique record checked: **$0.0005** (**$0.50/1,000**), including unchanged checks hidden by changesOnly. In-run duplicates and filtered topics are not charged as checks. There is no additional automatic dataset-row fee.

Ten trends from one country feed cost **$0.010**: $0.002 start + $0.003 source + 10 × $0.0005 checks. Two feeds and twenty topics cost **$0.018**. These are examples, not fixed prices for arbitrary inputs. Apify free-plan credits can fund small trials under current platform terms; no unlimited free quota is advertised.

`maxSpendUsd` includes all event fees. The lower of that limit and the platform run cap wins. The actor reserves the next check before beginning a source attempt, stops before exceeding a cap, limits source failures to three, and uses no automatic retries or paid proxies. Requests are limited to 12 seconds and 1 MB total response bytes with at most two same-site redirects. `maxItems` is global, including hidden unchanged checks; `maxRequests` and `maxRunSeconds` bound work. Already saved rows remain available after a cap stops processing. Start fees still apply to runs rejected by validation.

### Results and diagnostics

- **Dataset:** normalized records, source evidence and baseline changes.
- **SUMMARY:** checked/output/unchanged counts, source failures, stop reason, warnings, modeled event fees, and effective spending cap.
- **SNAPSHOT:** retained baseline for the next run.
- **REQUEST_REPORT:** source operations and status, including failures.

A run with source failures and no checked records fails explicitly. A valid empty feed/catalog or all-filtered result can finish with zero rows and source fees. The same interrupted run cannot be resurrected safely: replay is refused to avoid uncertain duplicate charges. Start a fresh run and use an available snapshot instead. Unnamed stores follow your Apify data retention; save needed baselines before expiry.

### API usage

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('solidscrape/google-trends-trending-now').call({"countries": ["US"], "maxItems": 5, "maxSpendUsd": 0.05}, { memory: 512, maxTotalChargeUsd: 0.05 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

For a broader news workflow, see [Google News Scraper](https://apify.com/solidscrape/google-news-scraper). For ecommerce monitoring, see [Shopify Product Price & Stock Monitor](https://apify.com/solidscrape/shopify-price-stock-monitor). This is an independent SolidScrape tool, not endorsed by the source platform. [Source documentation](https://support.google.com/trends/answer/3076011?hl=en).

### Example output

Excerpt from a tested run on November 2, 2026. News and variant arrays are shortened for readability; this is sample data, not a promise of current values.

```json
{
  "title": "aurora borealis",
  "country": "GB",
  "publishedAt": "2026-11-02T09:30:00Z",
  "trafficText": "10000+",
  "volumeLowerBound": 10000,
  "volumeIsApproximate": true,
  "news": [
    {
      "title": "Northern Lights dance across UK sky on Halloween night",
      "url": "https://www.bbc.co.uk/weather/articles/c3pwge119lnvo",
      "source": "BBC"
    }
  ],
  "change": {
    "status": "new",
    "previous": null,
    "details": null
  }
}
```

### Frequently asked questions

#### Does this Google Trends API provide historical keyword search interest?

No. It reads the current Trending Now RSS feeds. Historical Explore time series, related-query analysis, categories and active/ended status require a different source or tool.

#### Is search volume exact?

No. `trafficText` is the source's approximate label. `volumeLowerBound` parses its bucket and `volumeIsApproximate` remains true. It is unsuitable as an exact search-volume measurement.

#### How many countries and topics can I collect?

Choose up to ten country codes per run. Feed availability and topic counts vary. Current tests returned ten topics per tested feed; a higher item limit cannot create additional topics. Results are capped globally in country input order.

#### Can I get publisher articles for an AI or news workflow?

The feed supplies article headlines, publisher names and links. The News article links view expands these references for easier inspection. Full article bodies are not downloaded.

#### Why is an unchanged monitoring run still charged?

The actor fetched the source and checked the records against your baseline. `changesOnly` hides unchanged dataset rows; it does not make source work or record checks free. The pricing tab and SUMMARY show the active fees.

#### Can I try it with Apify free-plan credit?

Small runs can use available Apify account credit under the platform's current terms. A $0.05 spending cap is a small trial budget, not a fixed fee or an unlimited free quota.

#### How do I report a problem?

Use this Actor's Issues tab. Include the run ID, non-secret input settings, expected output and relevant REQUEST_REPORT entry. Keep API tokens and credentials out of reports. Source responses and country/store coverage can change over time.

### Python API example

This standard-library example uses your locally stored Apify token. It waits for a small run and reads its dataset; keep credentials out of saved public examples.

```python
import json, os, urllib.request
request = urllib.request.Request(
    "https://api.apify.com/v2/acts/solidscrape~google-trends-trending-now/run-sync-get-dataset-items?memory=512&timeout=120&maxTotalChargeUsd=0.05",
    data=json.dumps({"countries": ["US"], "maxItems": 5, "maxSpendUsd": 0.05}).encode(),
    headers={"Authorization": "Bearer " + os.environ["APIFY_TOKEN"], "Content-Type": "application/json"},
)
with urllib.request.urlopen(request, timeout=150) as response:
    items = json.load(response)
```

# Actor input Schema

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

Two-letter Google Trends feed countries. Source coverage varies; unavailable feeds are reported.

## `includeKeywords` (type: `array`):

Optional case-insensitive title keywords; an empty list disables this filter. Filtered topics are not billed as checks.

## `minVolume` (type: `integer`):

Filter by the feed traffic lower bound. This is an approximate source bucket, not an exact search count.

## `sortBy` (type: `string`):

Order per country. Source order is preserved by default; rank is feed position, not a universal Google rank.

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

Global cap on unique records examined, including unchanged records hidden by changesOnly. A check is charged even when its unchanged output is hidden.

## `previousSnapshotStoreId` (type: `string`):

Select the previous run store containing SNAPSHOT. The actor reads it without modifying it. Keep sources and filters identical.

## `changesOnly` (type: `boolean`):

Requires a prior snapshot. Unchanged records are checked and billed, but not returned. Source scans also remain billable.

## `maxSpendUsd` (type: `number`):

Includes start, source attempts and checked records. The lower of this cap and the Apify run cap applies. Collection stops before exceeding it.

## `maxRequests` (type: `integer`):

Global source-attempt limit. Empty, blocked or invalid source responses are included. Each attempt is bounded to 12 seconds, 1 MB and at most three same-site HTTP transports.

## `maxRunSeconds` (type: `integer`):

Global processing deadline; already saved output remains available. Only 512 MB is supported.

## Actor input object example

```json
{
  "countries": [
    "US"
  ],
  "minVolume": 0,
  "sortBy": "source",
  "maxItems": 5,
  "changesOnly": false,
  "maxSpendUsd": 0.05,
  "maxRequests": 20,
  "maxRunSeconds": 90
}
```

# Actor output Schema

## `records` (type: `string`):

No description

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

No description

## `snapshot` (type: `string`):

No description

## `request_report` (type: `string`):

No description

# 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": [
        "US"
    ],
    "maxItems": 5,
    "maxSpendUsd": 0.05
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidscrape/google-trends-trending-now").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": ["US"],
    "maxItems": 5,
    "maxSpendUsd": 0.05,
}

# Run the Actor and wait for it to finish
run = client.actor("solidscrape/google-trends-trending-now").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": [
    "US"
  ],
  "maxItems": 5,
  "maxSpendUsd": 0.05
}' |
apify call solidscrape/google-trends-trending-now --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,solidscrape/google-trends-trending-now"
        }
    }
}
```

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/5KjmK5Hbm7C2DM2uO/builds/YsJ6UjsjA9NgU2OkZ/openapi.json
