# Cheapest Google Trends Scraper | Fast Keywords & Live Trends (`lofomachines/google-trends-scraper`) Actor

Research bulk keywords and discover trending Google searches by country. Get interest over time, regions, related queries and topics, plus ready-to-use CSV exports. No code required.

- **URL**: https://apify.com/lofomachines/google-trends-scraper.md
- **Developed by:** [Lofomachines](https://apify.com/lofomachines) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.05 / 1,000 outputs

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

## Cheapest Google Trends Scraper — Fast Keywords & Trending Now

**Turn Google Trends into ready-to-use market research.** Analyze a list of keywords, discover what people are searching for right now, and download clean spreadsheets by country. Find seasonal demand, compare brands, spot rising searches and plan your next content campaign without writing code.

**Fast research. One simple output price.** $0.09 per 1,000 outputs on Free, $0.08 on Bronze, $0.07 on Silver and **$0.05 on Gold, Platinum and Diamond**. No Actor start fee, keyword fee or separate server-request fee.

One output means one historical time point, one regional result, one related query/topic or one current trend. A report containing 200 data points counts as 200 outputs. The report wrapper and repeated CSV/JSON exports add no output charges. Single-tenant servers also incur Apify platform usage; multi-tenant requests use the output price.

“Cheapest” is our low-price positioning, not a verified claim that every competing Actor costs more. In a measured cloud test, 20 keywords across two countries plus 2,000 current trends completed in 37 seconds. Performance varies with Google responses and workload.

### Server API and AI agents

Use `POST /search` with the same JSON fields as batch input. Authenticate with your Apify token in the Authorization Bearer header. `GET /health` checks readiness and `GET /openapi.json` describes the endpoints. Copy the server URL from the Actor Server tab.

Requests keep their data separate and do not write to a shared dataset. Both tenancy modes are supported by the implementation; Apify configures one tenancy mode at a time. Multi-tenant is the default deployment. Use batch mode for long jobs and CSV downloads. Server requests are capped at 210 seconds and 12 MB of result data, with two concurrent requests per container.

**When an AI agent should use this tool:** Google Trends interest over time, regional demand, keyword seasonality, top/rising related queries, comparing up to five terms, and current Google trending searches by country. Input is structured JSON; responses include completeness, data and a billable output count. Use another source when you need absolute keyword search volume or private Google account data.

Choose **Keyword research**, **Trending now**, or **both in one run**. Start with two keywords and one country, then scale to as many as **500 keyword-country combinations** per run.

### What can you collect?

| Research question | Data you receive |
| --- | --- |
| When does interest rise or fall? | Interest over time, original date labels and partial-period indicators |
| Where is a keyword most popular? | Regional interest, region names and region codes |
| What else are people searching for? | Top and rising related searches, including breakout labels |
| Which topics are gaining attention? | Top and rising related topics, when Google provides them |
| What is trending now? | Trending searches, approximate search-volume thresholds, growth, start/end times, active status and related search clusters |

Use web search, YouTube, news, images or Google Shopping for keyword research. Explore recent periods, the past five years, dates since 2004, or a custom calendar range. Availability depends on the search type, keyword, location and selected period.

### Get results in three steps

1. **Choose your research mode.** Keep “Keywords + trending now” to collect both.
2. **Add keywords and countries.** Paste one keyword per line and select your markets. Pick a period or open Custom dates.
3. **Run and download.** Open **Download all CSV files** in the output to get spreadsheets for each section. The dataset contains complete JSON reports and individual current trends.

No Google API key, browser setup or spreadsheet formulas are required. Optional settings are grouped under **More options**. Related topics are optional: enable them under Keyword data to collect when needed; Google often returns an empty topics list.

### Keyword research and Trending now use different periods

**Keyword research period** controls historical charts and related searches. **Trending now period** controls the live trend window: 4 hours, 24 hours, 48 hours or 7 days. Maximum trends applies **per country** to Trending now; it does not truncate historical chart points.

Worldwide is available for keyword research. Trending now requires a specific supported country. Google does not offer Trending now in every country in the country picker; an unavailable or unexpected response is reported in the collection summary instead of being treated as a successful empty search.

### Compare brands or research a large keyword list

Leave **Compare keywords together** off to research each keyword independently. Every report then has its own relative scale.

Turn it on to compare **up to five keywords on a shared scale within each country**. The `comparisonKeywords` field identifies the group. Different countries and different runs still have separate scales. Some related sections are not offered by Google in comparison mode; use independent research when you need those sections.

### Input examples

#### Keyword research and current trends

```json
{
  "mode": "both",
  "keywords": ["coffee", "matcha", "cold brew"],
  "countries": ["US", "IT"],
  "timeframe": "today 12-m",
  "trendingHours": "24",
  "maxTrends": 100
}
```

#### A custom date range for keyword research

```json
{
  "mode": "keywords",
  "keywords": ["coffee", "tea"],
  "countries": ["US"],
  "timeframe": "custom",
  "startDate": "2025-01-01",
  "endDate": "2025-12-31",
  "compareKeywords": true,
  "sections": ["interestOverTime", "interestByRegion"]
}
```

#### Discover the biggest active trends

```json
{
  "mode": "trending",
  "countries": ["US", "GB", "IT"],
  "trendingHours": "4",
  "maxTrends": 200,
  "activeOnly": true,
  "trendSort": "volume"
}
```

### Downloads and output

The dataset contains **one report for each keyword-country pair** and **one record for each current trend**. Keyword reports include nested historical, regional and related-search data. For spreadsheet work, use the dedicated CSV downloads, which put each data point on its own row:

- **KEYWORD_REPORTS.csv** — report availability, countries, periods and comparison groups.
- **INTEREST_OVER_TIME.csv** — one row per keyword and time point.
- **INTEREST_BY_REGION.csv** — one row per keyword and region.
- **RELATED_QUERIES.csv** — top and rising searches.
- **RELATED_TOPICS.csv** — top and rising topics.
- **TRENDING_NOW.csv** — current trends and their available metrics.

Large CSV exports are split into numbered parts. The download page lists **every part** with its row count. A file with zero rows contains column headers only. CSV files support Excel, Google Sheets and other spreadsheet tools; potentially executable formula text is escaped for safe import.

**Illustrative keyword report excerpt** — values below are examples, not live observations:

```json
{
  "type": "keyword",
  "keyword": "coffee",
  "country": "US",
  "timeframe": "today 12-m",
  "status": "complete",
  "comparisonKeywords": [],
  "interestOverTime": [
    {
      "date": "2025-11-09T00:00:00.000Z",
      "dateLabel": "Nov 9 – 15, 2025",
      "value": 76,
      "formattedValue": "76",
      "hasData": true,
      "isPartial": false
    }
  ]
}
```

The full result also includes regional data, top/rising related queries and topics, source URL, collection time and section availability. Current trends include `approximateSearches`, `growthPercent`, `startedAt`, `endedAt`, `active` and `trendBreakdown`.

### Understand Google Trends data correctly

- **Keyword interest is a relative 0–100 index, not absolute search volume.** A score of 100 is the peak within the selected context. Independently collected keywords cannot be compared as absolute popularity.
- **Trending search volumes are approximate lower bounds.** For example, 20,000 corresponds to a displayed bucket such as “20K+”, not an exact count.
- **Breakout is not an exact growth percentage.** Breakout rows have `breakout: true` and `growthPercent: null`; the original label is preserved.
- **Missing data does not mean no interest.** Google may omit low-volume terms, related topics or regions. Section states distinguish `no_data`, `not_available`, `skipped` and `failed`.
- **Partial periods can change.** A current day or week may be incomplete. Weekly chart buckets may overlap the boundary of a selected range. Source labels and partial flags are preserved.
- **Timestamps use UTC.** Trending start/end times are converted to UTC; keyword requests use a UTC time-zone setting.

Data source: [Google Trends](https://trends.google.com/). This is an independent Actor and is not affiliated with or endorsed by Google. It collects data available on the public Google Trends website; it does not require access to Google's restricted Trends API alpha. See [how Google Trends data works](https://support.google.com/trends/answer/4365533) and [Trending now help](https://support.google.com/trends/answer/3076011).

### Fast collection with controlled costs

The Actor collects selected data sections concurrently with bounded requests and short retries. It saves compact keyword reports and provides flat CSV exports separately. For the smallest runs, choose only the countries and keyword data sections you need. Selecting fewer related sections reduces requests.

When Google temporarily limits a request, the Actor makes a small number of recovery attempts. On Apify, a residential proxy may be used only after direct attempts fail; that can add proxy usage costs. There is no guarantee that every request will succeed. A run with exhausted source failures is marked failed while preserving collected results and a **RUN_SUMMARY** explaining what is missing. Legitimate empty results are reported separately.

Progress is checkpointed so a restarted run can reuse completed searches and avoid duplicating saved records. Use batch collection or the server API with single-tenant and multi-tenant deployment support.

### Popular use cases

**SEO and content planning:** identify rising searches and build timely editorial calendars. **Ecommerce:** spot seasonal interest before a campaign. **Brand research:** compare up to five brands in one market. **Market expansion:** research separate country reports. **News and social listening:** monitor active trending searches. **YouTube planning:** research interest in video-search topics.

### Frequently asked questions

**Can I paste many keywords at once?** Yes. Use one per line, up to 500 keyword-country combinations per run. For example, 100 keywords across five countries use all 500 combinations.

**Can I collect more than 100 trends?** Yes. Set up to 5,000 per country. Google may expose fewer results for your selected window; the Actor does not invent or fill missing trends.

**Can I search by topic ID?** Yes. Enter a Google Trends topic ID, such as `/m/02vqfm`, as a keyword when you want a specific recognized topic.

**Does the language setting change the country?** No. Language controls labels and topic names where supported. Countries and search terms determine the market you research.

**Can I automate this?** Yes. Connect Apify schedules, API calls, Make, Zapier or your reporting workflow. Read RUN_SUMMARY to check completeness before using the data.

### Italiano — Google Trends per keyword e tendenze del momento

Scopri cosa cercano le persone, quando cresce l’interesse e quali argomenti stanno emergendo. Incolla le keyword, scegli i paesi e il periodo, quindi scarica CSV pronti per Excel o Google Sheets. Puoi raccogliere andamento storico, interesse geografico, ricerche e argomenti correlati, oltre ai trend attuali.

Usa il confronto per un massimo di cinque keyword sulla stessa scala nel singolo paese. Per liste più grandi, analizza ogni termine separatamente. Gli indici 0–100 sono relativi: non rappresentano volumi assoluti. I volumi dei trend attuali sono soglie approssimative. Ideale per SEO, contenuti, ecommerce e ricerche di mercato.

### Español — Google Trends por palabras clave y tendencias actuales

Investiga hasta 500 combinaciones de palabra clave y país en una ejecución. Descubre interés a lo largo del tiempo, regiones, búsquedas relacionadas y tendencias actuales. Selecciona países y fechas, y descarga archivos CSV listos para tus informes. Compara hasta cinco términos en una misma escala por país. Los índices son relativos y los volúmenes de tendencias son aproximados.

### Français — Mots-clés et tendances Google Trends

Analysez une liste de mots-clés et découvrez les recherches du moment par pays. Obtenez l’évolution de l’intérêt, les régions, les recherches associées et les sujets en progression. Choisissez une période et téléchargez les fichiers CSV. Comparez jusqu’à cinq mots-clés sur une échelle commune dans chaque pays. Les indices ne représentent pas des volumes de recherche absolus.

### Deutsch — Google Trends für Keywords und aktuelle Suchtrends

Untersuchen Sie Keywords, Länder und Zeiträume ohne Programmierung. Exportieren Sie zeitliche Entwicklungen, regionales Interesse, verwandte Suchanfragen und aktuelle Trends als CSV. Vergleichen Sie bis zu fünf Begriffe innerhalb eines Landes auf derselben Skala. Interesse wird relativ von 0 bis 100 angegeben; aktuelle Suchvolumen sind Näherungswerte.

### Português — Palavras-chave e tendências do Google Trends

Pesquise listas de palavras-chave e descubra as tendências do momento por país. Exporte histórico de interesse, regiões, pesquisas relacionadas e assuntos em alta em CSV. Escolha datas, compare até cinco termos no mesmo país e prepare relatórios sem código. Os índices são relativos; os volumes das tendências são limites inferiores aproximados.

### Discover more research tools

Explore social search, market research and data collection tools from **[lofomachines on Apify](https://apify.com/lofomachines)**. Build a broader view of your market with Actors for Facebook, Instagram, LinkedIn, TikTok, Rednote and more.

# Actor input Schema

## `mode` (type: `string`):

Analyze your keywords, discover current trending searches, or collect both.

## `keywords` (type: `array`):

One term or topic ID per line. Required for keyword research. Up to 500 keyword-country combinations per run; ignored in Trending now mode.

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

Choose up to 20 countries. Worldwide is available only for keyword research. Trending now availability varies by country.

## `timeframe` (type: `string`):

Choose the period for keyword charts. Use Custom dates for a calendar range. Does not control Trending now.

## `trendingHours` (type: `string`):

Collect searches that started trending during this window. Used only for Trending now.

## `maxTrends` (type: `integer`):

Maximum current trends to return for each selected country. Available results can be fewer.

## `startDate` (type: `string`):

Used only with Custom dates. Select a date from 2004-01-01 through today.

## `endDate` (type: `string`):

Used only with Custom dates. Must be on or after the start date and no later than today.

## `sections` (type: `array`):

Collect only the sections you need to keep runs small and economical.

## `compareKeywords` (type: `boolean`):

Compare up to 5 keywords on one shared scale within each country. Off: every keyword is normalized independently.

## `searchProperty` (type: `string`):

Applies to keyword research. Trending now always uses Google Search.

## `category` (type: `string`):

Refine keyword research by subject. Does not filter Trending now.

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

Language for labels and related topics; country and keyword determine the research market.

## `activeOnly` (type: `boolean`):

Return only trends still active at collection time. Used only for Trending now.

## `trendSort` (type: `string`):

Choose which trends are returned first before applying the maximum per country.

## Actor input object example

```json
{
  "mode": "both",
  "keywords": [
    "coffee",
    "matcha"
  ],
  "countries": [
    "US"
  ],
  "timeframe": "today 12-m",
  "trendingHours": "24",
  "maxTrends": 100,
  "startDate": "",
  "endDate": "",
  "sections": [
    "interestOverTime",
    "interestByRegion",
    "relatedQueries"
  ],
  "compareKeywords": false,
  "searchProperty": "web",
  "category": "0",
  "language": "en-US",
  "activeOnly": false,
  "trendSort": "relevance"
}
```

# Actor output Schema

## `csvDownloads` (type: `string`):

No description

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

No description

## `summary` (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 = {
    "keywords": [
        "coffee",
        "matcha"
    ],
    "startDate": "",
    "endDate": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("lofomachines/google-trends-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 = {
    "keywords": [
        "coffee",
        "matcha",
    ],
    "startDate": "",
    "endDate": "",
}

# Run the Actor and wait for it to finish
run = client.actor("lofomachines/google-trends-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 '{
  "keywords": [
    "coffee",
    "matcha"
  ],
  "startDate": "",
  "endDate": ""
}' |
apify call lofomachines/google-trends-scraper --silent --output-dataset

```

## MCP server setup

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