# Google Trends API Documentation

You have to send a GET request to **`http://api.scrapingdog.com/google_trends`** with the below-given parameters.

Google Trends API pricing is available [here](https://www.scrapingdog.com/google-trends-api/).

| Parameters                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>api\_key<br></p><p><mark style="color:red;">required</mark></p> | <p>Your personal API key. Available on your dashboard.<br><br>Type: <em><strong>String</strong></em></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| query                                                              | <p></p><p>The <strong>parameter</strong> specifies the query or queries you want to search. You can use any term or topic as you would in a standard Google Trends search.</p><ul><li>A maximum of <strong>5 queries</strong> can be used per search, but this limit applies only to the <em>"Interest over time"</em> and <em>"Compared breakdown by region"</em> data types. Other data types support only <strong>1 query per search</strong>.</li><li>To pass multiple queries, separate them with a comma (<code>,</code>) (e.g., <code>coffee,pizza,dark chocolate,/m/027lnzs,bread</code>).</li><li>Queries can be either <strong>"Search terms"</strong> (e.g., <em>Tesla, BYD, Volkswagen</em>) or <strong>"Topics"</strong> (e.g., <em>/m/0663v, /m/027lnzs, /g/11mw8j71m4</em>).</li><li>Each query can be up to <strong>100 characters long</strong>.</li></ul><p>Type - <strong>String</strong></p>                                                                                                                                       |
| language                                                           | <p>Language of the results. <br><br>Possible Values - <strong><code>en</code></strong>, <strong><code>es</code></strong>, <strong><code>fr</code></strong>, <strong><code>de</code></strong>, etc. <br><br>Default Value - en <br><br>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| geo                                                                | <p>The <strong>parameter</strong> specifies the location from which the search originates. By default, it is set to <strong>Worldwide</strong> if the <code>geo</code> parameter is not provided or left empty. For a complete list of supported locations, refer to <a href="/pages/FoEidshi9WW2dwhSxNRN"><strong>Google Trends Locations</strong></a>.<br><br>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| region                                                             | <p>The region parameter allows you to obtain more specific results when using the "Compared Breakdown by Region" and "Interest by Region" data type charts. This parameter is not applicable to other data type charts. The default value is determined by the configured geo location. The available options are:</p><ul><li><strong>COUNTRY</strong>: Country</li><li><strong>REGION</strong>: Subregion</li><li><strong>DMA</strong>: Metro</li><li><strong>CITY</strong>: City</li></ul><p>Please note that not all region options will yield results for every geo location.<br><br>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\_type                                                         | <p>The parameter specifies the type of search to perform. The available options are as follows:</p><ul><li><strong>TIMESERIES</strong>: Interest over time (default) – Supports both single and multiple queries per search.</li><li><strong>GEO\_MAP</strong>: Compared breakdown by region – Supports only multiple queries per search.</li><li><strong>GEO\_MAP\_0</strong>: Interest by region – Supports only single query per search.<br></li></ul><p>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| tz                                                                 | <p>This parameter specifies the time zone offset, with the default value set to 420 minutes (Pacific Daylight Time (PDT): -07:00). The value is represented in minutes and ranges from -1439 to 1439.</p><p>The <code>tz</code> value can be calculated based on the time difference between UTC+0 and the desired time zone.</p><p><strong>Examples:</strong></p><ul><li><code>420</code> – PDT</li><li><code>600</code> – Pacific/Tahiti</li><li><code>-540</code> – Asia/Tokyo</li><li><code>-480</code> – Canada/Pacific</li></ul><p>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| cat                                                                | <p>This parameter specifies the search category. <br><br>Default Value - <code>0</code>("All categories")<br><br>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gprop                                                              | <p>This parameter determines how results are sorted based on the selected property. By default, it's set to Web Search (applied when the <code>gprop</code> parameter is unset or empty). Other available options include:</p><ul><li><code>images</code> - Image Search</li><li><code>news</code> - News Search</li><li><code>froogle</code> - Google Shopping</li><li><code>youtube</code> - YouTube Search</li></ul><p>Type - <strong>String</strong></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| date                                                               | <p>This parameter specifies the date range for the search. Available predefined options include:</p><ul><li><code>now 1-H</code> - Past hour</li><li><code>now 4-H</code> - Past 4 hours</li><li><code>now 1-d</code> - Past day</li><li><code>now 7-d</code> - Past 7 days</li><li><code>today 1-m</code> - Past 30 days</li><li><code>today 3-m</code> - Past 90 days</li><li><code>today 12-m</code> - Past 12 months</li><li><code>today 5-y</code> - Past 5 years</li><li><code>all</code> - From 2004 to the present</li></ul><p>Custom date ranges can also be specified:</p><ul><li><strong>For dates from 2004 to the present:</strong> Use the format <code>yyyy-mm-dd yyyy-mm-dd</code> (e.g., <code>2021-10-15 2022-05-25</code>).</li><li><strong>For dates with hours within a week range:</strong> Use the format <code>yyyy-mm-ddThh yyyy-mm-ddThh</code> (e.g., <code>2022-05-19T10 2022-05-24T22</code>). Hourly calculations are based on the <code>tz</code> (time zone) parameter.</li></ul><p>Type - <strong>String</strong></p> |

### API Example

{% tabs %}
{% tab title="cURL" %}

```json
cURL "https://api.scrapingdog.com/google_trends?api_key=APIKEY&q=pizza,burger&data_type=TIMESERIES"
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

api_key = "5eaa61a6e562fc52fe763tr516e4653"
url = "https://api.scrapingdog.com/google_trends"

params = {
    "api_key": api_key,
    "query": "pizza,burger",
    'data_type': 'TIMESERIES'
}

response = requests.get(url, params=params)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Request failed with status code: {response.status_code}")

```

{% endtab %}

{% tab title="Node JS" %}

```javascript
const axios = require('axios');

const api_key = '5eaa61a6e562fc52fe763tr516e4653';
const url = 'https://api.scrapingdog.com/google_trends';

const params = {
  api_key: api_key,
  query: 'pizza,burger',
 'data_type': 'TIMESERIES'
};

axios
  .get(url, { params: params })
  .then(function (response) {
    if (response.status === 200) {
      const data = response.data;
      console.log(data)
    } else {
      console.log('Request failed with status code: ' + response.status);
    }
  })
  .catch(function (error) {
    console.error('Error making the request: ' + error.message);
  });

```

{% endtab %}

{% tab title="PHP" %}

```php
<?php

// Set the API key and request parameters
$api_key = '5eaa61a6e562fc52fe763tr516e4653';
$query = 'pizza,burger';
$data_type = 'TIMESERIES';

// Set the API endpoint
$url = 'https://api.scrapingdog.com/google_trends/?api_key=' . $api_key . '&query=' . $query . '&data_type=' . $data_type;

// Initialize cURL session
$ch = curl_init($url);

// Set cURL options
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Execute the cURL request
$response = curl_exec($ch);

// Check if the request was successful
if ($response === false) {
    echo 'cURL error: ' . curl_error($ch);
} else {
    // Process the response data as needed
    echo $response;
}

// Close the cURL session
curl_close($ch);

```

{% endtab %}

{% tab title="Ruby" %}

```ruby
require 'net/http'
require 'uri'

# Set the API key and request parameters
api_key = '5eaa61a6e562fc52fe763tr516e4653'
query = 'pizza,burger'
data_type = 'TIMESERIES'

# Construct the API endpoint URL
url = URI.parse("https://api.scrapingdog.com/google_trends/?api_key=#{api_key}&query=#{query}&data_type=#{data_type}")

# Create an HTTP GET request
request = Net::HTTP::Get.new(url)

# Create an HTTP client
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true # Enable SSL (https)

# Send the request and get the response
response = http.request(request)

# Check if the request was successful
if response.is_a?(Net::HTTPSuccess)
  puts response.body # Process the response data as needed
else
  puts "HTTP request failed with code: #{response.code}, message: #{response.message}"
end

```

{% endtab %}

{% tab title="Java" %}

```java
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.IOException;

public class Main {
    public static void main(String[] args) {
        try {
            // Set the API key and request parameters
            String apiKey = "5eaa61a6e562fc52fe763tr516e4653";
            String query = "pizza,burger";
            String data_type = "TIMESERIES";

            // Construct the API endpoint URL
            String apiUrl = "https://api.scrapingdog.com/google_trends/?api_key=" + apiKey
                    + "&query=" + query
                    + "&data_type=" + data_type

            // Create a URL object from the API URL string
            URL url = new URL(apiUrl);

            // Open a connection to the URL
            HttpURLConnection connection = (HttpURLConnection) url.openConnection();

            // Set the request method to GET
            connection.setRequestMethod("GET");

            // Get the response code
            int responseCode = connection.getResponseCode();

            if (responseCode == 200) {
                // Read the response from the connection
                BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                String inputLine;
                StringBuilder response = new StringBuilder();

                while ((inputLine = reader.readLine()) != null) {
                    response.append(inputLine);
                }
                reader.close();

                // Process the response data as needed
                System.out.println(response.toString());
            } else {
                System.out.println("HTTP request failed with response code: " + responseCode);
            }

            // Close the connection
            connection.disconnect();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
```

{% endtab %}
{% endtabs %}

### API Response

```json
{
    "interest_over_time": {
        "timeline_data": [
            {
                "date": "Dec 17 – 23, 2023",
                "timestamp": "1702771200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 88,
                        "extracted_value": "88"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Dec 24 – 30, 2023",
                "timestamp": "1703376000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 100,
                        "extracted_value": "100"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Dec 31, 2023 – Jan 6, 2024",
                "timestamp": "1703980800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 96,
                        "extracted_value": "96"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Jan 7 – 13, 2024",
                "timestamp": "1704585600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 82,
                        "extracted_value": "82"
                    },
                    {
                        "query": "burger",
                        "value": 23,
                        "extracted_value": "23"
                    }
                ]
            },
            {
                "date": "Jan 14 – 20, 2024",
                "timestamp": "1705190400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 82,
                        "extracted_value": "82"
                    },
                    {
                        "query": "burger",
                        "value": 24,
                        "extracted_value": "24"
                    }
                ]
            },
            {
                "date": "Jan 21 – 27, 2024",
                "timestamp": "1705795200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 81,
                        "extracted_value": "81"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Jan 28 – Feb 3, 2024",
                "timestamp": "1706400000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 85,
                        "extracted_value": "85"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Feb 4 – 10, 2024",
                "timestamp": "1707004800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 89,
                        "extracted_value": "89"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Feb 11 – 17, 2024",
                "timestamp": "1707609600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 93,
                        "extracted_value": "93"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Feb 18 – 24, 2024",
                "timestamp": "1708214400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 84,
                        "extracted_value": "84"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Feb 25 – Mar 2, 2024",
                "timestamp": "1708819200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 87,
                        "extracted_value": "87"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Mar 3 – 9, 2024",
                "timestamp": "1709424000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 88,
                        "extracted_value": "88"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Mar 10 – 16, 2024",
                "timestamp": "1710028800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 84,
                        "extracted_value": "84"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Mar 17 – 23, 2024",
                "timestamp": "1710633600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 87,
                        "extracted_value": "87"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Mar 24 – 30, 2024",
                "timestamp": "1711238400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 96,
                        "extracted_value": "96"
                    },
                    {
                        "query": "burger",
                        "value": 29,
                        "extracted_value": "29"
                    }
                ]
            },
            {
                "date": "Mar 31 – Apr 6, 2024",
                "timestamp": "1711843200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 80,
                        "extracted_value": "80"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Apr 7 – 13, 2024",
                "timestamp": "1712448000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 88,
                        "extracted_value": "88"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Apr 14 – 20, 2024",
                "timestamp": "1713052800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 83,
                        "extracted_value": "83"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Apr 21 – 27, 2024",
                "timestamp": "1713657600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 86,
                        "extracted_value": "86"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Apr 28 – May 4, 2024",
                "timestamp": "1714262400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 87,
                        "extracted_value": "87"
                    },
                    {
                        "query": "burger",
                        "value": 30,
                        "extracted_value": "30"
                    }
                ]
            },
            {
                "date": "May 5 – 11, 2024",
                "timestamp": "1714867200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 88,
                        "extracted_value": "88"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "May 12 – 18, 2024",
                "timestamp": "1715472000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 86,
                        "extracted_value": "86"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "May 19 – 25, 2024",
                "timestamp": "1716076800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 90,
                        "extracted_value": "90"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "May 26 – Jun 1, 2024",
                "timestamp": "1716681600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 91,
                        "extracted_value": "91"
                    },
                    {
                        "query": "burger",
                        "value": 31,
                        "extracted_value": "31"
                    }
                ]
            },
            {
                "date": "Jun 2 – 8, 2024",
                "timestamp": "1717286400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 88,
                        "extracted_value": "88"
                    },
                    {
                        "query": "burger",
                        "value": 29,
                        "extracted_value": "29"
                    }
                ]
            },
            {
                "date": "Jun 9 – 15, 2024",
                "timestamp": "1717891200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 94,
                        "extracted_value": "94"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Jun 16 – 22, 2024",
                "timestamp": "1718496000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 87,
                        "extracted_value": "87"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Jun 23 – 29, 2024",
                "timestamp": "1719100800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 89,
                        "extracted_value": "89"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Jun 30 – Jul 6, 2024",
                "timestamp": "1719705600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 94,
                        "extracted_value": "94"
                    },
                    {
                        "query": "burger",
                        "value": 29,
                        "extracted_value": "29"
                    }
                ]
            },
            {
                "date": "Jul 7 – 13, 2024",
                "timestamp": "1720310400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 93,
                        "extracted_value": "93"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Jul 14 – 20, 2024",
                "timestamp": "1720915200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 87,
                        "extracted_value": "87"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Jul 21 – 27, 2024",
                "timestamp": "1721520000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 94,
                        "extracted_value": "94"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Jul 28 – Aug 3, 2024",
                "timestamp": "1722124800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 92,
                        "extracted_value": "92"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Aug 4 – 10, 2024",
                "timestamp": "1722729600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 94,
                        "extracted_value": "94"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Aug 11 – 17, 2024",
                "timestamp": "1723334400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 92,
                        "extracted_value": "92"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Aug 18 – 24, 2024",
                "timestamp": "1723939200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 91,
                        "extracted_value": "91"
                    },
                    {
                        "query": "burger",
                        "value": 28,
                        "extracted_value": "28"
                    }
                ]
            },
            {
                "date": "Aug 25 – 31, 2024",
                "timestamp": "1724544000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 89,
                        "extracted_value": "89"
                    },
                    {
                        "query": "burger",
                        "value": 27,
                        "extracted_value": "27"
                    }
                ]
            },
            {
                "date": "Sep 1 – 7, 2024",
                "timestamp": "1725148800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 86,
                        "extracted_value": "86"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Sep 8 – 14, 2024",
                "timestamp": "1725753600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 79,
                        "extracted_value": "79"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Sep 15 – 21, 2024",
                "timestamp": "1726358400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 84,
                        "extracted_value": "84"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Sep 22 – 28, 2024",
                "timestamp": "1726963200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 81,
                        "extracted_value": "81"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Sep 29 – Oct 5, 2024",
                "timestamp": "1727568000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 84,
                        "extracted_value": "84"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Oct 6 – 12, 2024",
                "timestamp": "1728172800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 83,
                        "extracted_value": "83"
                    },
                    {
                        "query": "burger",
                        "value": 26,
                        "extracted_value": "26"
                    }
                ]
            },
            {
                "date": "Oct 13 – 19, 2024",
                "timestamp": "1728777600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 84,
                        "extracted_value": "84"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Oct 20 – 26, 2024",
                "timestamp": "1729382400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 81,
                        "extracted_value": "81"
                    },
                    {
                        "query": "burger",
                        "value": 24,
                        "extracted_value": "24"
                    }
                ]
            },
            {
                "date": "Oct 27 – Nov 2, 2024",
                "timestamp": "1729987200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 81,
                        "extracted_value": "81"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Nov 3 – 9, 2024",
                "timestamp": "1730592000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 75,
                        "extracted_value": "75"
                    },
                    {
                        "query": "burger",
                        "value": 22,
                        "extracted_value": "22"
                    }
                ]
            },
            {
                "date": "Nov 10 – 16, 2024",
                "timestamp": "1731196800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 78,
                        "extracted_value": "78"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Nov 17 – 23, 2024",
                "timestamp": "1731801600",
                "values": [
                    {
                        "query": "pizza",
                        "value": 78,
                        "extracted_value": "78"
                    },
                    {
                        "query": "burger",
                        "value": 24,
                        "extracted_value": "24"
                    }
                ]
            },
            {
                "date": "Nov 24 – 30, 2024",
                "timestamp": "1732406400",
                "values": [
                    {
                        "query": "pizza",
                        "value": 77,
                        "extracted_value": "77"
                    },
                    {
                        "query": "burger",
                        "value": 24,
                        "extracted_value": "24"
                    }
                ]
            },
            {
                "date": "Dec 1 – 7, 2024",
                "timestamp": "1733011200",
                "values": [
                    {
                        "query": "pizza",
                        "value": 78,
                        "extracted_value": "78"
                    },
                    {
                        "query": "burger",
                        "value": 24,
                        "extracted_value": "24"
                    }
                ]
            },
            {
                "date": "Dec 8 – 14, 2024",
                "timestamp": "1733616000",
                "values": [
                    {
                        "query": "pizza",
                        "value": 78,
                        "extracted_value": "78"
                    },
                    {
                        "query": "burger",
                        "value": 25,
                        "extracted_value": "25"
                    }
                ]
            },
            {
                "date": "Dec 15 – 21, 2024",
                "timestamp": "1734220800",
                "values": [
                    {
                        "query": "pizza",
                        "value": 72,
                        "extracted_value": "72"
                    },
                    {
                        "query": "burger",
                        "value": 22,
                        "extracted_value": "22"
                    }
                ]
            }
        ]
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scrapingdog.com/google-trends-api-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
