# Product Price Comparison $1.00/1K Prices: Amazon, Walmart (`zaiq/product-price-compare`) Actor

Product prices across US stores in one run: Amazon, Walmart, Target, Best Buy, Home Depot, Costco, Sam's Club and Google Shopping. $1.00 per 1,000 prices.

- **URL**: https://apify.com/zaiq/product-price-compare.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 product prices

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Product Price Comparison: Amazon, Walmart, Target, Best Buy and four more US stores

Compare **one product's price across US stores in one run**: **Amazon, Walmart, Target, Best Buy, Home Depot, Costco, Sam's Club and Google Shopping** (every other merchant Google lists). Type what a shopper would search for, choose the stores, and get every result in **one row schema**: price, regular price, discount, rating, review count, seller, condition, stock, barcode where the store gives one, and the product link.

Each search also gets a **free comparison record**: per store the count, cheapest, median and highest price, the cheapest price among results that really match the search, and the store's **best match** (its highest-ranked result whose title holds every word of the search and is not a case, cable, refill or warranty). The cheapest best match across stores is named for you.

**Tested in Apify's cloud:** the default search (airpods pro 3, five stores) returned 50 prices in 10-21 seconds; all eight stores answered for ninja air fryer and dewalt drill in 35 seconds.

### What you get

| Field | What it holds |
|---|---|
| Record type | `kind=product` is a paid product row. `kind=comparison` is a free record per search. Filter on kind before loading rows into a table. |
| Store | `storeId`, `store`, `source` and `priceBasis`: store-website (Amazon, Walmart, Target, Sam's Club), instacart (Best Buy, Home Depot, Costco for your ZIP) or merchant-offer (Google Shopping). |
| Product | `productId` (ASIN, Walmart item id, Target TCIN, Instacart or Google id), `productName`, `brand`, `size`, `condition` (new, refurbished, used, open box), `upc` (GTIN-14 when given). |
| Price | `price`, `regularPrice`, `onSale`, `discountPercent`, `currency` (USD). A was-price over three times the price is dropped as a listing error. |
| Judgement | `matchesAllWords` (every word of the search is in the title), `looksLikeAccessory` (case, cable, bits, replacement, warranty and the like that you did not ask for), `sponsored`, `rank` in the store's own order. |
| Shopper signals | `rating`, `reviewCount`, `seller` (marketplace seller or merchant), `inStock`, `availability`. |
| Local store | `zipCode`, `localStoreId`, `localStoreName`, `fulfillment` for Target and the Instacart stores. |
| Price tracking | `previousPrice`, `priceChange`, `priceChangePercent`, `priceStatus`, `priceDropped`, `priceRose`, `newProduct`, `firstSeenAt` on repeat runs. Free. |
| Comparison | `byStore` (count, cheapest, median, highest, cheapestMatchingPrice, bestMatch, status), `cheapestBestMatch`, `bestMatchesByPrice`, `cheapestMatchingProduct`, `upcMatches` (the same barcode at more than one store). |

### What people use it for

- **Price comparison apps and browser extensions:** one call returns every store's offer for a product in one schema, with the best match per store already picked.
- **Ecommerce sellers and brands:** watch your product's price at Amazon, Walmart, Target and Best Buy daily; price tracking flags every drop and rise.
- **Deal sites and newsletters:** find which store is cheapest today for the products you cover, with the regular price and discount.
- **AI agents and shopping assistants:** answer "where is X cheapest?" with one tool call instead of one scraper per store.
- **Procurement and resellers:** check retail prices across big-box stores before buying or listing.

### How to use it

1. Type one or more searches, the way a shopper would. A model name or number (ninja af101, dewalt dcd771c2) gives the tightest comparison.
2. Choose the stores, or keep the five defaults (Amazon, Walmart, Target, Best Buy, Google Shopping).
3. Set how many results to keep per store and search (default 10), and a ZIP code if you use Target, Best Buy, Home Depot or Costco.
4. Run. Read the comparison record first, then filter product rows by matchesAllWords and looksLikeAccessory if you want only the product itself.

### Input

| Field | Example | Notes |
|---|---|---|
| searches | \["airpods pro 3"] | Required. 1-20 searches, each up to 120 characters. |
| stores | \["amazon", "walmart", "target", "bestbuy", "googleshopping"] | Any of amazon, walmart, target, bestbuy, homedepot, costco, samsclub, googleshopping. |
| maxProductsPerStore | 10 | 1-100 results kept per store and search, in the store's order. |
| zipCode | "10001" | For Target's nearest store and the Instacart shop of Best Buy, Home Depot and Costco. |
| skipSponsored | true | Leave out paid placements (default) or keep them, flagged. |
| onlyRelated | true | Skip, and do not charge, results that share no word with the search (a store's fill-ins). |
| trackPrices / trackingName | true / "" | Free price history between runs; separate names keep schedules apart. |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "product",
  "storeId": "amazon",
  "store": "Amazon",
  "source": "amazon.com",
  "searchTerm": "airpods pro 3",
  "rank": 1,
  "productId": "B0FQFB8FMG",
  "productName": "AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
  "brand": "Apple",
  "size": null,
  "price": 199,
  "regularPrice": 249,
  "onSale": true,
  "discountPercent": 20,
  "currency": "USD",
  "priceBasis": "store-website",
  "matchesAllWords": true,
  "looksLikeAccessory": false,
  "sponsored": false,
  "rating": 4.4,
  "reviewCount": 17808,
  "seller": "Amazon.com or a Marketplace seller",
  "condition": "new",
  "inStock": null,
  "availability": null,
  "upc": null,
  "zipCode": null,
  "localStoreId": null,
  "localStoreName": null,
  "fulfillment": null,
  "image": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_UY218_.jpg",
  "productUrl": "https://www.amazon.com/dp/B0FQFB8FMG",
  "scrapedAt": "2026-11-12T10:29:15Z",
  "previousPrice": 199,
  "priceChange": 0,
  "priceChangePercent": 0,
  "priceStatus": "unchanged",
  "firstSeenAt": "2026-11-12T10:21:54Z",
  "priceDropped": false,
  "priceRose": false,
  "newProduct": false,
  "resultId": "17a37ec7f1b6cef0f34df7be1bae1f8397e4d4a676e650135a8e299b305ff495"
}
```

The example above is an unchanged real row from a cloud run of the default input on 12 November 2026. The dataset also holds a free comparison record per search, like this real one (shortened to three stores):

```json
{
  "kind": "comparison",
  "searchTerm": "airpods pro 3",
  "currency": "USD",
  "productsCompared": 50,
  "partial": false,
  "cheapestBestMatch": {
    "store": "Amazon",
    "productName": "AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
    "price": 199,
    "regularPrice": 249,
    "condition": "new",
    "rank": 1,
    "seller": "Amazon.com or a Marketplace seller",
    "productUrl": "https://www.amazon.com/dp/B0FQFB8FMG"
  },
  "byStore": [
    {
      "store": "Amazon",
      "count": 10,
      "cheapestPrice": 129,
      "medianPrice": 224.5,
      "cheapestMatchingPrice": 149.99,
      "bestMatch": {
        "store": "Amazon",
        "productName": "AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
        "price": 199,
        "regularPrice": 249,
        "condition": "new",
        "rank": 1,
        "seller": "Amazon.com or a Marketplace seller",
        "productUrl": "https://www.amazon.com/dp/B0FQFB8FMG"
      },
      "status": "ok"
    },
    {
      "store": "Walmart",
      "count": 10,
      "cheapestPrice": 129,
      "medianPrice": 189.99,
      "cheapestMatchingPrice": 178.2,
      "bestMatch": {
        "store": "Walmart",
        "productName": "Apple AirPods Pro 3",
        "price": 199,
        "regularPrice": 249,
        "condition": "new",
        "rank": 1,
        "seller": "Walmart.com",
        "productUrl": "https://www.walmart.com/ip/AirPods-Pro-3/17835006350"
      },
      "status": "ok"
    },
    {
      "store": "Target",
      "count": 10,
      "cheapestPrice": 9.99,
      "medianPrice": 27,
      "cheapestMatchingPrice": 39,
      "bestMatch": {
        "store": "Target",
        "productName": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
        "price": 199.99,
        "regularPrice": 249.99,
        "condition": "new",
        "rank": 1,
        "seller": "Target",
        "productUrl": "https://www.target.com/p/ap2022-true-wireless-bluetooth-headphones/-/A-85978609"
      },
      "status": "ok"
    }
  ]
}
```

The `SUMMARY` record in the key-value store reports each store's status, products per search, results skipped as unrelated or unpriced, and the reason for any store that was not read. `COMPARISONS` holds the comparison records alone.

### Pricing

- **Price: $0.001 per delivered product row ($1.00 per 1,000; $0.90 on Silver, $0.80 on Gold and higher plans)**, plus Apify's $0.00005 start. One primary event.
- Comparison records, price tracking, skipped unrelated results and stores that fail are free.
- Launch price. It may rise later; Apify emails every user 14 days before any price increase takes effect, and a rise can happen at most once a month.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| Default input: 1 search x 5 stores x 10 results | $0.05 for 50 prices |
| 20 products x 4 stores x 5 results, daily for 30 days | $12.00 for 12,000 prices |
| One product at all 8 stores, 3 results each | $0.025 for 24 prices |

Set Maximum cost per run in Apify. The Actor checks that a whole product row fits before delivering it, stops cleanly at the limit and still writes the free comparison (marked partial).

### Tips

- Search by model name or number for a like-for-like comparison: 'airpods pro 3' or 'dewalt dcd771c2', not 'earbuds'.
- Use bestMatch per store to compare the product itself; use cheapestPrice per store to see the cheapest anything the store returned.
- Best Buy, Home Depot and Costco are read through Instacart for your ZIP: that is the same-day range and Instacart's price, which can be above the store's own.
- Google Shopping rows are other merchants' offers (eBay, Mercari, brand stores and more), each with its seller.
- Schedule a daily run with price tracking on to get only what changed.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/product-price-compare").call(run_input={"searches": ["airpods pro 3"], "stores": ["amazon", "walmart", "target", "bestbuy", "googleshopping"], "maxProductsPerStore": 10})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/product-price-compare').call({"searches": ["airpods pro 3"], "stores": ["amazon", "walmart", "target", "bestbuy", "googleshopping"], "maxProductsPerStore": 10});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~product-price-compare/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["airpods pro 3"], "stores": ["amazon", "walmart", "target", "bestbuy", "googleshopping"], "maxProductsPerStore": 10}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/product-price-compare`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "Where is the Ninja AF101 air fryer cheapest right now: Amazon, Walmart, Target or Best Buy? Give me each store's best match and price.". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Only public, signed-out data: no login and no account. A store that refuses every address tried is reported in SUMMARY and the comparison; the other stores carry on. Nothing is ever solved or bypassed.
- Prices are the US online prices each store shows a signed-out shopper (Target: the store nearest your ZIP). Shipping, tax and memberships are not included.
- Barcode matches appear only where stores give a valid barcode (Target and Instacart do for some products; Amazon and Walmart search pages do not).
- bestMatch is a title test, not a guarantee of the same model or size: check the product name before treating two best matches as the same item.

### FAQ

**Does the cheapest best match mean the same product is cheaper?**

Usually, when you search a model name. bestMatch is each store's top result whose title holds every word of your search and is not an accessory; check the name and size. upcMatches are exact barcode matches.

**Why are some results skipped?**

With onlyRelated on, results that share no word with your search (a store's suggestions when it has nothing) are skipped and not charged. Sponsored results are skipped by default.

**Why did a store return nothing?**

It had no matching products (Costco and Sam's Club carry a narrow range) or it refused every address tried. SUMMARY says which.

**Can I compare outside the US?**

Not yet: every store here is a US store, and Google Shopping is read for the US.

**Can AI agents call it?**

Yes. The input is plain arrays and the output schema is published, so MCP clients (Claude, ChatGPT, Cursor) can call it as one price-comparison tool.

### Related Actors from Zaiq

- [amazon-product-scraper](https://apify.com/zaiq/amazon-product-scraper): one Amazon store in depth: product pages, reviews and 23 countries
- [walmart-scraper](https://apify.com/zaiq/walmart-scraper): Walmart products, sellers, stock and reviews
- [target-scraper](https://apify.com/zaiq/target-scraper): Target prices with store stock
- [google-shopping-scraper](https://apify.com/zaiq/google-shopping-scraper): every merchant on Google Shopping, in many countries

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: product price comparison, compare prices Amazon Walmart Target, price comparison API, Best Buy price, cheapest price finder, price tracking across stores, ecommerce price monitoring, price comparison for AI agents, Amazon vs Walmart price, retail price scraper.

# Actor input Schema

## `searches` (type: `array`):

What a shopper would type, one per line: a model name works best, such as airpods pro 3 or ninja air fryer af101. Up to 20 searches; each store is searched for each.

## `stores` (type: `array`):

Choose the stores to compare. Best Buy, Home Depot and Costco are read through Instacart for the ZIP below. Google Shopping adds other merchants' offers.

## `maxProductsPerStore` (type: `integer`):

How many results to keep from each store for each search, in the store's own order. The comparison uses these rows.

## `zipCode` (type: `string`):

Five-digit ZIP code for Target's nearest store and for the Instacart shop of Best Buy, Home Depot and Costco. Amazon, Walmart, Sam's Club and Google Shopping show national prices.

## `skipSponsored` (type: `boolean`):

On: paid placements are skipped, so each store's own ranking is compared. Off: sponsored results are kept and flagged.

## `onlyRelated` (type: `boolean`):

On: results a store adds that share no word with your search (its fill-ins when it has nothing) are skipped and not charged. Off: every result is kept.

## `trackPrices` (type: `boolean`):

Remember each product's price between runs and add the previous price, the change and whether it dropped. Free.

## `trackingName` (type: `string`):

Optional: give separate schedules separate names so their price histories stay apart.

## Actor input object example

```json
{
  "searches": [
    "airpods pro 3"
  ],
  "stores": [
    "amazon",
    "walmart",
    "target",
    "bestbuy",
    "googleshopping"
  ],
  "maxProductsPerStore": 10,
  "zipCode": "10001",
  "skipSponsored": true,
  "onlyRelated": true,
  "trackPrices": true
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searches": [
        "airpods pro 3"
    ],
    "stores": [
        "amazon",
        "walmart",
        "target",
        "bestbuy",
        "googleshopping"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/product-price-compare").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searches": ["airpods pro 3"],
    "stores": [
        "amazon",
        "walmart",
        "target",
        "bestbuy",
        "googleshopping",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("zaiq/product-price-compare").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searches": [
    "airpods pro 3"
  ],
  "stores": [
    "amazon",
    "walmart",
    "target",
    "bestbuy",
    "googleshopping"
  ]
}' |
apify call zaiq/product-price-compare --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/product-price-compare"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1aU23pR4jzFfcpaGg/builds/ftW6oqV2MZXnI2XDd/openapi.json
