# Google Trends Custom Date Range: Olympics vs Euro 2024

**Use case:** 

Compares worldwide search interest in the Olympics, Euro 2024 and Copa America for calendar year 2024, using a custom start and end date instead of a preset range.

## Input

```json
{
  "searchTerms": [
    "olympics, euro 2024, copa america"
  ],
  "geos": [
    "US",
    "GB",
    "DE"
  ],
  "geo": "",
  "timeframe": "today 12-m",
  "customTimeframe": "2024-01-01 2024-12-31",
  "category": 0,
  "property": "",
  "includeInterestOverTime": true,
  "includeInterestByRegion": false,
  "regionResolution": "auto",
  "includeLowSearchVolumeRegions": false,
  "includeRelatedQueries": true,
  "includeRelatedTopics": true,
  "trendingGeos": [
    "US",
    "GB"
  ],
  "outputFormat": "perTerm",
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "requestDelaySecs": 2,
  "maxRetries": 6
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "comparedWith": {
    "label": "Compared with",
    "format": "array"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "timeframe": {
    "label": "Time range",
    "format": "string"
  },
  "property": {
    "label": "Search type",
    "format": "string"
  },
  "hasData": {
    "label": "Has data",
    "format": "boolean"
  },
  "averageInterest": {
    "label": "Average",
    "format": "number"
  },
  "peakInterest": {
    "label": "Peak",
    "format": "number"
  },
  "peakDate": {
    "label": "Peak date",
    "format": "string"
  },
  "latestInterest": {
    "label": "Latest",
    "format": "number"
  },
  "latestDate": {
    "label": "Latest date",
    "format": "string"
  },
  "exploreUrl": {
    "label": "Google Trends",
    "format": "string"
  }
}
```

## How it works

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

The Google Trends Scraper & API: Related Queries, Trending Now Actor is ready to run with the inputs already set for "Google Trends Custom Date Range: Olympics vs Euro 2024". [Sign up or log in](https://console.apify.com/create-task-from-example/bubKOC0DPFSFzkEiZ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Trends Custom Date Range: Olympics vs Euro 2024" task

The Google Trends Scraper & API: Related Queries, Trending Now Actor will start running based on the input automatically. You can also change all the input fields, like search terms, countries / regions, and more, to match your specific use case.

### 3. Receive the "Google Trends Custom Date Range: Olympics vs Euro 2024" 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, compared with, geo, 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 Custom Date Range: Olympics vs Euro 2024" task via API](https://apify.com/tidewell/google-trends-api.md).

## FAQ

### How much does this example cost?

$0.003 per search term that returns data, and $0.001 per Trending Now item. Terms where Google has too little data are not charged.

### What date formats are accepted?

YYYY-MM-DD YYYY-MM-DD for daily or weekly data, or YYYY-MM-DDTHH YYYY-MM-DDTHH for hourly data over windows of up to 7 days.

### How far back does Google Trends go?

Web search data starts in 2004. YouTube, News, Images and Shopping data start in 2008.

### What do the 0-100 numbers mean?

They are Google Trends relative interest. 100 is the peak for the terms compared on one line, in that place and time range. They are not absolute search volumes.

### Why does this example use residential proxy?

Google Trends often rate-limits shared datacenter IPs with HTTP 429. Residential proxy makes runs reliable, and the actor uses only a few kilobytes of proxy traffic per term.

## About this Actor

This example demonstrates how to use [Google Trends Scraper & API: Related Queries, Trending Now](https://apify.com/tidewell/google-trends-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/tidewell/google-trends-api.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/tidewell/google-trends-api.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`).
