# YouTube Search Trend Tracking

**Use case:** 

Gain insights into YouTube search trends for specific keywords like 'minecraft', 'roblox', and 'fortnite'. This task tracks search interest over the past 12 months, providing you data on how these terms are trending today. Understand regional variations and current popularity at a glance.

## Input

```json
{
  "mode": "searchTerms",
  "searchTerms": [
    "minecraft",
    "roblox",
    "fortnite"
  ],
  "compareTerms": false,
  "timeRange": "today 12-m",
  "geo": "",
  "category": "0",
  "searchProperty": "youtube",
  "includeInterestOverTime": true,
  "includeInterestByRegion": true,
  "includeRelatedQueries": true,
  "includeRelatedTopics": false,
  "regionResolution": "AUTO",
  "includeLowVolumeRegions": false,
  "trendingGeos": [
    "US"
  ],
  "language": "en-US",
  "maxConcurrency": 3,
  "maxRetries": 8,
  "requestDelaySecs": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "residentialFallback": true
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "text"
  },
  "value": {
    "label": "Interest",
    "format": "number"
  },
  "hasData": {
    "label": "Has data",
    "format": "boolean"
  },
  "isPartial": {
    "label": "Partial",
    "format": "boolean"
  },
  "geo": {
    "label": "Location",
    "format": "string"
  }
}
```

## How it works

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

The Google Trends Scraper Actor is ready to run with the inputs already set for "YouTube Search Trend Tracking". [Sign up or log in](https://console.apify.com/create-task-from-example/u6FvSOIClhlkGQapS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Search Trend Tracking" task

The Google Trends Scraper Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, search terms, and more, to match your specific use case.

### 3. Receive the "YouTube Search Trend Tracking" 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 search term, date, interest, 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 "YouTube Search Trend Tracking" task via API](https://apify.com/blueloles/google-trends-scraper.md).

## FAQ

### What data does the YouTube Search Trend Tracking task provide?

The YouTube Search Trend Tracking task provides search term, date, interest value, data availability, partial data indication, and location code.

### What does the interest value represent in the output?

The interest value in the output represents the search interest for the specified term on a 0-100 scale, where higher values indicate more interest.

### How is the data region specified in the results?

The data region in the results is specified by a location code; if empty, it indicates worldwide trends.

### Can this task track trends for different keywords?

Yes. Replace the example keywords with any keywords you want; each gets its own 0-100 scale unless you turn on comparison.

### Does the YouTube Search Trend Tracking task provide historical data?

The task tracks search interest over the past 12 months, providing insights into how keywords have trended over that time period.

## About this Actor

This example demonstrates how to use [Google Trends Scraper](https://apify.com/blueloles/google-trends-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/blueloles/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/blueloles/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`).
