-
sourceUrl is now filled on every search-term row: the Trends explore page for that term, geo and time range, so each row links to Google's own chart. Rows from startUrls/urls keep the URL you passed.
-
Add outputFormat: flat: one dataset row per interest point, region, related query or related topic, with searchTerm, geo, timeRange and status on every row for spreadsheet and agent workflows. Grouped one-row-per-keyword output stays the default; keywords with no data still write a status row. A "Flat data" dataset view and a README section with real rows come with it.
-
Trending-now monitoring keys its history by geo and input hash, and now reports changed and removed trend rows alongside new ones, with counts in trendingNowSummary.
-
Add a urls input (plain Trend explore URL strings) alongside startUrls: API and AI-agent callers can pass ["https://trends.google.com/trends/explore?q=ai&geo=US"] without the API rejecting a bare string in startUrls. Both shapes build the same queries and echo the URL as sourceUrl/inputUrl.
-
A search-term run no longer adds (and charges for) today's trending searches in its geo; trending searches come from trendingNowGeos, or from geo when no term is given.
-
geo takes country names as well as codes ("Germany" becomes DE); a name it does not know stops the run before any charge, with a hint.
-
peakDate is now the ISO date of the peak interest point (YYYY-MM-DD) so results can be sorted and filtered; the display period moved to peakPeriod.
-
Add flat overview columns on each searchTerm row (averageInterest, peakInterest, peakDate, latestInterest, direction, growthRate, topRegion, topQuery, topRisingQuery) derived from existing data, and update dataset views with a focused overview and a trendingNow view.
-
Add startUrls input: Google Trends explore URLs (Apify [{"url": "..."}], plain strings, or [{"requestsFromUrl": "..."}]) are parsed into queries — comma-separated terms and /m/ topics kept as one comparison, plus geo (including multi-geo), date/custom range, category, language and search type — and every row echoes the URL as sourceUrl/inputUrl. A real example run from the Trends site link is documented in the README before the Input section.
-
Ship trendDetail end-to-end: every searchTerm row now always carries trendDetail (object or null) derived from interestOverTime — averageInterest, direction (up/down/stable by ±5 growth), peak, growthRate (null on a zero-start series ending above 0), volatility and trendScore (0–100). It is added to the output example and "What you get" table in the README, added to the dataset schema view, and covered by tests (normal, sparse/partial, zero-start, missing). Points with hasData false are skipped, and a spend-cap cut that removes interestOverTime also nulls trendDetail.
-
Add Trends + Shopping unified view: new optional inputs includeShoppingProducts (default off) and shoppingMaxProducts (default 10) put Google Shopping products (title, numeric price, original price, merchant, rating, review count) in the same searchTerm row as the trend data, with shoppingSourceUrl for every product. Shopping uses the Google SERP proxy and adds no per-product charge; failures are reported in errors.shoppingProducts.