# Google Trends Historical Data Since 2004

**Use case:** 

Get the full Google Trends history for thousands of keywords, from 2004 to today, or for any exact date range you set. See long-term growth, decline and seasonality for each keyword, with the average, peak, peak date and current direction. Use it for market research, forecasting and academic studies. Trend line only, $1.50 per 1,000 keywords.

## Input

```json
{
  "keywords": [
    "bitcoin",
    "electric cars",
    "remote work",
    "ai agents"
  ],
  "preset": "trend_line",
  "geo": "US",
  "timeRange": "all",
  "property": "web",
  "category": 0,
  "outputFormat": "perKeyword",
  "language": "en-US",
  "maxTopicsWaitMinutes": 15
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "text"
  },
  "location": {
    "label": "Location",
    "format": "text"
  },
  "timeRangeLabel": {
    "label": "Time range",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "statusMessage": {
    "label": "Result",
    "format": "text"
  },
  "trendPoints": {
    "label": "Trend points",
    "format": "number"
  },
  "regionsCount": {
    "label": "Regions",
    "format": "number"
  },
  "topQueriesCount": {
    "label": "Top queries",
    "format": "number"
  },
  "risingQueriesCount": {
    "label": "Rising queries",
    "format": "number"
  },
  "topTopicsCount": {
    "label": "Top topics",
    "format": "number"
  },
  "risingTopicsCount": {
    "label": "Rising topics",
    "format": "number"
  },
  "averageInterest": {
    "label": "Average interest (0–100)",
    "format": "number"
  },
  "peakInterest": {
    "label": "Peak interest",
    "format": "number"
  },
  "peakDate": {
    "label": "Peak date",
    "format": "text"
  },
  "latestInterest": {
    "label": "Latest interest",
    "format": "number"
  },
  "trend": {
    "label": "Trend",
    "format": "text"
  },
  "trendChangePct": {
    "label": "Trend change (%)",
    "format": "number"
  },
  "topRegion": {
    "label": "Top region",
    "format": "text"
  },
  "topQuery": {
    "label": "Top related query",
    "format": "text"
  },
  "topRisingQuery": {
    "label": "Top rising query",
    "format": "text"
  },
  "topTopic": {
    "label": "Top related topic",
    "format": "text"
  },
  "topRisingTopic": {
    "label": "Top rising topic",
    "format": "text"
  },
  "googleTrendsUrl": {
    "label": "Open in Google Trends",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Trends API & Scraper: Regions, Related Queries & Topics Actor is ready to run with the inputs already set for "Google Trends Historical Data Since 2004". [Sign up or log in](https://console.apify.com/create-task-from-example/u1UhdIf4XUk4dJSSq) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Trends Historical Data Since 2004" task

The Google Trends API & Scraper: Regions, Related Queries & Topics Actor will start running based on the input automatically. You can also change all the input fields, like keywords, what to get, and more, to match your specific use case.

### 3. Receive the "Google Trends Historical Data Since 2004" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as keyword, location, time range, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Google Trends Historical Data Since 2004" task via API](https://apify.com/clean-fetch/google-trends-scraper.md).

## FAQ

### How far back does Google Trends data go?

Google Trends web search data starts on January 1, 2004. The Google Trends Historical Data task gets everything from then to today, or any exact range you enter as YYYY-MM-DD YYYY-MM-DD.

### Why is long-range data monthly?

Google returns monthly points for ranges over 5 years, weekly points up to 5 years and daily points for short ranges. The Google Trends Historical Data task keeps the points exactly as Google gives them.

### Can I get several time ranges in one run?

Add codes such as today 5-y or exact date ranges under Several time ranges, and the Google Trends Historical Data task runs every keyword for each of them.

### How much does historical Google Trends data cost?

The Google Trends Historical Data task costs $1.50 per 1,000 keywords for the trend line. Keywords with too little search volume are free.

## About this Actor

This example demonstrates how to use [Google Trends API & Scraper: Regions, Related Queries & Topics](https://apify.com/clean-fetch/google-trends-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/clean-fetch/google-trends-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/clean-fetch/google-trends-scraper.md

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`).
