Google Trends API: Scrape The Search Popularity of a Keyword
Our Google Trends API enables you to scrape the search popularity of keywords and search phrases in realtime. Sign up for our free plan to get started.
Our Google Trends API enables you to scrape the search popularity of keywords and search phrases in realtime. Sign up for our free plan to get started.
Our google trends API is the perfect tool for a countless number of use cases.
The following example should give you an idea about what you can achieve with our trends search API. For further details, visit our Playground and our Documentation
Optionally, specify a country to narrow down your search to a specific region.
Limit the date range of your search popularity comparison.
curl -X GET -G \
'https://app.zenserp.com/api/v1/trends' \
-H "apikey: your-apikey" \
-d "keyword[]=Coffee" \
-d "keyword[]=Tea" \
-d "hl=en" \
// Replace apikey with your personal apikey
curl -X GET -G \
'https://app.zenserp.com/api/v1/trends' \
-H "apikey: your-apikey" \
-d "keyword[]=Coffee" \
-d "keyword[]=Tea" \
-d "timeframe=today 5-y" \
-d "hl=en" \
// Replace apikey with your personal apikey
// Timeframe sets the date range from now to 5 years ago
curl -X GET -G \
'https://app.zenserp.com/api/v2/search' \
-H "apikey: your-apikey" \
-d "q=Soccer" \
-d "tbm=nws" \
-d "start=100" \
// start=100 returns news results 101-200
// Edit request in playground: https://app.zenserp.com/playground?tbm=nws
Our Google trends API provides plenty of setting parameters and filters that allow you to refine your search. For further testing, please visit our Playground
{
"Coffee": {
"trends": {
"2019-12-15T00:00:00.000Z": {
"Coffee": 81,
"Tea": 63,
"isPartial": "False"
},
"2019-12-22T00:00:00.000Z": {
"Coffee": 88,
"Tea": 62,
"isPartial": "False"
}
}
},
"Tea": {
"trends": {
"2019-12-15T00:00:00.000Z": {
"Coffee": 81,
"Tea": 63,
"isPartial": "False"
},
"2019-12-22T00:00:00.000Z": {
"Coffee": 88,
"Tea": 62,
"isPartial": "False"
}
}
}
}
Loading your response :)
An error occured!
We believe in fair pricing. Hence, we offer you 50 API requests per month for free. No strings attached!
Getting started is easy. We provide an extensive request builder, that converts your requests into production ready code snippets.
Zenserp can be used with any programming language, as data can be simply retrieved by any HTTP client.
To provide you with the best developer experience possible, we also created a Postman collection covering all of our endpoints, including plenty of examples.
The google trends API features plenty of settings and filters. They are all available through zenserp.
Choose from a variety with different usage limits and features to match the size and scope of your project. All plans include real-time scraping capabilities and 24/7 customer support.
Contact us for a custom quote or view our high volume plan
Still have questions or need more information? Our team is here to help. Contact us today via phone, email, or live chat and we'll be more than happy to assist you in finding the perfect plan for your needs.
Customer Chat [email protected] or Fill a Contact Form