# Google Trends Scraper — quick start

**Use case:** 

Ready-to-run example of Google Trends Scraper: FAST & CHEAP — $1 / 1,000 results. Scrape Google Trends by keyword or URL: trends over time, subregions, related queries/topics, locations, time ranges and categories. Export data, run via API, schedule and monitor runs.

## Input

```json
{
  "searchTerms": [
    "web scraping"
  ],
  "isMultiple": false,
  "timeRange": "",
  "geo": "",
  "viewedFrom": "",
  "skipDebugScreen": false,
  "startUrls": [
    {
      "url": "https://trends.google.com/trends/explore?date=today%2012-m&q=web%20scraping"
    }
  ],
  "category": "",
  "maxItems": 0,
  "maxConcurrency": 10,
  "maxRequestRetries": 7,
  "pageLoadTimeoutSecs": 180
}
```

## Output

```json
{
  "inputUrlOrTerm": {
    "label": "Input URL or term",
    "format": "string"
  },
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "timeRange": {
    "label": "Time range",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "property": {
    "label": "Search property",
    "format": "string"
  },
  "exploreUrl": {
    "label": "Explore URL",
    "format": "string"
  },
  "interestOverTime_timelineData": {
    "label": "Interest over time",
    "format": "array"
  },
  "interestBy": {
    "label": "Interest by area",
    "format": "array"
  },
  "interestBySubregion": {
    "label": "Interest by subregion",
    "format": "array"
  },
  "interestByCity": {
    "label": "Interest by city",
    "format": "array"
  },
  "relatedQueries_top": {
    "label": "Top related queries",
    "format": "array"
  },
  "relatedQueries_rising": {
    "label": "Rising related queries",
    "format": "array"
  },
  "relatedTopics_top": {
    "label": "Top related topics",
    "format": "array"
  },
  "relatedTopics_rising": {
    "label": "Rising related topics",
    "format": "array"
  },
  "error": {
    "label": "Error",
    "format": "boolean"
  },
  "errorMessage": {
    "label": "Error message",
    "format": "string"
  }
}
```

## About this Actor

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