Actions12
- Deep SerpApi Actions
- Universal Scraping API Actions
- Crawler Actions
- AI Scraper Actions
Deep SerpApi → Google Trends
AI-generatedSummary
Fetches Google Trends data including search volume, related queries, and autocomplete suggestions using the Scrapeless API.
Inputs
- q (required) — The search query or queries to track. Accepts up to 5 queries for 'interest_over_time' and 'compared_breakdown_by_region', but only 1 for other data types.
- data_type (required) — The type of data to retrieve: autocomplete suggestions, interest over time, breakdown by region, related queries, or related topics.
- date — The date range for the search. Supports preset values like 'today 1-m' or custom ranges like '2021-10-15 2022-05-25'. Defaults to 'today 1-m'.
- hl — The language code for the search (e.g., 'en', 'es'). Defaults to 'en'.
- tz — Time zone offset. Defaults to '420'.
- geo — Location code (e.g., 'US', 'GB'). Defaults to Worldwide if empty.
- cat — Category ID (e.g., '0' for All categories). Defaults to '0'.
- property — Sort results by property: 'images', 'news', 'froogle' (Shopping), or 'youtube'. Defaults to Web Search if empty.
Output shape
a list of items, each containing the requested Google Trends data (e.g., interest over time series, related queries, or autocomplete suggestions).
The structure of returned items depends on the selected 'data_type'. For 'interest_over_time' and 'compared_breakdown_by_region', 'q' supports up to 5 queries.
Examples
Example 1: Track search volume for 'Mercedes-Benz' and 'BMW X5' over the last month in the United States.
Set data_type to 'interest_over_time', q to 'Mercedes-Benz,BMW X5', geo to 'US', and date to 'today 1-m'.
Example 2: Get autocomplete suggestions for a specific search term.
Set data_type to 'autocomplete' and q to your desired search term.
Example 3: Find related queries for a specific topic in a specific category.
Set data_type to 'related_queries', q to your topic, and cat to the desired category ID.