# Chewy Pet Product Price & Autoship Finder (`nimbryxo-studio/chewy-pet-product-price-and-autoship-finder`) Actor

Search Chewy.com by keyword, category, brand or product URL to get price, Autoship subscription price, rating, stock status and size/flavor variants for pet food, toys and supplies.

- **URL**: https://apify.com/nimbryxo-studio/chewy-pet-product-price-and-autoship-finder.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Chewy Pet Product Price & Autoship Finder

Chewy is one of the largest US online pet retailers, selling food, treats, toys and supplies for dogs, cats and other pets. This actor searches Chewy by keyword, category URL, brand name or a specific list of product URLs, and returns each product as a structured record with pricing, Autoship subscription price, rating and variant detail.

### What this actor does

- Searches Chewy products by keyword, with optional pet-type and sort filters
- Browses every product in a given category URL
- Pulls every product listed under a specific brand name
- Enriches a list of specific Chewy product URLs with full detail, including size/flavor variants
- Empty fields are omitted from records — a field only appears when Chewy actually shows that data for the product

### Output per product

- `productId` — Chewy's product/part number
- `name` — full product name
- `url` — canonical product URL
- `imageUrl` — main product image
- `images` — additional product image URLs
- `price` — current price in USD
- `salePrice` — sale price, when the product is discounted
- `autoshipPrice` — price under Chewy's Autoship subscription
- `brand` — brand/manufacturer name
- `brandUrl` — brand's page on Chewy
- `category`, `subcategory` — e.g. `Dog` / `Food`
- `rating` — average customer rating (0–5)
- `reviewCount` — total number of reviews
- `inStock` — `true` when the product is currently in stock
- `isAutoship` — `true` when Autoship is available for the product
- `pricePerUnit` — unit price text, e.g. `$1.25/oz`
- `petType` — pet type the product is intended for
- `description` — full product description (from product detail pages)
- `productVariants` — array of size/flavor options, each with its own price and stock status
- `recordType` — always `chewyProduct`
- `scrapedAt` — ISO 8601 timestamp of the scrape

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search`, `byCategory`, `byBrand`, or `byProductUrls` |
| `searchQuery` | string | `dog food` | Keyword search, used in `search` mode |
| `petType` | string | `all` | `all`, `dog`, `cat`, `fish`, `bird`, `reptile`, `small-pet`, or `farm-animal` — used in `search` mode |
| `sortBy` | string | `best-match` | `best-match`, `top-rated`, `bestselling`, `price-asc`, `price-desc`, or `new-arrivals` — used in `search` mode |
| `brandName` | string | – | Brand name to scrape all products for, used in `byBrand` mode |
| `categoryUrl` | string | – | Full Chewy category URL to browse, used in `byCategory` mode |
| `startUrls` | array | `[]` | Chewy product page URLs to enrich, used in `byProductUrls` mode |
| `minPrice` / `maxPrice` | integer | – | Price range in USD |
| `minRating` | number | – | Minimum average rating (0.0–5.0) |
| `inStockOnly` | boolean | `false` | Only return products currently in stock |
| `autoshipOnly` | boolean | `false` | Only return products eligible for Autoship |
| `maxItems` | integer | `50` | Maximum number of products to return (1–5000) |

#### Example: dog food under $30, in stock

```json
{
  "mode": "search",
  "searchQuery": "dog food",
  "petType": "dog",
  "maxPrice": 30,
  "inStockOnly": true,
  "maxItems": 50
}
```

#### Example: every product from one brand

```json
{
  "mode": "byBrand",
  "brandName": "Royal Canin",
  "maxItems": 100
}
```

#### Example: enrich specific product pages with variants

```json
{
  "mode": "byProductUrls",
  "startUrls": [
    "https://www.chewy.com/royal-canin-adult-dry-dog-food/dp/123456"
  ]
}
```

### Use cases

- **Price monitoring** — track a watch-list of products for price or Autoship-discount changes
- **Brand catalog audits** — pull every product from a brand to check pricing and stock consistency
- **Category benchmarking** — compare price-per-unit across a whole category like dry dog food
- **Variant research** — enrich product URLs to see every size/flavor option and its individual price
- **Review tracking** — snapshot `rating` and `reviewCount` over time to watch sentiment trends

### FAQ

**Do I need a Chewy account?** No — only publicly available product listings are read; no login or API key is required.

**What is Autoship, and what does `autoshipPrice` mean?** Autoship is Chewy's recurring-delivery subscription, usually priced lower than a one-time purchase. `autoshipPrice` is that subscription price when the product offers it; `isAutoship` tells you whether the option exists at all.

**Why does a product have no `productVariants`?** That field is only populated when scraping product detail pages (`byProductUrls` mode or detail enrichment); search and category listing cards don't expose per-variant pricing.

**Can I filter by multiple pet types at once?** `petType` accepts one value per run; to cover several pet types, run the actor once per type.

**What's the difference between `search` and `byCategory` mode?** `search` uses Chewy's keyword search and respects `petType`/`sortBy`; `byCategory` walks a specific category URL directly, which is useful for exhaustively covering one product category.

**How many products can one run return?** Up to `maxItems`, capped at 5000.

**Is this affiliated with Chewy?** No. This is an independent, third-party actor that reads Chewy.com's publicly available product pages; it is not operated by or affiliated with Chewy, Inc.

# Actor input Schema

## `mode` (type: `string`):

How to find products. `search` for keyword search, `byCategory` to browse a category URL, `byBrand` for all products of a brand, `byProductUrls` to enrich specific product pages.

## `searchQuery` (type: `string`):

Keyword search query (mode=search). Example: `dog food`, `cat toys`.

## `petType` (type: `string`):

Filter search results by pet type (mode=search).

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

Sort order for search and category results.

## `brandName` (type: `string`):

Brand name to scrape all products for (mode=byBrand). Example: `Royal Canin`, `Blue Buffalo`.

## `categoryUrl` (type: `string`):

Full Chewy category URL to browse (mode=byCategory). Example: `https://www.chewy.com/b/dry-food-294`.

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

List of Chewy product page URLs to enrich (mode=byProductUrls). Example: `https://www.chewy.com/royal-canin-adult-dry-dog-food/dp/123456`.

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

Only return products priced at or above this value.

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

Only return products priced at or below this value.

## `minRating` (type: `number`):

Only return products with an average rating at or above this value (0.0–5.0).

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

Only return products currently in stock.

## `autoshipOnly` (type: `boolean`):

Only return products eligible for Chewy Autoship subscription.

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

Maximum number of products to return.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "dog food",
  "petType": "all",
  "sortBy": "best-match",
  "startUrls": [],
  "inStockOnly": false,
  "autoshipOnly": false,
  "maxItems": 50
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset containing all scraped Chewy products.

# 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 = {
    "mode": "search",
    "searchQuery": "dog food",
    "petType": "all",
    "sortBy": "best-match",
    "startUrls": [],
    "inStockOnly": false,
    "autoshipOnly": false,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/chewy-pet-product-price-and-autoship-finder").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 = {
    "mode": "search",
    "searchQuery": "dog food",
    "petType": "all",
    "sortBy": "best-match",
    "startUrls": [],
    "inStockOnly": False,
    "autoshipOnly": False,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/chewy-pet-product-price-and-autoship-finder").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 '{
  "mode": "search",
  "searchQuery": "dog food",
  "petType": "all",
  "sortBy": "best-match",
  "startUrls": [],
  "inStockOnly": false,
  "autoshipOnly": false,
  "maxItems": 50
}' |
apify call nimbryxo-studio/chewy-pet-product-price-and-autoship-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/chewy-pet-product-price-and-autoship-finder"
        }
    }
}
```

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/drk1x4YcXd0aEwh8t/builds/8TUXnEGBrdyKtItNf/openapi.json
