Skip to main content
Scrape Google Trends (interest over time, by region, related queries)

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

keywords
string
required

1-5 search terms to compare, comma-separated, e.g. 'coffee,tea'. A Knowledge Graph topic id such as '/m/0dl567' also works.

geo
string
default:""

Where: empty = worldwide, an ISO-2 country ('US'), a region ('US-CA') or a US metro ('US-CA-807').

timeframe
string
default:today 12-m

Time range: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all, or a custom 'YYYY-MM-DD YYYY-MM-DD' (hourly for the last 7 days: 'YYYY-MM-DDTHH YYYY-MM-DDTHH').

category
integer
default:0

Google Trends category id (0 = all categories, e.g. 71 = Food & Drink, 5 = Computers & Electronics).

Required range: x >= 0
property
string
default:web

Which Google search to measure: web, images, news, youtube, shopping.

hl
string
default:en-US

Language of labels (region names, topic titles), e.g. 'en-US', 'de', 'fr'.

tz
integer
default:0

Timezone offset in minutes that day/hour buckets align to (Trends' convention: 300 = UTC-5, -60 = UTC+1). Default 0 = UTC.

Required range: -840 <= x <= 840
region_resolution
string | null

Level of the interest-by-region map: country, region, city, dma. Default = Trends' own choice (countries worldwide, regions in a country).

include_low_volume
boolean
default:false

Include regions with low search volume in the region map.

sections
string
default:interest_over_time,interest_by_region,related_queries

What to fetch: a comma list of interest_over_time, interest_by_region, related_queries, related_topics, or 'all'. Fewer sections = faster. related_topics is opt-in (Google often returns it empty).

proxy_country
string | null

Exit-IP country (ISO-2). Optional - by default an ISP exit outside the US and Europe is used; results follow geo, not the exit IP.

Response

JSON with interestOverTime, interestByRegion, relatedQueries and relatedTopics.