Google Shopping Insights avatar
Google Shopping Insights
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Google Shopping Insights

Google Shopping Insights

epctex/google-shopping-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Unlock valuable insights from Google Shopping with our Data Extractor. Get reviews, descriptions, prices, merchant details, and affiliation links. Export data in JSON, XML, CSV, Excel, and HTML formats with no limits!

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 mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        "https://www.google.com/search?q=android&source=lnms&tbm=shop&tbs=vw:l"
12    ],
13    "queries": [
14        "iPhone"
15    ],
16    "maxItems": 60,
17    "maxItemsPerQuery": 100,
18    "proxy": {
19        "useApifyProxy": true,
20        "apifyProxyGroups": [
21            "GOOGLE_SERP"
22        ]
23    }
24};
25
26(async () => {
27    // Run the Actor and wait for it to finish
28    const run = await client.actor("epctex/google-shopping-scraper").call(input);
29
30    // Fetch and print Actor results from the run's dataset (if any)
31    console.log('Results from dataset');
32    const { items } = await client.dataset(run.defaultDatasetId).listItems();
33    items.forEach((item) => {
34        console.dir(item);
35    });
36})();
Developer
Maintained by Community
Actor metrics
  • 37 monthly users
  • 99.3% runs succeeded
  • 0.2 days response time
  • Created in Mar 2020
  • Modified about 19 hours ago