Scrape Google Trends (interest over time, by region, related queries)
curl --request POST \
--url https://api.scrapeunblocker.com/trends/google-trends \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/trends/google-trends"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/trends/google-trends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Plugins
Scrape Google Trends (interest over time, by region, related queries)
Compares 1-5 keywords on Google Trends and returns the data behind the explore page as JSON: interestOverTime (one point per time bucket with a 0-100 value per keyword, ISO date, timestamp, isPartial), averages, interestByRegion (geoCode, geoName, values per keyword), and per keyword relatedQueries and relatedTopics (opt-in via sections), each with top and rising lists. Filter with geo (worldwide, country, region or US metro), timeframe (presets such as ‘today 12-m’ or a custom date range), category and property (web, images, news, youtube, shopping). Use sections to fetch only what you need. Billed as one request per keyword compared.
Scrape Google Trends (interest over time, by region, related queries)
curl --request POST \
--url https://api.scrapeunblocker.com/trends/google-trends \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/trends/google-trends"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/trends/google-trends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Response
JSON with interestOverTime, interestByRegion, relatedQueries and relatedTopics.

