# Shopify Products.json Feed + Delta | $1/1K (`cleanfeedsapi/shopify-products-feed`) Actor

Public Shopify storefront products.json (and collection products.json) as a clean product feed. Price range, availability, tags, images. Optional updated_at delta. No login, no HTML scrape, no proxies. $1 per 1,000 products.

- **URL**: https://apify.com/cleanfeedsapi/shopify-products-feed.md
- **Developed by:** [CleanFeeds API](https://apify.com/cleanfeedsapi) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 product rows

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

## Shopify Products.json Feed + Delta | $1/1K

**Quick start**

- Shopify products JSON as a dataset: one row per product from each storefront you list, with id, handle, title, vendor, type, tags, URL, timestamps, variant count, min and max price, availability, image and first SKU.
- Minimal input: `{"shops": ["https://www.allbirds.com"]}`
- Run it from the Console, the API, or the Apify MCP server; export JSON, CSV or Excel.

Pull live catalog rows from a Shopify storefront's **public `products.json`** (the same unauthenticated JSON many themes load) into one dataset. Optional collection scope and `updated_at` delta for price/stock change watches.

No HTML scraping, no login, no proxies, no Storefront API token.

### Why this instead of scraping or the vendor API

- `https://<shop>/products.json` and `/collections/<handle>/products.json` are JSON endpoints most storefronts expose; a merchant can turn them off. The Actor reads them in pages of 250, not the rendered product pages.
- No Admin API, no Storefront API token, no app install. Those need the merchant's consent and credentials; this reads the public `products.json` of a storefront (where exposed).
- The delta is built in. Pass `onlyChangedSince` with an ISO timestamp and only products whose `updated_at` is strictly after it are kept, which turns a daily schedule into a change feed for price and stock moves.
- Collection scope cuts the catalog to what you care about. With `collections` set, only those handles are read, applied to every shop in the list.
- Polite by default: two shops in parallel, 500 ms between pages, and a 40-product default cap so an empty-input run finishes in minutes. Rows missing id, handle, title or URL are dropped before charging.

### What you get

| Field | Meaning |
|---|---|
| `shop` | hostname (e.g. `www.allbirds.com`) |
| `product_id`, `handle`, `title` | Shopify product id + handle + title |
| `vendor`, `product_type` | as published |
| `tags` | string array |
| `url` | `{origin}/products/{handle}` |
| `created_at`, `updated_at`, `published_at` | ISO strings from the storefront |
| `variants_count` | number of variants |
| `min_price`, `max_price` | numeric min/max of variant `price` |
| `currency` | always `null` here; `products.json` does not include a currency code |
| `available` | `true` if any variant has `available: true` |
| `image` | first product image URL when present |
| `first_variant_sku` | SKU of the first variant, or `null` |

Incomplete product rows are **dropped before charging**. A shop that 401/403/404s yields **one** row with `error` and the run continues.

### Input examples

```json
{ "shops": ["https://www.allbirds.com"], "maxProductsPerShop": 1000 }
```

```json
{
  "shops": ["gymshark.com"],
  "collections": ["mens"],
  "maxProductsPerShop": 250,
  "onlyChangedSince": "2026-10-01T00:00:00.000Z"
}
```

| Field | Type | Default | Notes |
|---|---|---|---|
| `shops` | string list | allbirds + gymshark.com | URL or bare domain |
| `collections` | string list | `[]` | if set, use `/collections/{handle}/products.json` only |
| `maxProductsPerShop` | integer | `40` | `0` = no cap (can be large) |
| `onlyChangedSince` | string | `""` | ISO timestamp; empty = no delta filter |

Empty input works: two sample shops, 40 products each, no delta.

### Output example

```json
{
  "shop": "www.allbirds.com",
  "product_id": "7340901859408",
  "handle": "womens-allbirds-flip-flop-dusty-pink",
  "title": "Women's Allbirds Flip Flop - Dusty Pink",
  "vendor": "Allbirds",
  "product_type": "",
  "tags": ["shoprunner"],
  "url": "https://www.allbirds.com/products/womens-allbirds-flip-flop-dusty-pink",
  "created_at": "2024-01-01T00:00:00-07:00",
  "updated_at": "2026-10-15T12:00:00-07:00",
  "published_at": "2024-01-02T00:00:00-07:00",
  "variants_count": 5,
  "min_price": 50,
  "max_price": 50,
  "currency": null,
  "available": false,
  "image": "https://cdn.shopify.com/s/files/1/1104/4168/products/A12513W050_1.jpg",
  "first_variant_sku": "A12513W050"
}
```

**Not included, by design:** full variant matrices, checkout, customer data, authenticated Admin/Storefront GraphQL.

### How much does it cost?

Pay per event: **$1.00 per 1,000 product rows** (`product` event, $0.001 each) plus Apify's Actor-start event. Set a max charge in the Console; the Actor trims to `chargedCount`. Free plan is enough to try the sample shops.

### Use cases

- **Price / stock watchers**: schedule with `onlyChangedSince` = last run time.
- **Competitor catalog snapshots**: multi-shop input, one schema.
- **AI agents / MCP**: "list in-stock products on this Shopify brand" without a browser.
- **Collection-scoped feeds**: pass `collections` handles only.

### Integrations

- **Apify API**: `POST https://api.apify.com/v2/acts/cleanfeedsapi~shopify-products-feed/run-sync-get-dataset-items?token=<APIFY_TOKEN>` with the input JSON as the body. The response is the dataset, ready to parse.
- **Scheduling**: open the Actor in the Apify Console, click Schedule, pick a cron (for example daily at 05:00) and set `onlyChangedSince` to the previous run time to receive only changed products. Each run keeps its own dataset.
- **n8n, Make, Zapier**: use the Apify integration in each tool, choose this Actor and pass the same input JSON. No per-Actor setup, no custom code.
- **Apify MCP server for AI agents**: connect the Apify MCP server to Claude, Cursor or any MCP client and ask the agent to run `cleanfeedsapi/shopify-products-feed` with these inputs.

### Related Actors by CleanFeeds

- [steam-store-games](https://apify.com/cleanfeedsapi/steam-store-games): Steam storefront details, search and listings.
- [app-store-reviews](https://apify.com/cleanfeedsapi/app-store-reviews): Apple App Store customer reviews via the public RSS JSON.
- [domain-mx-preflight](https://apify.com/cleanfeedsapi/domain-mx-preflight): MX, A and HTTPS preflight for domain lists.
- [github-repo-search](https://apify.com/cleanfeedsapi/github-repo-search): new and trending repositories by topic, language or date.

More feeds at [cleanfeeds.dev](https://cleanfeeds.dev).

### FAQ

**Do I need a Shopify API key?** No for this Actor. It reads public storefront `products.json`.

**Is this HTML scraping?** No. JSON only.

**Why did one shop return an error row?** Some hosts block or remove `products.json` (e.g. `www.gymshark.com` returns 403 while `gymshark.com` returns 200). Others return HTML. The Actor records `error` and continues.

**Is this allowed by Shopify?** Shopify's Terms of Service restrict automated access to storefronts, and `products.json` is unauthenticated but not documented for third parties. Use this feed for your own stores or stores whose owners agreed; for production commerce apps use the official Storefront API with merchant permission. Some stores disable `products.json` or block automated requests; those return one error row. Rate: **2 shops concurrent**, **500ms** between pages.

**Currency null?** Storefront `products.json` prices are bare numbers/strings without ISO currency.

**How do I detect new and closed items between runs?** `product_id` is Shopify's numeric product id and does not change, even when the handle is edited. Keep each run's dataset and compare `product_id` sets per `shop`: ids present today but not yesterday are new products, ids present yesterday but not today were unpublished or deleted. For price and stock changes on existing products, use `onlyChangedSince` instead of a full diff, or compare `min_price`, `max_price` and `available` per `product_id`.

**What happens when a source fails?** Shops are independent. If a shop's `products.json` returns a non-2xx status, returns something that is not JSON, or `onlyChangedSince` cannot be parsed, the Actor pushes one row for that shop with every product field `null` (or `[]`, `0`, `false`) plus `error` holding the message, and the other shops still complete. Error rows are not charged. A product that lacks an id, handle, title or URL is dropped silently rather than reported.

# Actor input Schema

## `shops` (type: `array`):

Shopify storefront origins: full URLs (https://www.allbirds.com) or bare domains (gymshark.com). Path suffixes are ignored.

## `collections` (type: `array`):

If non-empty, fetch only these collection product lists (/{handle}/products.json) instead of the whole catalog. Applied to every shop.

## `maxProductsPerShop` (type: `integer`):

Cap per shop (pagination uses 250/page). Default 40 keeps empty-input runs under a few minutes.

## `onlyChangedSince` (type: `string`):

If set (e.g. 2026-10-01T00:00:00.000Z), keep only products whose updated_at is strictly after this timestamp. Empty = all.

## Actor input object example

```json
{
  "shops": [
    "https://www.allbirds.com",
    "https://gymshark.com"
  ],
  "collections": [],
  "maxProductsPerShop": 40,
  "onlyChangedSince": ""
}
```

# Actor output Schema

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

Default dataset with product rows (shop, product_id, handle, title, vendor, product_type, tags, url, dates, prices, available, image, sku).

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

Key-value store record SUMMARY: {shops, products, errors}.

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

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

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

```

## MCP server setup

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

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/TvWe1nHG3vsZvGcqN/builds/gg44s374g6bJaA4cS/openapi.json
