![Google Trending Searches avatar](https://images.apifyusercontent.com/TLhgI9vIOh7Fq2Jn4n0dRmUrYCvwGhPL8LS9xywwyNo/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS80OUhmTkxGZ2c2QjhZZXRUai9kczVhaG5LRFNxenNSWmhXQS1DYXB0dXJhX2RlX3RlbGFfMjAyMS0wMS0yMl8wMTQyMjUucG5n.webp)
Google Trending Searches
Try for free
No credit card required
View all Actors![Google Trending Searches](https://images.apifyusercontent.com/TLhgI9vIOh7Fq2Jn4n0dRmUrYCvwGhPL8LS9xywwyNo/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS80OUhmTkxGZ2c2QjhZZXRUai9kczVhaG5LRFNxenNSWmhXQS1DYXB0dXJhX2RlX3RlbGFfMjAyMS0wMS0yMl8wMTQyMjUucG5n.webp)
![Google Trending Searches](https://images.apifyusercontent.com/TLhgI9vIOh7Fq2Jn4n0dRmUrYCvwGhPL8LS9xywwyNo/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS80OUhmTkxGZ2c2QjhZZXRUai9kczVhaG5LRFNxenNSWmhXQS1DYXB0dXJhX2RlX3RlbGFfMjAyMS0wMS0yMl8wMTQyMjUucG5n.webp)
Google Trending Searches
hooli/google-trending-searches
Try for free
No credit card required
Scrape Trending Searches on Google Trends and extract data on daily search trends and related queries. Set country, time frame, and max number of results. No limits or quotas.
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 "geo": "US",
8 "outputMode": "complete",
9 "fromDate": "today",
10 "toDate": "3 days",
11 "maxItems": 100,
12 "proxy": {
13 "useApifyProxy": true
14 },
15 "extendOutputFunction": "async ({ data, item, request, customData, fromDate, toDate, Apify }) => {\n return item;\n}",
16 "extendScraperFunction": "async ({ data, item, request, addUrl, customData, fromDate, toDate, extendOutputFunction, Apify }) => {\n \n}",
17 "customData": {}
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/hooli~google-trending-searches/runs?token=$API_TOKEN" \
24 -X POST \
25 -d @input.json \
26 -H 'Content-Type: application/json'