# Shopify Store Products, Pricing & Inventory Scraper API (`parsegrid/shopify-products-scraper`) Actor

Fast zero-proxy Shopify catalog scraper API extracting products, variant prices, discounts, stock status, SKUs, tags, and store social links for e-commerce and MCP agents.

- **URL**: https://apify.com/parsegrid/shopify-products-scraper.md
- **Developed by:** [Parse Grid](https://apify.com/parsegrid) (community)
- **Categories:** E-commerce, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 product scrapeds

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

## Shopify Store Products, Pricing & Inventory Scraper API

Built by **ParseGrid**.

Fast, zero-proxy Shopify catalog, pricing, and inventory scraper that extracts structured product data, variant price ranges, markdown percentages, stock status, SKUs, tags, and brand social links directly from public Shopify storefronts in seconds.

### Why Use This Shopify Scraper?

- **Zero Proxies Required**: Uses lightweight direct HTTP requests with automatic redirect handling, retry logic, and exponential backoff. No residential proxy fees or headless browser overhead.
- **Competitor Price & Discount Monitoring**: Automatically calculates numeric `priceMin`, `priceMax`, `compareAtPriceMax`, and rounded `discountPct` across all variants to spot flash sales and markdowns immediately.
- **Real-Time Inventory & SKU Tracking**: Flags variant stock availability (`inStock`), counts active variants (`variantCount`), extracts distinct `skus`, and maps option sets like Size and Color.
- **DTC Brand Lead Enrichment**: Detects active `storeCurrency`, homepage `<title>`, public social profiles (`instagram`, `tiktok`, `facebook`, `youtube`, `pinterest`), and `mailto:` contact emails on a single pass.
- **Automation-Ready JSON**: Plugs directly into **Clay**, **n8n**, **Make**, Zapier, Google Sheets, data warehouses, and **MCP** AI agents for automated e-commerce prospecting and merchandising alerts.

### Common Use Cases

1. **Competitor Price & Promo Alerts**: Schedule hourly or daily runs against rival Shopify brands to monitor price drops, compare-at markdowns, and out-of-stock products.
2. **DTC Lead Generation in Clay, n8n & Make**: Enrich lists of Shopify domains with live SKU counts, average price points, active currencies, and verified Instagram, TikTok, and support email contacts.
3. **Collection & Assortment Merchandising**: Filter by `collectionHandle` (such as `mens`, `new-arrivals`, or `sale`), `keywordFilter`, or `inStockOnly` to benchmark category assortment depth.
4. **AI Shopping & Research Agents (MCP)**: Give LLM agents structured, real-time Shopify product catalogs without HTML token bloat.

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `stores` | `string[]` | `["allbirds.com"]` | Shopify store domains or full URLs (e.g. `"allbirds.com"`, `"https://brooklinen.com"`). |
| `collectionHandle` | `string` | `""` | Optional collection slug (e.g. `"mens"`). Leave empty to scrape the full store catalog. |
| `keywordFilter` | `string` | `""` | Optional case-insensitive filter matched against product title, type, vendor, or tags. |
| `inStockOnly` | `boolean` | `false` | When `true`, returns only products with at least one available variant in stock. |
| `maxProductsPerStore` | `integer` | `100` | Maximum matching products to return per store (`1` to `2500`). |

### Input Example

```json
{
  "stores": [
    "allbirds.com",
    "https://brooklinen.com"
  ],
  "collectionHandle": "",
  "keywordFilter": "",
  "inStockOnly": true,
  "maxProductsPerStore": 100
}
```

### Output Example

```json
{
  "storeDomain": "allbirds.com",
  "storeTitle": "Allbirds: Comfortable, Sustainable Shoes & Apparel",
  "storeCurrency": "USD",
  "productId": 7292464824400,
  "handle": "mens-tree-runners",
  "title": "Men's Tree Runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "productUrl": "https://allbirds.com/products/mens-tree-runners",
  "priceMin": 98,
  "priceMax": 98,
  "compareAtPriceMax": 110,
  "discountPct": 11,
  "inStock": true,
  "variantCount": 13,
  "skus": [
    "A12858W080",
    "A12858W085",
    "A12858W090"
  ],
  "options": [
    {
      "name": "Size",
      "values": ["8", "8.5", "9", "9.5", "10", "10.5", "11"]
    }
  ],
  "descriptionSnippet": "Breathable everyday sneaker made with lightweight eucalyptus tree fiber for cool, airy comfort.",
  "tags": ["mens", "shoes", "tree-runners", "bestseller"],
  "imageUrl": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090.png",
  "imageCount": 6,
  "publishedAt": "2026-10-15T14:20:00-07:00",
  "updatedAt": "2026-11-12T09:14:22-08:00",
  "storeSocials": {
    "instagram": "https://www.instagram.com/allbirds",
    "tiktok": "https://www.tiktok.com/@allbirds",
    "facebook": "https://www.facebook.com/weareallbirds",
    "youtube": "https://www.youtube.com/c/allbirds",
    "pinterest": "https://www.pinterest.com/weareallbirds",
    "email": "help@allbirds.com"
  },
  "scrapedAt": "2026-11-13T19:45:00.000Z"
}
```

### MCP Agent Integration

Connect this Actor to Claude Desktop, Cursor, or any MCP client through the Apify MCP server:

```json
{
  "tool": "call-actor",
  "arguments": {
    "actor": "parsegrid/shopify-products-scraper",
    "input": {
      "stores": ["allbirds.com"],
      "inStockOnly": true,
      "maxProductsPerStore": 25
    }
  }
}
```

# Actor input Schema

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

List of Shopify store domains or URLs to scrape (for example, allbirds.com or https://brooklinen.com).

## `collectionHandle` (type: `string`):

Optional Shopify collection slug (for example, mens or best-sellers). Leave empty to extract products across the entire store.

## `keywordFilter` (type: `string`):

Optional case-insensitive filter matched against product title, product type, vendor, or tags.

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

When enabled, returns only products that have at least one available variant in stock.

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

Maximum number of matching products to extract per Shopify store.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com",
    "https://brooklinen.com"
  ],
  "collectionHandle": "",
  "keywordFilter": "",
  "inStockOnly": false,
  "maxProductsPerStore": 100
}
```

# Actor output Schema

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

JSON dataset items with variant pricing, discount percentages, stock status, SKUs, options, tags, and store metadata.

# 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 = {
    "stores": [
        "allbirds.com",
        "https://brooklinen.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsegrid/shopify-products-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 = { "stores": [
        "allbirds.com",
        "https://brooklinen.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("parsegrid/shopify-products-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 '{
  "stores": [
    "allbirds.com",
    "https://brooklinen.com"
  ]
}' |
apify call parsegrid/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsegrid/shopify-products-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/mXHEWXaRVxNsShCHv/builds/5XqNrmFep0PEeBbHE/openapi.json
