![Google Trends Scraper (Fast) avatar](https://images.apifyusercontent.com/gVpfCrVmVUv3p4uoXU3Qz8ZNENAaLlvBNJO6NpFePbs/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNkduZllYRFUzSlg2Wjc0UnEvYUxwdmVEZUs4c3F1YmRaYzItZ29vZ2xlLXRyZW5kcy1pY29uLWZpbGxlZC0yNTYucG5n.webp)
Pay $24.99 for 1,000 requests
This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?
See alternative Actors![Google Trends Scraper (Fast)](https://images.apifyusercontent.com/gVpfCrVmVUv3p4uoXU3Qz8ZNENAaLlvBNJO6NpFePbs/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNkduZllYRFUzSlg2Wjc0UnEvYUxwdmVEZUs4c3F1YmRaYzItZ29vZ2xlLXRyZW5kcy1pY29uLWZpbGxlZC0yNTYucG5n.webp)
Google Trends Scraper (Fast)
Pay $24.99 for 1,000 requests
Scrape data from Google Trends by search terms or URLs. Specify locations, define time ranges, select categories to get interest by subregion over time, related queries, topics, and more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "searchTerms": [
8 "webscraping"
9 ],
10 "timeRange": ""
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/davidbellman~google-trends-scraper-fast/runs?token=$API_TOKEN" \
17 -X POST \
18 -d @input.json \
19 -H 'Content-Type: application/json'