# Google Trending Searches API: Daily Trends by Country (`atesen-software/google-trends-daily`) Actor

Daily Google trending searches API: the top trending queries per country with rank, publish time and approximate traffic, from the public Google Trends RSS feed. For SEO, content and PPC teams. No login, no proxy, one low-impact request per run.

- **URL**: https://apify.com/atesen-software/google-trends-daily.md
- **Developed by:** [Atesen Software](https://apify.com/atesen-software) (community)
- **Categories:** SEO tools, Marketing, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 trend rows

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 Trending Searches API: Daily Trends by Country

Get the daily trending searches from Google Trends for a country as clean rows: the search phrase, its position in the feed, the publish time and the approximate traffic bucket. Built for SEO, content and PPC teams that want fresh topic ideas every morning in a sheet, a database or an automation.

Run it from the Apify Console, the API, a schedule, Make, Zapier or n8n. No login, no proxy and no browser are used.

### What it does and what it does not do

**It does:**

- Read the public daily trending searches feed of one country per run (15 countries: US, GB, DE, FR, TR, BR, IN, JP, CA, AU, NL, ES, IT, MX, PL).
- Return up to 20 trends (the feed usually lists about 10 per country) with rank, country, publish time, approximate traffic, a Google Trends explore link and attribution.
- Finish with a free status row if Google refuses the request, so your automation can tell what happened.

**It does not:**

- Return exact search counts. `approxTraffic` is a rounded bucket such as `5000+`, and `approxTrafficMin` is just the number in that label.
- Return interest over time, history, related queries or regions. It reads one feed once.
- Export news headlines, article text, snippets or pictures that appear in the feed. Only the fields below are saved.
- Prove that a topic is popular or winning. Google Trends uses sampled, anonymized and aggregated searches.
- Work around blocks (see "Data source and permission").

### Input

| Field | Default | What it does |
| --- | --- | --- |
| `geo` | `US` | Country of the daily trends feed. Allowed: US, GB, DE, FR, TR, BR, IN, JP, CA, AU, NL, ES, IT, MX, PL. |
| `maxResults` | `10` | Maximum rows from the feed, 1 to 20. The feed can hold fewer. |

A run with no input at all uses the defaults above: United States, ten trends.

Example input:

```json
{ "geo": "GB", "maxResults": 10 }
```

### Output

One row per trend. A real row from a run:

```json
{
  "recordType": "trend",
  "rank": 2,
  "geo": "US",
  "title": "france",
  "approxTraffic": "1000+",
  "approxTrafficMin": 1000,
  "publishedAt": "Thu, 12 Nov 2026 11:30:00 -0800",
  "searchUrl": "https://trends.google.com/trends/explore?geo=US&q=france",
  "feedUrl": "https://trends.google.com/trending/rss?geo=US",
  "source": "google-trends-rss",
  "attribution": "Google Trends",
  "fetchedAt": "2026-11-12T19:46:45.516Z"
}
```

| Field | Meaning |
| --- | --- |
| `rank` | Position in the feed, starting at 1. Feed order, not a universal popularity ranking. |
| `geo` | Country code of the feed. |
| `title` | The trending search phrase. |
| `approxTraffic`, `approxTrafficMin` | Rounded traffic bucket from Google and the number inside it. Not an exact count. |
| `publishedAt` | Time given by the feed item. |
| `searchUrl` | Google Trends explore link for the phrase. The Actor never opens it. |
| `fetchedAt` | When the row was saved (UTC). |

If the feed cannot be read, the run saves one free status row instead of data, for example:

```json
{
  "recordType": "status",
  "status": "rate_limited",
  "message": "Google Trends returned HTTP 429 (rate limit). Stopped without retrying; run again later. Nothing was charged.",
  "partial": true,
  "resultCount": 0,
  "geo": "US"
}
```

Statuses: `access_denied` (401, 403, a redirect or a non-feed page such as a consent or CAPTCHA page), `rate_limited` (429) and `empty_feed` finish as SUCCEEDED with the status row. `upstream_error` (a server error) and `network_error` (no connection or timeout) finish as FAILED. None of them is charged. Filter on `recordType = trend` when you only want data.

### Use it with Make, Zapier and n8n

**Make:** add the Apify module "Run an Actor", choose `atesen-software/google-trends-daily`, set `geo`, then add "Get Dataset Items" and map `title`, `approxTraffic` and `rank` to your sheet, Slack message or database.

**Zapier:** use the Apify action "Run Actor", pick this Actor, set `geo`, then add "Fetch Dataset Items" and send each row on.

**n8n:** use the Apify node ("Run an Actor and get dataset"), or an HTTP Request node with a POST to `https://api.apify.com/v2/acts/atesen-software~google-trends-daily/run-sync-get-dataset-items` using your own Apify token in the `Authorization: Bearer` header and this body:

```json
{ "geo": "DE", "maxResults": 10 }
```

Add a filter step that keeps only rows where `recordType` equals `trend`.

### Use via API

One request runs the Actor, waits for it and returns the dataset items as JSON. Send your token in the `Authorization` header, not in the URL:

```bash
curl -X POST "https://api.apify.com/v2/acts/atesen-software~google-trends-daily/run-sync-get-dataset-items?timeout=120" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"geo":"US","maxResults":10}'
```

The synchronous endpoint waits up to 300 seconds. For longer jobs start a run with `POST https://api.apify.com/v2/acts/atesen-software~google-trends-daily/runs` and read the dataset when it finishes.

**JavaScript** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('atesen-software/google-trends-daily').call({ geo: "US", maxResults: 10 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### Use with AI agents (MCP)

Claude Desktop, Cursor, VS Code and other MCP clients can call this Actor as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Load only this Actor with:

```text
https://mcp.apify.com?tools=atesen-software/google-trends-daily
```

Client config (sign in with Apify OAuth when the browser opens, or add an `Authorization: Bearer <APIFY_TOKEN>` header instead):

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=atesen-software/google-trends-daily" }
  }
}
```

Then ask in plain words, for example: "What are the top 10 trending Google searches in the US today?" The agent fills the same input fields you see on the Input tab, and runs are billed to your Apify account at the prices on the Pricing tab.

### FAQ

**How often does the feed change?** It changes during the day. One or two scheduled runs per day and country is plenty.

**Can I get several countries?** One country per run. Start one run per country, or schedule several runs.

**Is there history?** No. Save each day's rows yourself (a schedule plus a sheet or database works well) to build your own history.

**Why only 20 rows at most?** The Actor caps a run at 20 rows. The public feed itself usually lists about 10 trends per country, so most runs return 10 rows or fewer.

**Do you use proxies or a login?** No. The Actor makes one plain request from the Apify platform.

**Does it collect personal data?** No. The rows contain trending phrases only.

### Data source and permission

The Actor reads the public daily trending searches RSS feed that Google Trends publishes for each country. It is not an official Google Trends API and it does not use the Explore page. Google's terms restrict automated access, so this Actor is built to be gentle: exactly one request per run, an honest User-Agent that names the operator, no proxy rotation, no login and no retries around errors.

If Google answers with a block, a rate limit, a redirect or a consent or CAPTCHA page, the Actor stops at once and writes a free status row. It does not try to get around the block or hide that it happened. Source and attribution for every row: Google Trends. You are responsible for using the data in line with Google's terms and the laws that apply to you.

### Pricing

Pay per result: each saved trend row is one result. Status rows and failed runs are free. The run stops cleanly when it reaches your maximum cost per run. See the Pricing tab of this Actor for the current price.

**Maximum items is a hard cap on charged rows.** Set `maxItems` in the run options (or `?maxItems=` in the API) and the run stops after that many trends: it never writes or charges more rows than that number. Leave it empty for no cap. Free status rows are not counted.

### Related actors

- [Google News Scraper: News Articles, Headlines & Real URLs](https://apify.com/atesen-software/google-news-scraper)
- [Wikipedia Pageviews Trend Radar (GDELT News Bonus)](https://apify.com/atesen-software/trend-radar-wikipedia-gdelt)
- [RSS Feed Reader & Parser - RSS, Atom, JSON Feed](https://apify.com/atesen-software/rss-feed-reader)

# Actor input Schema

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

Two-letter country for the daily trends feed. The first run uses the United States.

## `maxResults` (type: `integer`):

Maximum rows from one RSS response (1-20). The feed may contain fewer trends; no pagination or history. Hard cap: the run never writes or charges more rows than this.

## Actor input object example

```json
{
  "geo": "US",
  "maxResults": 10
}
```

# Actor output Schema

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

Dataset rows saved by this run.

# 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 = {
    "geo": "US",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("atesen-software/google-trends-daily").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 = {
    "geo": "US",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("atesen-software/google-trends-daily").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 '{
  "geo": "US",
  "maxResults": 10
}' |
apify call atesen-software/google-trends-daily --silent --output-dataset

```

## MCP server setup

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

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/0HfUWV7z4yK38hC7d/builds/Z4lFffwkeXsp7MHDP/openapi.json
