# US Pet Food & Supplies Price Comparator (6 Stores) (`lonwabo/us-pet-price-comparator`) Actor

Live multi-store price comparator and deal finder for pet food, medication, and pet gear across PetSmart, Chewy, Petco, Target, Walmart, and Amazon. Weight normalization, life-stage matching, live price spread analytics, and direct purchase links.

- **URL**: https://apify.com/lonwabo/us-pet-price-comparator.md
- **Developed by:** [Lonwabo Mfundisi](https://apify.com/lonwabo) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## US Pet Food & Supplies Price Comparator (6 Stores)

Live multi-store price comparator and deal arbitrage finder for pet supplies, food, and medication across **PetSmart**, **Chewy**, **Petco**, **Target**, **Walmart**, and **Amazon**.

Built-in **bag size & weight normalization** (`30 lb` vs `15 lb` vs `6 lb`), **can case matching** (`12 x 13 oz` vs `24 x 5.5 oz`), **life-stage classification** (*Puppy/Kitten, Adult, Senior*), **prescription (Rx) diet isolation**, **live price spread analytics**, and direct purchase links.

***

### 🐕 Why Use the US Pet Price Comparator?

Pet food, prescription diets, and flea/tick preventatives are **high-ticket, recurring monthly expenses**. Prices vary dramatically across specialty pet retailers and general retail giants due to weekly sales, Autoship incentives, clearance rounds, and distributor discounts.

- **Spot Instant Spreads:** Discover discrepancies of **20% to 40%** between PetSmart, Chewy, Amazon, and Walmart on identical bags of premium kibble.
- **Smart Weight & Can Pack Isolation:** Automatically prevents false comparisons between a `30 lb` breeder bag and a `6 lb` sample bag.
- **Rx vs OTC Guard:** Isolates veterinary prescription diets (*Hill's Prescription Diet c/d, Royal Canin Veterinary Diet*) from standard grocery formulas.
- **Unified Direct Links:** Get direct checkout and PDP links across all 6 stores in a single, structured dataset.

***

### 🏬 Supported Retailers

| Retailer | Domain | Specialty Focus |
| :--- | :--- | :--- |
| **PetSmart** | `petsmart.com` | Premium kibble, Treats, Grooming, Fish & Reptile supplies |
| **Chewy** | `chewy.com` | Autoship deals, Specialty pet diets, Toys, Supplements |
| **Petco** | `petco.com` | Natural pet nutrition, Vital Care deals, Prescription food |
| **Target Pet** | `target.com` | Mass pet food, Cat litter, Travel crates, Everyday essentials |
| **Walmart Pet** | `walmart.com` | Value kibble, Flea & tick treatments, Bulk pet supplies |
| **Amazon Pet** | `amazon.com` | Prime delivery, Multi-pack pet food cases, Pet technology |

***

### 🔄 How the Matching Engine Works

```
                User Query (e.g. "Purina Pro Plan Adult Chicken & Rice")
                                          │
            ┌──────────────┬──────────────┼──────────────┬──────────────┐
            ▼              ▼              ▼              ▼              ▼
       [PetSmart]       [Chewy]        [Petco]        [Target]       [Walmart / Amazon]
            │              │              │              │              │
            └──────────────┴──────────────┼──────────────┴──────────────┘
                                          ▼
                               Raw Candidate Offers
                                          │
                         [Weight & Bag Size Extraction]
                         • Normalizes "30 lb", "15 lb", "12 x 13 oz"
                                          │
                         [Pet Type & Life Stage Guard]
                         • Dog vs Cat | Puppy vs Adult vs Senior
                                          │
                         [Prescription (Rx) Isolation]
                         • Separates Veterinary Diet from OTC
                                          │
                         [Dice Token Entity Resolution]
                         • Groups identical formulas across stores
                                          │
                                          ▼
                     Final Multi-Store Arbitrage Records
               (Best Price, High Price, Spread $, Spread %, Links)
```

***

### 🖥️ Interactive HTML Comparison Report (`report.html`)

In addition to exporting the structured Dataset in **JSON, CSV, Excel, or built-in HTML table (`format=html`)**, every run generates a standalone, self-contained **Interactive HTML Comparison Report (`report.html`)** directly inside the Apify Console **Output** tab (and via a shareable Key-Value Store link):

- **Horizontal View & Store Tabs** — Switch seamlessly between **Best Deals Cards**, **Side-by-Side Matrix**, and **6 dedicated individual store tabs** (**PetSmart**, **Chewy**, **Petco**, **Target Pet**, **Walmart Pet**, **Amazon Pet**), each displaying live matched item counts.
- **Deep-Linkable Tabs (`#tab=...`)** — Every tab updates the URL hash (e.g. `#tab=matrix`) so you can bookmark or share a specific merchant view directly.
- **Aligned Deal Cards & Specs** — Product thumbnails, uniform spec & brand badges, green cheapest-store highlights, spread savings pills, and clickable **View Best Deal** buttons.
- **Live Controls, Full Screen & Instant Exports** — Keyword search, multi-column sort (`Biggest Savings ($)`, `Lowest Price ($)`, `Highest Spread %`, `Most Stores Matched`), `2+ Stores Only` toggle, plus one-click **Download CSV**, **Download JSON**, **Print / PDF Quote**, and **Full Screen (`⛶`)** buttons.

![US Pet Food & Supplies Price Comparison Report — Interactive HTML View](https://api.apify.com/v2/key-value-stores/44gjIna4ipGc3tD78/records/us-pet-price-comparator-v1.png?signature=3JzKS33Sbcu2XayZ6jcR)

#### ⏰ Automated Schedules & Email / Slack Alerts (Apify Integrations)

Want daily or weekly price updates delivered automatically? Instead of storing credentials inside the Actor, use Apify's built-in **Schedules** and **Integrations**:

1. Save your preferred search terms and store toggles as a **Task**, then set a recurring **Schedule** (e.g., daily at 8:00 AM or every Monday morning).
2. Open the Actor/Task **Integrations** tab in Apify Console and connect **Send Email (`apify/send-mail`)**, **Slack (`apify/slack-alert`)**, **Google Sheets**, **Make**, **Zapier**, or a **Webhook** triggered on `Run succeeded`.
3. Include `{{links.apiDefaultKeyValueStoreUrl}}/records/report.html` or `{{links.apiDefaultDatasetUrl}}/items?format=csv` in your alert payload to receive the live HTML report or spreadsheet automatically after every scheduled run.

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| `searchTerms` | Array of Strings | **Yes** | `["Purina Pro Plan Adult Chicken & Rice", "Royal Canin Small Adult Dog Food"]` | Pet food formulas, brands, medications, or supplies to compare. |
| `stores` | Array of Strings | No | `["petsmart", "chewy", "petco", "target", "walmart", "amazon"]` | Retailers to query simultaneously. |
| `maxItemsPerStore`| Integer | No | `5` | Maximum search candidates to inspect per retailer (1–20). |
| `minPrice` | Number | No | `3` | Ignore items cheaper than this threshold in USD. |
| `maxPrice` | Number | No | `500` | Ignore items more expensive than this threshold in USD. |
| `includeFields` | Array of Strings | No | `["productImage", "brand", "specs", "storeColumns", "dealVerdict"]` | Deselect optional dense fields to keep output lightweight. Core fields (Title, Lowest Price, Store, Spread, Link) are always included. |
| `proxyConfiguration` | Object | No | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` | Apify Proxy configuration (Residential recommended). |

***

### 📤 Output Dataset Schema

Each dataset item represents a consolidated pet product comparison:

```json
{
  "searchQuery": "Purina Pro Plan Adult Chicken & Rice",
  "matchedProductTitle": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula",
  "brand": "Purina Pro Plan",
  "petType": "Dog",
  "lifeStage": "Adult",
  "weightOrPack": "30 lb",
  "isPrescription": false,
  "bestPrice": 74.99,
  "highestPrice": 94.99,
  "priceSpread": 20.00,
  "priceSpreadPercent": 21.1,
  "cheapestStore": "petsmart",
  "dealVerdict": "HIGH SPREAD ($20.00 SAVINGS - 21.1%)",
  "storeCount": 3,
  "stores": {
    "petsmart": {
      "title": "Purina Pro Plan Complete Essentials Shredded Blend Chicken and Rice Dry Dog Food Formula",
      "price": 74.99,
      "currency": "USD",
      "url": "https://www.petsmart.com/dog/food/dry-food/purina-pro-plan-complete-essentials-shredded-blend-chicken-and-rice-dry-dog-food-formula-3022.html",
      "imageUrl": "https://s7d2.scene7.com/is/image/PetSmart/5135727",
      "inStock": true
    },
    "walmart": {
      "title": "Purina Pro Plan Shredded Blend Adult Chicken & Rice Formula Dry Dog Food, 35 lb Bag",
      "price": 89.98,
      "currency": "USD",
      "url": "https://www.walmart.com/ip/Purina-Pro-Plan-High-Protein-Dog-Food-Chicken-Rice/123456",
      "imageUrl": "https://i5.walmartimages.com/asr/example.jpeg",
      "inStock": true
    },
    "amazon": {
      "title": "Purina Pro Plan High Protein Chicken and Rice Adult Dog Food",
      "price": 94.99,
      "currency": "USD",
      "url": "https://www.amazon.com/dp/B00000EXAMPLE",
      "imageUrl": "https://m.media-amazon.com/images/I/example.jpg",
      "inStock": true
    }
  },
  "primaryImage": "https://s7d2.scene7.com/is/image/PetSmart/5135727",
  "lastUpdated": "2026-11-10T08:15:00.000Z"
}
```

***

### 🎯 High-Value Use Cases

1. **Pet Parents & Subscription Optimizers:** Never overpay for monthly kibble deliveries by tracking live price differences before Autoship renewals.
2. **Animal Shelters & Foster Rescues:** Maximize donation budgets by routing bulk pet food orders to the lowest-priced retailer.
3. **Retail Arbitrage & Marketplace Merchants:** Identify regional clearance mismatches between PetSmart, Walmart, and Amazon FBA.
4. **Pet Deal Blogs & Price Trackers:** Power automated deal feeds, browser extensions, and alert bots with structured multi-store pricing data.

***

### 💡 Best Practices for Maximum Match Accuracy

- **Include the Life Stage:** Searching `"Purina Pro Plan Puppy"` vs `"Purina Pro Plan Adult"` produces clean, life-stage segregated matches.
- **Specify Weights for Exact Bag Tracking:** Queries like `"Royal Canin Small Adult 14 lb"` will filter specifically for 14 lb bags across all retailers.
- **Use Residential Proxies:** Specialty retailers like Chewy and Petco implement geofencing and bot mitigation; use Apify Residential Proxies for optimal multi-store coverage.

***

### 🔌 Integrations & Export Formats

Apify datasets can be downloaded or synced automatically into your existing tech stack:

- **Spreadsheets:** Download structured pet pricing records directly as **Excel (.xlsx)** or **CSV**.
- **Google Sheets:** Sync live pricing data continuously using `=IMPORTDATA(datasetUrl)`.
- **Workflow Automation (Make / Zapier):** Trigger automated inventory alerts or push notifications whenever a profitable pet deal or stockout is found.
- **Developer API:** Query results via REST API in Python, Node.js, or cURL to power pet supply blogs or price comparison widgets.

***

### 🎛️ Standardized Store Toggles, Filter Guards & Per-Store Tabs

This Actor includes unified comparison controls matching our full suite:

#### Individual Store Toggles (`ON` / `OFF`)

Turn any retailer on or off directly from the input form without editing JSON arrays:

- **PetSmart** (`includePetsmart`): Include PetSmart — national pet food & supply leader.
- **Chewy** (`includeChewy`): Include Chewy — #1 online pet retailer & Autoship deals.
- **Petco** (`includePetco`): Include Petco — pet nutrition & wellness essentials.
- **Target Pet** (`includeTarget`): Include Target Pet department.
- **Walmart Pet** (`includeWalmart`): Include Walmart Pet supplies.
- **Amazon Pet** (`includeAmazon`): Include Amazon Pet catalog.

#### Smart Filter & Sort Controls

- **`excludeAccessories` (Default: `true`):** Filters out cases, stands, chargers, cables, skins, and adapters when searching for main hardware/products.
- **`inStockOnly` (Default: `true`):** Excludes out-of-stock offers so only purchasable listings are compared.
- **`onlyMultiStoreMatches` (Default: `false`):** Toggle ON to isolate products matched across 2 or more stores.
- **`sortBy`:** Sort results by **Biggest Savings ($)** (`priceSpreadDesc`), **Lowest Price ($)** (`bestPriceAsc`), **Most Stores Matched** (`storesComparedDesc`), or **Highest Discount %** (`savingsPercentDesc`).
- **`minSimilarityScore`:** Fine-tune fuzzy cross-store matching sensitivity (`0.2` – `0.9`).

#### 📊 Dataset Views (9 Organized Tabs)

| Tab Name | What You See |
| :--- | :--- |
| **Best Deals Overview** | Winning prices, brand/category specs, spreads, deal verdicts & best deal links |
| **Side-by-Side Store Matrix** | Parallel pricing and direct links across all 6 retailers side-by-side |
| **PetSmart** | Dedicated tab with PetSmart image, title, price, list price, discount %, rating, reviews, stock & link |
| **Chewy** | Dedicated tab with Chewy image, title, price, list price, discount %, rating, reviews, stock & link |
| **Petco** | Dedicated tab with Petco image, title, price, list price, discount %, rating, reviews, stock & link |
| **Target Pet** | Dedicated tab with Target Pet image, title, price, list price, discount %, rating, reviews, stock & link |
| **Walmart Pet** | Dedicated tab with Walmart Pet image, title, price, list price, discount %, rating, reviews, stock & link |
| **Amazon Pet** | Dedicated tab with Amazon Pet image, title, price, list price, discount %, rating, reviews, stock & link |
| **All Fields** | Complete raw dataset payload including nested offers for JSON/CSV/Excel export |

***

### 🔗 Related Price Comparators & Scrapers

Explore the complete multi-store price intelligence and retail arbitrage suite from [Lonwabo Mfundisi](https://apify.com/lonwabo):

- **[US Electronics & PC Price Comparator](https://apify.com/lonwabo/us-retail-price-comparator)** — Compare live prices across Amazon, Best Buy, Walmart, and Newegg.
- **[US Beauty & Cosmetics Price Comparator](https://apify.com/lonwabo/us-beauty-price-comparator)** — Compare live prices across Sephora, Ulta Beauty, Target, Amazon, and Walmart.
- **[US Hardware & Home Improvement Comparator](https://apify.com/lonwabo/us-hardware-price-comparator)** — Compare tools and building materials across The Home Depot, Lowe's, Ace Hardware, and Amazon.
- **[US Outdoor Gear & Sporting Goods Comparator](https://apify.com/lonwabo/us-outdoor-gear-comparator)** — Real-time price battles across REI, Bass Pro Shops, Target, Amazon, Walmart, and Dick's.
- **[US Book Price Comparator (6 Bookstores)](https://apify.com/lonwabo/us-book-price-comparator)** — Real-time book prices, formats, and remainder arbitrage across Amazon, Barnes & Noble, Bookshop.org, ThriftBooks, AbeBooks, and BookOutlet.
- **[US Supplements & Sports Nutrition Price Comparator](https://apify.com/lonwabo/us-supplement-price-comparator)** — Real-time price tracker for protein powders, creatine, nootropics, and vitamins across Amazon, Walmart, Target, Bodybuilding.com, iHerb, and Myprotein.
- **[US Retail Arbitrage & Deal Finder](https://apify.com/lonwabo/us-arbitrage-price-comparator)** — Cross-store arbitrage scanner finding high-spread margin opportunities for Amazon FBA & eBay sellers.
- **[US Beauty Arbitrage & Deal Alert Bot](https://apify.com/lonwabo/us-beauty-deal-alert-bot)** — Automated 24/7 watchdog sending instant Telegram & Discord push alerts for 20%+ beauty discounts.

* **[South Africa Retail Price Comparator (Takealot, Makro, Amazon ZA, Bob Shop, Game)](https://apify.com/lonwabo/south-africa-retail-price-comparator)** — Compare ZAR prices across South Africa's top 5 online retailers.

***

### 💬 Support & Feedback

Need a custom pet store added, feature request, or assistance?

- Use the **Issues** tab on this Actor's page in the Apify Console.
- Follow and contact [Lonwabo Mfundisi on Apify](https://apify.com/lonwabo).

# Actor input Schema

## `searchTerms` (type: `array`):

List of pet food brands, medications, or supplies to compare across stores (e.g. 'Purina Pro Plan Adult Chicken Rice', 'Royal Canin Small Breed', 'NexGard Chewables 24-60 lbs', 'Hill's Science Diet Adult').

## `includePetsmart` (type: `boolean`):

Include PetSmart — national pet food & supply leader.

## `includeChewy` (type: `boolean`):

Include Chewy — #1 online pet retailer & Autoship deals.

## `includePetco` (type: `boolean`):

Include Petco — pet nutrition & wellness essentials.

## `includeTarget` (type: `boolean`):

Include Target Pet department.

## `includeWalmart` (type: `boolean`):

Include Walmart Pet supplies.

## `includeAmazon` (type: `boolean`):

Include Amazon Pet catalog.

## `maxItemsPerStore` (type: `integer`):

Maximum candidate search results to inspect per store for each search term.

## `minPrice` (type: `integer`):

Ignore products priced lower than this threshold.

## `maxPrice` (type: `integer`):

Ignore products priced higher than this threshold.

## `excludeAccessories` (type: `boolean`):

Automatically filters out stands, chargers, cases, covers, skins, and cables when searching for main hardware/products.

## `inStockOnly` (type: `boolean`):

Only include store offers currently available in stock.

## `onlyMultiStoreMatches` (type: `boolean`):

When enabled, only outputs products found in 2 or more stores for direct price comparison.

## `sortBy` (type: `string`):

Choose how the comparison dataset is ordered.

## `includeFields` (type: `array`):

Deselect optional dense fields to keep dataset lightweight. Core comparison fields (Product Name, Best Price, Lowest Store, Spread/Savings, Deal URL) are permanently included and cannot be removed.

## `minSimilarityScore` (type: `number`):

Similarity score (0.2 to 0.9) required to match products across different stores. Default 0.45 is calibrated for this category.

## `proxyConfiguration` (type: `object`):

Select Apify Proxy (RESIDENTIAL recommended for specialty pet stores).

## Actor input object example

```json
{
  "searchTerms": [
    "Purina Pro Plan Adult Chicken & Rice",
    "Royal Canin Small Adult Dog Food"
  ],
  "includePetsmart": true,
  "includeChewy": true,
  "includePetco": true,
  "includeTarget": true,
  "includeWalmart": true,
  "includeAmazon": true,
  "maxItemsPerStore": 5,
  "minPrice": 3,
  "maxPrice": 500,
  "excludeAccessories": true,
  "inStockOnly": true,
  "onlyMultiStoreMatches": false,
  "sortBy": "priceSpreadDesc",
  "includeFields": [
    "productImage",
    "brand",
    "specs",
    "storeColumns",
    "dealVerdict"
  ],
  "minSimilarityScore": 0.45,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `htmlReport` (type: `string`):

Interactive side-by-side comparison cards, store tabs, matrix view, search/sort controls, Full Screen toggle, and CSV/JSON/Print export.

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

Structured dataset containing matched multi-store prices, spreads, store columns, stock status, and direct buy links.

# 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 = {
    "searchTerms": [
        "Purina Pro Plan Adult Chicken & Rice",
        "Royal Canin Small Adult Dog Food"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lonwabo/us-pet-price-comparator").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 = { "searchTerms": [
        "Purina Pro Plan Adult Chicken & Rice",
        "Royal Canin Small Adult Dog Food",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lonwabo/us-pet-price-comparator").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 '{
  "searchTerms": [
    "Purina Pro Plan Adult Chicken & Rice",
    "Royal Canin Small Adult Dog Food"
  ]
}' |
apify call lonwabo/us-pet-price-comparator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lonwabo/us-pet-price-comparator"
        }
    }
}
```

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/I7ObIfRWxPTLJQGUz/builds/sljEIp68znN8xgQyo/openapi.json
