# PetSmart Scraper: Prices, Treats Deals & Pet Store Stock (`moggedhq/petsmart-scraper`) Actor

Get PetSmart pet products with online prices, sale prices, Treats offers, optional Autoship prices, pack size, calculated unit price and store pickup stock by ZIP or store ID. Search, categories or product links for scheduled checks. About $0.004 per product. No login.

- **URL**: https://apify.com/moggedhq/petsmart-scraper.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 products

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

## PetSmart Scraper: Prices, Treats Deals & Pet Store Stock

For retail price analysts, pet brands and comparison services monitoring PetSmart food and supplies. Collect national online SKU prices, dated public offers, UPCs, package sizes and pickup quantities at the US stores you choose. About **$0.004 per delivered product**, or **$0.08 for 20 products**, plus a **$0.00005 minimum Actor start charge**. No retailer login or retailer API key is required.

Choose ZIPs or exact stores, then search, select categories or monitor SKUs. Optional details add published first-order and recurring Autoship prices.

### What you get

Overview, deals and full-data dataset views support JSON, CSV and Excel exports. SUMMARY records coverage and failures. DEALS contains qualifying products or larger-export part links.

| Field | Meaning |
| --- | --- |
| `verdict` | Readable online price and pickup-stock observation. |
| `recordType` | `PRODUCT` for paid observations, `NOTE` for free explanations. |
| `retailer`, `country`, `currency` | PetSmart, US and USD. |
| `storeId`, `storeName`, `location` | Verified store number and name, plus the requested ZIP when used. |
| `productId`, `sku`, `webStyleId` | Concrete SKU, repeated as the common product ID, and its parent style. |
| `gtin`, `upc` | Source-labeled UPC with valid format and check digit; leading zeros stay intact. |
| `title`, `brand`, `size` | Source product name, brand and the size of this SKU. |
| `price`, `regularPrice`, `salePrice` | Current online price, source regular price and sale price when lower. |
| `priceScope` | `national-online` on every product observation. |
| `onSale`, `isDeal` | Numeric markdown flag and broader current-public-offer flag. |
| `promoText`, `promoType`, `promoStart`, `promoEnd` | First active public promotion and its supplied dates. |
| `promotions` | All active offers, preserving text, identifiers, dates and conditions. |
| `memberProgram`, `treatsOffer` | Treats Rewards label and applicable public points/member offer text. |
| `memberPrice` | Null unless a separately stated numerical member price is available; current coverage leaves it null. |
| `inStock`, `stockLevel`, `stockScope` | Selected-store pickup availability and quantity, or ship-to-home coverage for online-only runs. |
| `storeAvailability` | Requested store, quantity, pickup eligibility and store pickup-service flag. |
| `shipToHomeStock` | Separately supplied online fulfillment quantity. |
| `rating`, `ratingAverage`, `reviewCount` | Source aggregate rating and review count. |
| `category`, `species`, `lifeStage`, `flavor` | Product classification and supplied pet attributes. |
| `url`, `imageUrl`, `scrapedAt` | Product link, source image and UTC observation time. |
| `autoshipEligible` | Source subscription eligibility flag. |
| `autoshipPrice`, `autoshipRecurringPrice` | Published first-order and recurring prices with optional details. |
| `autoshipDiscountPercent`, `autoshipDiscountDisplay` | Source-displayed first-order discount; preserve its conditions. |
| `perUnitPrice`, `calculatedUnitOfMeasure` | Calculated online price divided by an explicitly labeled weight or volume. |
| `unitPrice`, `unitOfMeasure` | Reserved family fields for retailer-published unit prices; currently null. |
| `pharmacy` | Product-level pharmacy flag, without prescription or customer data. |
| `manufacturerSku` | Supplier identifier, kept separate from UPC and PetSmart SKU. |
| `storeAddress`, `storeDistance`, `requestedLocations` | Public store address, lookup distance and ZIPs resolving to that store. |
| `details` | Optional description, health attributes and variant values. |

### Read prices and stock correctly

**Prices are online prices.** A ZIP or store number chooses the pickup inventory observation. It does not turn the national website price into a verified shelf price. Keep `priceScope` in exports and comparisons. Store and website prices can differ.

A sale is a current price lower than the source regular price. Public offers are broader: a points promotion, a next-purchase coupon, a multi-buy, a buy-one-get-one offer or an Autoship offer may qualify a row for deals-only output without changing today's one-time price. Preserve the text and dates rather than treating all offers as an immediate discount.

Optional details retain explicit Autoship first-order and recurring prices. Percentages may have monetary caps, brand restrictions or order conditions. Use the supplied numeric prices; checkout eligibility is outside coverage.

`perUnitPrice` is a transparent calculation, recorded with `perUnitPriceMethod`. A 30 Lb SKU at $77.99 gives approximately $2.5997 per labeled lb. No conversion between pounds, ounces and metric units is performed. Ambiguous package labels remain null. Retailer-published unit prices and calculated comparisons occupy different fields.

Pickup quantities describe the requested store. Alternative-store stock is never substituted. Null is unknown; zero is an explicitly reported zero.

### Start in three steps

1. Enter a search such as `dog food`, then a ZIP such as `75201`, or choose an exact store number.
2. Set the product cap and choose whether to add product details and Autoship prices.
3. Start the Actor, inspect the dataset and SUMMARY coverage, then export or connect the results to your workflow.

The dog food prefill near ZIP 75201 returned 20 distinct SKU/store rows, 20 product charges and no source failures in 21.8 seconds on 10 November 2026. It selected Dallas City Place Mar, store 3151.

### Inputs

| Input | Behavior |
| --- | --- |
| `searchTerms` | Array of search strings. Each term runs at each selected store. |
| `startUrls` | Public PetSmart US search, category, sale or product links. |
| `categoryUrls` | Additional category links, combined with startUrls. |
| `productIds` | Concrete SKU numbers or parent style IDs. These are not barcodes. |
| `locations` | ZIP codes used to find the nearest active US store. |
| `postalCodes` | Additional ZIP alias, combined with locations and deduplicated. |
| `storeIds` | Exact stores, taking precedence over both ZIP fields. |
| `maxItemsPerSearch` | New products per source and store; default 20, maximum 1,000. |
| `maxItems` | Global delivered product/store limit; default 20, maximum 10,000. |
| `maxResults` | Alternative global cap. When both fields are present, the smaller cap wins. |
| `dealsOnly` | Keep numeric sale markdowns or currently active public offers. |
| `includeDetails` | Add explicit Autoship prices and product metadata without an extra product fee. |
| `proxyConfiguration` | Automatic datacenter first, US residential retry; explicit choices are respected. |

Empty locations and storeIds select online-only coverage, with null store fields. An explicitly empty source selection gives a free note.

The smaller-cap rule applies even when Apify inserts `maxItems: 20`: `maxResults: 3` still caps output at three. For larger runs, raise maxItems and any supplied alias together.

Monitor known SKUs at two stores:

```json
{
  "productIds": ["5252900", "5339374"],
  "storeIds": ["3151", "3077"],
  "includeDetails": true,
  "maxItems": 4
}
```

SKU links select one size; style links can return several. Duplicate SKU/store pairs are charged once.

Two cloud runs each delivered 1,100 unique products across multiple searches and five stores, with matching product charges and no source failures.

### Real output example

Selected fields from the 10 November 2026 prefill:

```json
{
  "retailer": "PetSmart",
  "storeId": "3151",
  "storeName": "Dallas City Place Mar",
  "location": "75201",
  "productId": "5252900",
  "gtin": "038100175526",
  "title": "Purina Pro Plan Sensitive Skin and Stomach Dry Dog Food Adult Salmon & Rice Formula Digestive Health",
  "size": "30 Lb",
  "price": 77.99,
  "regularPrice": 77.99,
  "priceScope": "national-online",
  "inStock": true,
  "stockLevel": 10,
  "stockScope": "selected-store-pickup"
}
```

### Pricing and spending limits

A product means one distinct SKU observed at one store, or one online-only location. The same SKU at two stores is two observations. Optional details have no additional product charge.

| Delivered products | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.08 | $0.076 | $0.072 | $0.064 |
| 100 | $0.40 | $0.38 | $0.36 | $0.32 |
| 1,000 | $4.00 | $3.80 | $3.60 | $3.20 |

Add the minimum $0.00005 start charge. The product prices are $0.004 base, $0.0038 Bronze, $0.0036 Silver and $0.0032 Gold. Duplicate products, retries, summaries, notes and empty results have no product charge. There is no automatic dataset-row fee. The platform start charge still applies to an empty run.

Set Apify's maximum total charge to control a run's bill. The Actor checks remaining room before saving another product and stops cleanly at the spending edge. Saved rows precede their product charges. Reboot recovery reconciles the durable dataset and acknowledged counts before continuing.

### Monitor prices every day

Save a task with stable store IDs and SKUs, searches or categories. In Apify Console, create a daily schedule for that task and connect its completed-run webhook to your database. Store successive snapshots to calculate price changes.

Join snapshots with `retailer + storeId + productId` and retain scrapedAt. Preserve UPCs as text, price types in separate columns and nulls as unknown.

Always read SUMMARY before treating a snapshot as complete. It records resolved stores, delivered products, deals, per-source outcomes, free failures, duplicates and spending-limit status. An empty filter is labeled no-matches. A failed source request is reported separately, so an outage is visible in a scheduled feed.

### API and automation

Start a run with your own Apify token:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~petsmart-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["dog food"],"storeIds":["3151"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/petsmart-scraper").call(
    run_input={"productIds": ["5252900"], "storeIds": ["3151"],
               "includeDetails": True, "maxItems": 1}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/petsmart-scraper').call({
  searchTerms: ['cat litter'], locations: ['10001'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Use with AI agents (MCP)

Connect your agent to `https://mcp.apify.com`. Ask for PetSmart prices and pickup stock, supply ZIPs or exact stores, name searches or SKUs and specify a maximum product count. Ask for includeDetails when numerical Autoship prices matter. Have the agent preserve priceScope and inspect SUMMARY before comparing observations.

### Limits

Coverage is PetSmart US signed-out data. Prices are national online prices, excluding checkout taxes and fees; verified shelf prices are unavailable. Same-day delivery is not confirmed without a delivery address, so sameDayDelivery remains null even when an eligibility flag is present.

Public Treats text is available; personalized rewards, clipped account offers and checkout eligibility are outside coverage. Numerical memberPrice remains null in current coverage. Autoship prices require includeDetails or a style-product response containing them. Product details can be unavailable while catalog price and pickup stock still succeed.

The site can omit package counts, retailer-published unit prices, review values, promotion dates or stock quantities. Such fields remain null. Pharmacy flags describe products only; prescription, account, order and customer information is not collected. Full review text and historical backfill are unavailable.

A source is paginated through at most 25 pages and 1,000 observations per source/store. Multiple sources and stores can fill the global 10,000-row cap. A limit is a ceiling, not a guarantee of matching products. Website restrictions or changes can leave source failures in SUMMARY. Requests use signed-out HTTP data, with fresh proxy sessions on retries; no login or CAPTCHA solving is performed.

### FAQ

**Can I request a specific store?** Yes. Use storeIds for repeatable monitoring. ZIPs select the nearest active US store and echo its identity.

**Does selecting a ZIP give me shelf prices?** No. The row explicitly labels online price and selected-store pickup stock.

**Are offers already subtracted from price?** Only a source numeric sale affects current price. Points, next-order benefits and conditional offers retain their own text and dates.

**Which Autoship price is returned?** With details, autoshipPrice is the first-order price and autoshipRecurringPrice is the repeat-order price published by the site.

**Why is memberPrice null?** A public points or membership message is not a numerical member price. The Actor preserves the message without inventing a cash price.

**How are duplicates billed?** Once per SKU/store pair within a run, including across overlapping inputs. Separate scheduled runs are separate observations.

**What does a zero stock value mean?** The requested-store response explicitly reported zero units. Null means the source did not provide a usable count.

**What happens to invalid input?** Parseable invalid selections produce free notes and SUMMARY; schema-invalid input may be rejected before starting.

Independent tool; not affiliated with PetSmart. Follow source terms for your intended use.

# Actor input Schema

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

Search pet food and supplies, such as dog food or cat litter. Each search is repeated at each selected store.

## `startUrls` (type: `array`):

Optional public PetSmart US links. A product URL identifies a style or SKU; category and sale pages use the retailer category filters.

## `categoryUrls` (type: `array`):

Additional PetSmart US category URLs, combined with startUrls.

## `productIds` (type: `array`):

PetSmart source identifiers, such as SKU 5252900 or style 36648. A SKU delivers that variant. A style can deliver its sizes. These are not barcodes.

## `locations` (type: `array`):

Choose the nearest active US store per ZIP. Store pickup stock is local; price remains the national online price. Empty means online-only coverage.

## `postalCodes` (type: `array`):

Alias accepted alongside locations; unique ZIP codes are combined. Exact storeIds override both ZIP fields.

## `storeIds` (type: `array`):

PetSmart store numbers such as 3151. Takes precedence over locations and postalCodes. Repeat with stable store IDs for scheduled monitoring.

## `maxItemsPerSearch` (type: `integer`):

Maximum new SKU rows from one search, category or style at one store.

## `maxItems` (type: `integer`):

Global SKU/store cap. About $0.004 per product: 20 observations cost $0.08 plus a small start charge. If maxResults is also present, the smaller cap wins.

## `maxResults` (type: `integer`):

Alias for maxItems. The smaller of the two values wins, including when Apify supplies maxItems=20 automatically. Set both caps to the desired larger value if using both.

## `dealsOnly` (type: `boolean`):

Keep sale markdowns and currently dated public offers, including points and conditional promotions. Offer text is not automatically subtracted from price.

## `includeDetails` (type: `boolean`):

Add explicit first-order and recurring Autoship prices, discount display and product description from the public product API. No extra product fee; adds requests.

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

Automatic default: account datacenter selection, then US residential after refused requests. Explicit disable, groups, country or custom proxy are preserved.

## Actor input object example

```json
{
  "searchTerms": [
    "dog food"
  ],
  "locations": [
    "75201"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

No description

## `deals` (type: `string`):

No description

# 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": [
        "dog food"
    ],
    "locations": [
        "75201"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/petsmart-scraper").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": ["dog food"],
    "locations": ["75201"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/petsmart-scraper").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": [
    "dog food"
  ],
  "locations": [
    "75201"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call moggedhq/petsmart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/petsmart-scraper"
        }
    }
}
```

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/H9HXxMSrZPAOzkbx5/builds/Eb70Q2uvhF8OY0H5D/openapi.json
