# Changelog of Google Trends Scraper: Interest, Regions & Queries, $1.50/1K (`laptime/google-trends-scraper`) Actor

- **URL**: https://apify.com/laptime/google-trends-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/laptime/google-trends-scraper.md

## Changelog

### 0.4 (2026-11-22)

- **Retry round for throttled keywords:** keywords Google refused (429s) or answered only partly get a second round at the end of the run, on rested and fresh IPs. Under load (500 + 570 + 57-comparison jobs side by side) every keyword was delivered.
- **Never charged for a failure:** a keyword whose data still fails is delivered free, with what loaded (`complete: false`, `missingData` says what failed); an input that fails completely gets a free row with `dataType: "error"` and the reason. A keyword whose requests all failed is no longer reported as "no data".
- **Clearer errors:** queries Google rejects now say why (location, time range, category) instead of "badRequest (HTTP 400)", and the status message counts partial and failed keywords.
- **Easier input form:** pick countries from a list (codes like `US-CA` still work), the main fields up front and the rest in sections, plain-language help on every field.
- **Forgiving input:** country names and slips (`Germany`, `UK`, `USA`, `us_ca`) are read; an unknown location in a list is skipped with a note instead of failing the run; duplicate keywords that differ only in case or spaces are loaded once; terms over 100 characters (Google refuses them) are skipped with a note; hourly ranges over 7 days load daily data instead of failing; a Trending Now country Google has no list for says so.
- **Keywords table:** new one-term columns `direction`, `changePercent`, `averageInterest`, `peakInterest`, `peakDate`, `latestInterest`, `topRegion`, `topQuery`, `topRisingQuery`; a Keyword details view has the arrays. Periods without data now count as 0 in the summary, and a term with only a few spikes gets `direction: "sparse"`.
- **Related topics are opt-in:** Google withholds them (and city values) from signed-out visitors; leaving them out of the default takes a fifth of the requests off Google's rate limit. When asked for, `missingData` explains the empty list.

### 0.3 (2026-11-19)

- Listing refreshed (2026-11-19): price-first Store title and description, related Laptime Actors, output screenshot. No change to the code, input or prices.
- **Trending keyword filters** (`trendingIncludeKeywords`, `trendingExcludeKeywords`): keep or leave out trending searches by words in the title or Google's related searches, e.g. a brand alert. Left-out trends are free.
- **Fallback for Trending Now:** when the Trending Now page can't be read, the run delivers Google's RSS feed of the top trends instead (`dataSource: "google-trends-rss"`) rather than failing.
- Related topics (which Google withholds from signed-out visitors) are now tried 4 times instead of 10, so a throttled topics request can no longer hold a short run for 40 seconds.
- **Google Sheet input:** `spreadsheetId` (apify/google-trends-scraper's field, which we used to ignore) now reads search terms from the first column of a public Google Sheet.
- The Console's default input now matches the schema default (worldwide) instead of prefilling the US.

### 0.2 (2026-11-18)

- **Other Actors' field names now work on Apify too:** the platform fills our own fields with their defaults, which used to hide a competitor's field (e.g. `maxResults` behind our default item count). A competitor's field now wins whenever it is given.
- **`geos`**: run every search term (or comparison) in several locations in one run, e.g. `["US", "GB", "DE"]`; one row and one keyword result per term × location.
- **More input names accepted**, so other Google Trends scrapers' inputs work as they are: `keywords`, `keyword`, `timeframe`, `predefinedTimeframe`, `countries`, `searchType`, `compareTerms`, `trendingSearchesGeo`, `trendingSearchesCountry`, `maxResults`, `monitorKey`, `compare_keywords`, `trends_urls`, `predefined_timeframe`, `common_geo`, `gprop`.

### 0.1 (2026-11-18)

- First version. Uses Google Trends' own explore and widget endpoints, over HTTP only, with no browser.
- Keyword results:
  - interest over time
  - interest by country, subregion, US metro and city
  - related queries (top and rising) and related topics (when Google serves them)
  - a per-term summary
  - comparisons of up to 5 terms
  - any geo, preset, custom or hourly time range, category, and property (web, news, images, YouTube, Shopping)
- Trending Now: the full list for 4, 24, 48 or 168 hours, with volume, growth, start and end time, related searches, categories, and news for the top trends. Category and active filters. Only-new monitoring.
- Input and output field names compatible with apify/google-trends-scraper. Optional flat output (one row per data point).
- Connections: datacenter IPs, with one shared Google cookie. A throttled IP rests while the request moves to another one. Slow or throttled requests get a copy on a residential IP. The run switches to residential IPs if datacenter keeps getting throttled.
- Charges: `keyword-result` and `trending-search` events, no start fee. Rows without Google data, filtered rows and already-delivered rows are free.
