# Google Shopping Scraper - Price Comparison & UPC

> Compare Google Shopping prices by keyword, barcode (UPC/EAN/GTIN), product ID or URL. Every seller offer with price, shipping, total, condition and stock, plus min/max/typical price. Price monitoring flags price drops and new or removed sellers. 45 countries.

- Category: E-commerce & reviews
- Price: $3 per 1,000 × product result, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/google-shopping-price-comparison?fpr=qx6tzs
- Human page: https://wrenfielddata.com/tools/google-shopping-price-comparison/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~google-shopping-price-comparison/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/google-shopping-price-comparison (appears as `wrenfield-data--google-shopping-price-comparison`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~google-shopping-price-comparison/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["coffee maker"], "gtins": ["025500304076"], "country": "US", "sort": "relevance", "condition": "any", "maxProducts": 2, "maxProductsPerQuery": 40, "fetchOffers": true, "maxOffersPerProduct": 10, "includeDetails": false, "resolveOfferUrls": true, "onlyChanges": false, "minPriceChangePct": 0}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `queries` | array |  |  | Product searches, exactly as you would type them into Google Shopping (e.g. air fryer, iphone 15 128gb). One product row per result, up to Max products per query. You can also paste a Google Shopping search URL. |
| `gtins` | array |  |  | Barcodes to look up, one per line: 12-digit UPC, 13-digit EAN, 14-digit GTIN or 8-digit EAN-8 (e.g. 025500304076). Each barcode is matched to its Google Shopping product and verified against independent web listings for that barcode. Barcodes that cannot be matched are listed as not_found and are free. |
| `productIds` | array |  |  | Google Shopping product IDs (the productId from a previous run, e.g. 14870010698400265781) or Google Shopping product URLs (google.com/shopping/product/... or google.com/search?ibp=oshop&...prds=... links). Best for monitoring a fixed list of products. |
| `country` | string |  | `"US"` | Google Shopping country. Prices, sellers and currency are for this country. |
| `language` | string |  |  | Language code such as en, de, fr, es, pt-BR. Leave empty for the country's main language. |
| `location` | string |  |  | Get local results for a place inside the country, e.g. 10001, Chicago, Bavaria or London,England,United Kingdom. Leave empty for the whole country. |
| `sort` | string |  | `"relevance"` | Sort order for search queries (barcodes and product IDs are not affected). |
| `minPrice` | integer |  |  | Only search results at or above this price (whole currency units). |
| `maxPrice` | integer |  |  | Only search results at or below this price (whole currency units). |
| `condition` | string |  | `"any"` | Filters seller offers by condition. For search results it removes or keeps products whose title says refurbished / renewed / used / pre-owned (best effort). |
| `maxProducts` | integer |  | `100` | Maximum product rows for the whole run (barcodes and product IDs first, then search results). Duplicate products are skipped. |
| `maxProductsPerQuery` | integer |  | `40` | How many results to take from each search query (Google Shopping returns up to about 120). |
| `fetchOffers` | boolean |  | `true` | For every product, get the seller offers (Compare prices list): seller, price, shipping, total, condition, availability, seller rating and offer URL. Also fills min/max/typical price and number of sellers. Turn off for a cheaper product-only scrape. |
| `maxOffersPerProduct` | integer |  | `20` | Maximum seller offers per product (Google lists up to about 100). |
| `includeDetails` | boolean |  | `false` | Also get brand, description, all images, specifications and variants for each search result (adds the product-details event per product). Barcode and product ID lookups always include details. |
| `resolveOfferUrls` | boolean |  | `true` | Turn Google redirect links into the direct merchant product URL (e.g. the walmart.com or target.com page). Off = keep Google's redirect link. |
| `monitoringStoreName` | string |  |  | Turn on price monitoring: give a name (e.g. my-price-watch). Each run is compared with the previous run that used the same name, country and language. Products get a priceMonitor object (price drop / increase, new and removed sellers) and offers get changeStatus. Removed sellers are added as free offer rows. Schedule the Actor to monitor prices daily. |
| `onlyChanges` | boolean |  | `false` | With price monitoring on, skip products whose price and sellers did not change (they are not charged) and unchanged offers. |
| `minPriceChangePct` | integer |  | `0` | Price changes below this percentage count as unchanged. |

## Example input

```json
{
  "queries": [
    "coffee maker"
  ],
  "gtins": [
    "025500304076"
  ],
  "country": "US",
  "sort": "relevance",
  "condition": "any",
  "maxProducts": 2,
  "maxProductsPerQuery": 40,
  "fetchOffers": true,
  "maxOffersPerProduct": 10,
  "includeDetails": false,
  "resolveOfferUrls": true,
  "onlyChanges": false,
  "minPriceChangePct": 0
}
```

## Output fields

One flat row per result:

| Field | Type | Description |
|---|---|---|
| `type` | string | product, offer or not_found (not_found rows are free) |
| `title` | string | Product title |
| `productId` | string | Google Shopping product ID (catalog ID) |
| `gid` | string | Google global product ID |
| `gtin` | string | Barcode you searched (barcode lookups) |
| `gtin14` | string | Barcode as 14-digit GTIN |
| `brand` | string | Brand (with details) |
| `image` | string | Main image URL |
| `rating` | number | Product rating 1-5 |
| `reviewsCount` | integer | Number of product reviews |
| `price` | number | Headline price shown on Google Shopping |
| `oldPrice` | number | Previous / strike-through price |
| `minPrice` | number | Lowest seller price |
| `maxPrice` | number | Highest seller price |
| `typicalPrice` | number | Median seller price |
| `minTotalPrice` | number | Lowest price incl. shipping |
| `cheapestSeller` | string | Seller with the lowest total price |
| `sellersCount` | integer | Number of sellers (offers returned, or Google's count) |
| `currency` | string | Currency (ISO code) |
| `headlineSeller` | string | Seller shown in search results |
| `delivery` | string | Delivery info |
| `tags` | array | Badges, e.g. LOW PRICE, 10% OFF |
| `productUrl` | string | Brand / product URL |
| `googleShoppingUrl` | string | Google Shopping product link |
| `description` | string | Description |
| `images` | array | All images |
| `specifications` | object | Specifications |
| `features` | array | Feature bullets |
| `variants` | array | Variants (size, color, ...) |
| `match` | object | Barcode match: method, confidence, rank, name from web listings |
| `priceMonitor` | object | Price monitoring: status, previous price, change, new / removed sellers |
| `source` | object | Input that produced this row |
| `productTitle` | string | Product title (offer rows) |
| `sellerName` | string | Seller |
| `offerTitle` | string | Seller's own product title |
| `shippingPrice` | number | Shipping cost |
| `tax` | number | Tax |
| `totalPrice` | number | Price + shipping |
| `condition` | string | new, used or refurbished |
| `availability` | string | in_stock, out_of_stock, ... |
| `sellerRating` | number | Seller rating 1-5 |
| `sellerReviewsCount` | integer | Seller reviews |
| `annotation` | string | Deal note, e.g. 39% off |
| `offerUrl` | string | Merchant offer URL |
| `googleOfferUrl` | string | Google redirect link to the offer |
| `merchantDomain` | string | Merchant domain |
| `walmartItemId` | string | Walmart item ID (Walmart offers) |
| `isAd` | boolean | Sponsored offer |
| `position` | integer | Offer position |
| `changeStatus` | string | new, price_drop, price_increase, unchanged or removed |
| `previousPrice` | number | Price in the previous monitoring run |
| `priceChange` | number | Price change |
| `priceChangePct` | number | Price change (%) |
| `country` | string | Country |
| `language` | string | Language |
| `location` | string | Location |
| `input` | string | Input (not_found rows) |
| `error` | string | Why nothing was found (not_found rows) |
| `scrapedAt` | string | Scrape time (UTC) |

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
- Apify Store links on this page are referral links. They may earn us a commission, at no extra cost to you.
