# Shopify Products JSON Scraper: Full Store Catalog (`loamy_barista/shopify-store-products`) Actor

Export the full product catalog of any Shopify store: one row per variant with price, compare-at price, discount, SKU, stock flag, options, images and URLs. Fast and cheap via the public products.json feed.

- **URL**: https://apify.com/loamy_barista/shopify-store-products.md
- **Developed by:** [Keel Data](https://apify.com/loamy_barista) (community)
- **Categories:** E-commerce, 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.80 / 1,000 product variants

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 Products JSON Scraper: Full Store Catalog

Export the **full product catalog of any Shopify store or collection**, or **monitor it daily for price, stock and new-product changes**: one row per variant with price, compare-at price, discount %, SKU, stock flag, options, vendor, tags, image and product URL. Reads the public `products.json` feed, 250 products per request, so it is fast and cheap.

### What it returns

One row per product variant. The same 28 fields on every run, in the same order; missing values are `null`.

| Field | Example | Notes |
|---|---|---|
| store | `https://www.allbirds.com` | |
| productId / variantId | `3703864655952` / `2902...` | |
| title / variantTitle | `Trino Hiders - Onyx` / `M8-9` | `variantTitle` null for single-variant products |
| vendor / productType / tags | `Allbirds` / `Socks` / `mens, socks` | |
| sku | `TH-ONX-M` | |
| price / compareAtPrice | `14.0` / `18.0` | Store currency |
| discountPercent | `22.2` | Computed when on sale |
| available | `true` | In stock flag |
| option1 / option2 / option3 | `M8-9` | Size, colour etc. |
| grams | `113` | |
| imageUrl / productUrl | `https://cdn.shopify.com/...` | `productUrl` deep-links the variant |
| descriptionText | `The Trino Hider is ...` | Plain text |
| createdAt / updatedAt / publishedAt | ISO 8601 | |
| scrapedAt | `2026-11-21T22:30:00Z` | |
| collection | `kith-tops` | Collection handle when you gave a collection URL, else null |
| changeType | `price_changed` | Monitor mode only: `new`, `price_changed`, `stock_changed` or `changed`; null otherwise |
| previousPrice / previousAvailable | `120.0` / `true` | Monitor mode only: values from the last run that saw this variant |

### Use cases

- **Competitor price and stock monitoring:** turn on `onlyNew`, schedule daily, get only the variants that changed.
- **Dropshipping and product research:** pull whole catalogs with images and variants.
- **Market and assortment analysis:** vendors, product types, discount depth across stores.
- **AI agents:** "what does this brand sell under $50 and what is on sale?" in one call.

### Pricing

Pay per result: **$0.0008 per variant row**. 1,000 rows = $0.80. You pay only for rows returned; `maxItems` caps spend.

### Input

Runs with zero configuration (two example stores are prefilled).

- `stores`: any URL of the store (`allbirds.com` works). A collection URL (`kith.com/collections/kith-tops`) returns that collection only.
- `query`: optional comma-separated keywords matched against title, vendor, type, tags and SKU.
- `onlyNew`, `monitorId`: monitor mode, see below.
- `onlyAvailable`, `descriptionMaxLength`, `maxPagesPerStore`, `maxItems`.
- `useApifyProxy`: off by default; turn on only if a store rate-limits you.
- `respectRobotsTxt`: on by default.

### Monitor mode: only what changed

Set `onlyNew: true` and schedule the Actor daily. The first run returns every variant and remembers it. Later runs with the same `monitorId` return only:

- `new`: a variant not seen before (new product or new size or colour),
- `price_changed`: price moved (`previousPrice` holds the old one),
- `stock_changed`: went in or out of stock (`previousAvailable`),
- `changed`: title, SKU, compare-at price, image, type or tags edited.

Unchanged variants are skipped and **not charged**, so a daily watch on a 2,000-variant store usually costs cents. Use a different `monitorId` per watch list. Memory holds the last 100,000 variants per monitor ID.

```json
{"stores": ["kith.com/collections/kith-tops"], "onlyNew": true, "monitorId": "kith-tops-daily"}
```

### Switching from autofacts/shopify or trovevault/shopify-products-scraper

Saved inputs from those Actors run here unchanged; field names are mapped on arrival.

| Their input | Here |
|---|---|
| `startUrls` (autofacts), `domains` (trovevault) | `stores` (store or collection URLs, strings or `{"url": ...}`) |
| `query` | `query` (keyword filter) |
| `maxResults`, `maxProducts` (0 = no limit) | `maxItems` (0 maps to no limit) |
| `proxy`, `proxyConfiguration` with `useApifyProxy: true` | `useApifyProxy: true` |

Their style of input:

```json
{"startUrls": [{"url": "https://kith.com/collections/kith-tops"}], "maxResults": 0}
```

The same request in this Actor's own field names:

```json
{"stores": ["https://kith.com/collections/kith-tops"], "maxItems": 1000000}
```

Differences: billing is per variant row, not per product; exact inventory counts, recommendations and storefront content sections are not returned (Shopify only publishes the in-stock flag on this feed).

### For AI agents (Apify MCP)

- Minimal call: `{"stores": ["allbirds.com"], "maxItems": 200}`.
- Output is a flat JSON array; the field list above is exhaustive and stable.
- `RUN_SUMMARY` lists stores that are not Shopify (no public products.json) or are skipped by robots.txt and, in monitor mode, counts per changeType and unchanged variants skipped.
- Daily price watch: `{"stores": ["brand.com"], "onlyNew": true, "monitorId": "brand"}`.

### Limits

- Works on Shopify storefronts that leave `products.json` public (most do). Headless or password-protected stores return nothing and are listed in `RUN_SUMMARY`.
- Inventory quantities are not public; you get the in-stock flag only.
- Monitor mode reports new and changed variants, not removed ones.
- Some stores block requests from some networks; such stores are listed in `RUN_SUMMARY` and charge nothing. Turn on `useApifyProxy` to retry them through Apify Proxy.

### FAQ

**Is it legal?** It reads catalog data the store publishes to every anonymous visitor, honours each store's robots.txt, and collects no customer or personal data.
**Does it need a login or proxies?** No login. Proxies are optional and off by default.
**What if it breaks?** It is health-tested every day and fixed the same day. Open an issue on the Issues tab and it is answered within 24 hours.

### More from Keel Data

Tested daily; failures are fixed the same day.

- [Greenhouse Jobs API: Lever and Ashby Job Board Scraper](https://apify.com/loamy_barista/ats-job-board-scraper)
- [Remote Jobs Aggregator: Himalayas, Jobicy, Arbeitnow, Remote OK](https://apify.com/loamy_barista/remote-jobs-aggregator)
- [PDF Text Extractor for AI and RAG](https://apify.com/loamy_barista/pdf-text-extractor)
- [Website Tech Stack Detector: CMS, Analytics, Hosting, Pixels](https://apify.com/loamy_barista/website-tech-stack-detector)

If this Actor saved you time, a short review on the Store page helps other builders find it.

# Actor input Schema

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

Shopify storefronts to read, e.g. allbirds.com. A collection URL (kith.com/collections/kith-tops) returns only that collection. Also accepts {"url": ...} objects.

## `query` (type: `string`):

Optional. Comma-separated words; keep only variants whose title, vendor, type, tags or SKU contain any of them. Empty = all products.

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

Return only variants that the store marks as available (in stock). Leave off to include sold-out variants.

## `descriptionMaxLength` (type: `integer`):

Characters of plain-text product description to include. 0 = omit.

## `maxPagesPerStore` (type: `integer`):

Each page holds up to 250 products.

## `useApifyProxy` (type: `boolean`):

Turn on only if a store rate-limits you. Off by default to keep runs cheap.

## `respectRobotsTxt` (type: `boolean`):

Skip stores whose robots.txt disallows /products.json.

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

Stop after this many rows (one row per product variant). You are charged only for rows returned.

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

Return only variants not seen by an earlier run with the same monitor ID, or whose price, stock or details changed (see changeType). Schedule it daily; unchanged variants are skipped and not charged.

## `monitorId` (type: `string`):

Name for the monitor-mode memory. Use a different ID per watch list so their histories stay separate.

## Actor input object example

```json
{
  "stores": [
    "https://www.allbirds.com",
    "https://kith.com"
  ],
  "onlyAvailable": false,
  "descriptionMaxLength": 500,
  "maxPagesPerStore": 40,
  "useApifyProxy": false,
  "respectRobotsTxt": true,
  "maxItems": 500,
  "onlyNew": false,
  "monitorId": "default"
}
```

# Actor output Schema

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

Dataset rows: one product variant record from a Shopify store's public catalog.

# 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": [
        "https://www.allbirds.com",
        "https://kith.com"
    ]
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,loamy_barista/shopify-store-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/NWjpX3XsYzxNB1bmL/builds/AAaHUaXfiTKZmMAe2/openapi.json
