# Shopify Products Scraper (`tacps126/shopify-products`) Actor

Scrape products from any Shopify store — prices, sale prices, discounts, stock, variants, SKUs, images and descriptions. Whole stores, collections or single products. Fast, low-cost, with price & stock change monitoring.

- **URL**: https://apify.com/tacps126/shopify-products.md
- **Developed by:** [Tapaswai Ashok Choudhary](https://apify.com/tacps126) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 products

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

## Shopify Products Scraper

Get every product from any Shopify store — titles, prices, sale prices and discounts, stock, variants, SKUs, images, tags and descriptions — as a clean, spreadsheet-ready dataset in seconds. Scrape a whole store, one collection, or single products. Export to JSON, CSV or Excel, send to Google Sheets or your database, or call it as an API.

**Built for** e-commerce teams watching competitors' prices and stock, dropshippers and resellers researching catalogs, agencies auditing client stores, market researchers, and developers building price trackers or product feeds.

### Why this scraper

- **Fast.** Hundreds of products per second — a 600-product catalog comes back in under two seconds. No browser is started; the Actor reads the store's own product data directly, several stores at a time.
- **Costs almost nothing to run.** It's a small native program that runs in 256 MB of memory, so the platform usage of a typical run is a fraction of a cent. You pay for products, not machine time.
- **Starts instantly.** A tiny container means runs begin in seconds, and the always-on API mode answers with no start-up wait.
- **Handles rate limits for you.** When a store says “slow down” (HTTP 429) the Actor waits exactly as long as asked and carries on; server errors, timeouts and dropped downloads are retried automatically.
- **Ready-to-use numbers.** Prices come back as numbers, not text. Each product has its lowest and highest price, compare-at price, **discount %**, **on-sale** and **in-stock** flags, and the store's currency — no spreadsheet formulas needed.
- **Price & stock monitoring built in.** Schedule it with *Only new products* + *…and changed products* and each run returns only products that are new or whose price, sale price or stock changed.
- **Never loses or double-bills work.** Results are saved as each store finishes; if the platform moves your run to another server it resumes without charging twice, and it stops cleanly at your maximum charge.
- **Simple to set up.** Paste store links and press Start. No API keys, logins or apps to install on the store.

### How to use it

1. In **Store, collection or product links**, paste any of:
   - a store address — `https://www.allbirds.com` (the whole catalog)
   - a collection — `https://colourpop.com/collections/lips`
   - a product — `https://www.allbirds.com/products/mens-tree-runners`
2. Optionally narrow results with **Filters**: keywords (or words to skip), brands, product types, in stock only, on sale only, minimum discount, price range.
3. Press **Start**. Download results from the **Output** tab, or connect an integration.

#### Example input

```json
{
  "startUrls": ["https://www.allbirds.com", "https://colourpop.com/collections/lips"],
  "maxItems": 1000,
  "onlyOnSale": true,
  "maxPrice": 100
}
```

### What you get

One record per product:

| Field | Description |
|-------|-------------|
| `title` / `handle` / `url` | Product name, its handle, and a link to the product page |
| `store` / `storeName` / `storeCountry` | Store domain, name and country |
| `vendor` / `productType` / `tags` | Brand, product type and tags |
| `price` / `priceMax` | Lowest and highest variant price (numbers) |
| `compareAtPrice` / `discountPercent` / `onSale` | Original price, discount and sale flag |
| `currency` | Store currency (e.g. `USD`) |
| `available` | `true` when at least one variant is in stock |
| `variantCount` / `variants` | Every variant with `sku`, `price`, `compareAtPrice`, `available`, options (size, color, …), weight and image |
| `options` | Option names and values (e.g. Size: 8, 9, 10) |
| `imageUrl` / `images` | Main image and every product image |
| `description` / `descriptionHtml` | Plain-text description (and the original HTML, if you ask for it) |
| `createdAt` / `updatedAt` / `publishedAt` | Product dates from the store |
| `scrapedAt` | When the product was collected |

Example (shortened):

```json
{
  "store": "allbirds.com",
  "storeName": "Allbirds",
  "title": "Women's Allbirds Flip Flop - Dusty Pink",
  "url": "https://allbirds.com/products/womens-allbirds-flip-flop-dusty-pink",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "price": 25.0,
  "compareAtPrice": 50.0,
  "discountPercent": 50.0,
  "onSale": true,
  "currency": "USD",
  "available": true,
  "variantCount": 7,
  "variants": [
    { "id": "42146889039952", "title": "5", "sku": "A12513W050", "price": 25.0, "compareAtPrice": 50.0, "available": false, "options": { "Size": "5" } }
  ],
  "imageUrl": "https://cdn.shopify.com/s/files/…/A12513_…_LEFT.png"
}
```

The run's summary also shows **field coverage** — what share of products carry each field.

### Monitor prices and stock

Turn on **Only new products** and schedule the Actor (hourly, daily, weekly). Add **…and changed products** to also get products whose price, sale price, stock or title changed since they were last delivered. You're charged only for what's returned. Connect Slack, email, Google Sheets, Zapier, Make or a webhook to get changes pushed to you automatically.

### Use it as an instant API

The Actor also runs in **Standby mode** — an always-ready endpoint that returns products straight in the response. Find the URL on the **Standby** tab:

```bash
curl "https://<standby-url>/?url=allbirds.com&onlyOnSale=true&maxItems=20" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

Any input field works as a query parameter (`url` is shorthand for one store; separate several with commas), or `POST` the full input as JSON. The response is `{"success": true, "count": 20, "items": [ … ]}`.

### Pricing

Pay per result: about **$1 per 1,000 products** (lower on higher Apify plans) plus a tiny start fee. Filtered-out, duplicate and (when monitoring) unchanged products are free. Platform usage stays close to zero. See the **Pricing** tab for exact rates, and set a maximum charge per run to cap spend.

On Apify's **free plan** each run returns up to 1,000 products — plenty to try everything. Any paid Apify plan removes the limit.

### FAQ

**How do I know if a site is a Shopify store?** Just try it — if a link isn't a Shopify store the run says so and moves on to your other links, without charging for it.

**How many products can I get from one store?** Up to 25,000 per store or collection link. For bigger catalogs, add collection links to cover the rest.

**Does it need the store owner's permission or an app?** No. It reads the product information the store already shows publicly to every visitor.

**Is it legal?** The Actor collects publicly listed product information. You're responsible for how you use the data and for following the laws and terms that apply to you.

### Support

Found a problem or need a field that isn't there yet? Open an issue on the **Issues** tab with your input and what you expected — requests genuinely decide what gets built next.

# Actor input Schema

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

Any Shopify store address (whole catalog), a collection link (`…/collections/sale`) or a product link (`…/products/…`). Bare domains like `allbirds.com` work too.

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

Maximum number of products to return across all links.

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

Optional cap per store or collection, so one big catalog can't use up the whole “Max products”.

## `keywords` (type: `array`):

Keep a product only if its title, type, brand or tags contain any of these words, e.g. `hoodie`, `serum`.

## `excludeKeywords` (type: `array`):

Drop products whose title, type, brand or tags contain any of these, e.g. `gift card`, `sample`.

## `vendors` (type: `array`):

Keep only products from these brands (as the store names them), e.g. `Allbirds`.

## `productTypes` (type: `array`):

Keep only these product types (as the store names them), e.g. `Shoes`, `Lipstick`.

## `onlyAvailable` (type: `boolean`):

Keep only products with at least one variant in stock.

## `onlyOnSale` (type: `boolean`):

Keep only discounted products (sale price below the compare-at price).

## `minDiscountPercent` (type: `integer`):

Keep only products discounted by at least this much, e.g. `30` for 30% off or more.

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

Lowest product price to keep, in the store's currency.

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

Highest product price to keep, in the store's currency.

## `includeDescriptionHtml` (type: `boolean`):

Also return the original formatted description (`descriptionHtml`). Plain-text `description` is always included.

## `onlyNew` (type: `boolean`):

Return only products that no earlier run with the same links has delivered. You pay only for new results.

## `includeChanged` (type: `boolean`):

With “Only new products”: also return products whose price, sale price, stock or title changed since they were last delivered — ideal for price and stock monitoring.

## `stateKey` (type: `string`):

Optional name for the monitoring history, so several monitors can run side by side. Leave empty to derive it from the links.

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

Not needed for most stores. Turn on for stores that limit repeated visits or for very frequent runs.

## `dedupe` (type: `boolean`):

Drop the same product appearing in several links.

## `tenantId` (type: `string`):

Optional label used to keep separate histories for different clients or teams.

## `debug` (type: `boolean`):

Save extra diagnostics with the run (for support requests).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.allbirds.com",
    "https://colourpop.com/collections/lips"
  ],
  "maxItems": 1000,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeDescriptionHtml": false,
  "onlyNew": false,
  "includeChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "dedupe": true,
  "debug": false
}
```

# Actor output Schema

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

Every product found, in one consistent format.

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

Counts, warnings, and whether the run stopped early (e.g. at your spending limit).

# 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 = {
    "startUrls": [
        "https://www.allbirds.com",
        "https://colourpop.com/collections/lips"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/shopify-products").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 = { "startUrls": [
        "https://www.allbirds.com",
        "https://colourpop.com/collections/lips",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tacps126/shopify-products").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 '{
  "startUrls": [
    "https://www.allbirds.com",
    "https://colourpop.com/collections/lips"
  ]
}' |
apify call tacps126/shopify-products --silent --output-dataset

```

## MCP server setup

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

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/DJlLJAJzgDdty1zAP/builds/yz8eDVJN4qxzzZK65/openapi.json
