# Shopify Store Products Scraper (`neuro-scraper/shopify-store-products-scraper`) Actor

Shopify Store Scraper SD - Shopify Store Scraper is an e-commerce data tool that extracts every product, variant and collection of any Shopify store: prices, compare-at prices, SKUs, stock flags, inventory, barcodes, images, tags and vendors. No login needed.

- **URL**: https://apify.com/neuro-scraper/shopify-store-products-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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

### Shopify Store Scraper

Shopify Store Scraper exports the catalogue of any Shopify store - every product, every variant or every
collection - from the store's own public storefront JSON. No login, no API key, no browser.

- **Products**: one row per product with price range, compare-at price, availability, options, nested variants,
  tags, images, description and dates.
- **Variants**: one row per variant (size, colour ...) with SKU, price, compare-at price and stock flag.
- **Collections**: one row per collection with product count, image and description.
- **Stock quantities** (optional): per-variant `inventoryQuantity`, `inventoryPolicy` and `barcode` where the store
  publishes them.
- Headless stores (Hydrogen / Next.js front ends) are read through the store's own `*.myshopify.com` domain, which
  the scraper reads from the store's home page on every run. Stores without any JSON route fall back to the sitemap
  and the product pages' schema.org data.

#### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Store home page (`https://www.allbirds.com`, whole catalogue), collection URL (`/collections/<handle>`), product URL (`/products/<handle>`) or a bare domain (`allbirds.com`). |
| `outputType` | `products` / `variants` / `collections` | Row type. Default `products`. |
| `maxItems` | integer | Maximum rows in total. Default 20. |
| `includeInventory` | boolean | Adds stock quantity, inventory policy and barcode per variant (one extra request per product). Default off. |
| `proxyConfiguration` | proxy | Default Apify automatic proxy; use RESIDENTIAL if a store answers 403/429. |

#### Output (products)

| Field | Example |
|---|---|
| `id`, `title`, `handle`, `url` | `4870548979792`, `Men's Tree Runner - Jet Black (White Sole)`, `mens-tree-runners`, product URL |
| `vendor`, `productType`, `tags` | `Allbirds`, `Shoes`, `[...]` |
| `price`, `priceMax`, `compareAtPrice`, `onSale`, `currency` | `100.0`, `100.0`, `null`, `false`, `USD` |
| `available`, `totalInventory` (with inventory) | `true`, `55` |
| `variantsCount`, `options`, `variants[]` | `7`, `[{"name":"Size","values":[...]}]`, `{id, title, sku, barcode, options, price, compareAtPrice, available, inventoryQuantity, inventoryPolicy, grams, ...}` |
| `image`, `images`, `description`, `descriptionHtml` | first image, all images, plain text, original HTML |
| `createdAt`, `updatedAt`, `publishedAt` | ISO dates from Shopify |
| `collectionHandle` | set when the input was a collection URL |
| `storeName`, `storeDomain`, `source`, `inputUrl`, `scrapedAt` | `Allbirds`, `www.allbirds.com`, `products.json` |

Variant rows carry `variantId`, `productId`, `productTitle`, `variantTitle`, `sku`, `options`, `price`,
`compareAtPrice`, `currency`, `available`, `grams`, `image`, `url` (`?variant=<id>`) and the product fields.
Collection rows carry `id`, `title`, `handle`, `url`, `productsCount`, `description`, `image`, `publishedAt`, `updatedAt`.

#### Measured limits (2026-10-03)

- Shopify serves at most **25,000 products per listing** (`Page * Limit exceeds the 25000 limit.`, measured on
  kith.com with 25,001 products). For larger stores add collection URLs - each collection is its own listing.
- A collection's `productsCount` can be higher than what its listing returns (kith `productsize-10`: 849 vs 304
  listed; allbirds: 107 vs 43) - the listing holds the products published to the online store.
- `inventoryQuantity` exists only where the store publishes it (allbirds, colourpop: yes; gymshark: the key is
  absent, barcode present).
- Speed: 250 products per request, about 1-2 s per page (600 products in 6 s). `includeInventory` and the sitemap
  fallback cost one request per product (about 1 s each).
- Sitemap fallback (stores with no JSON route, e.g. bombas.com): title, brand, SKU, price, availability, images and
  description only - no Shopify ids, variants or dates, and prices/availability follow the visitor's country
  (BDT from a Bangladesh IP).
- Password-protected stores and non-Shopify sites are skipped with an error line.

#### Example

```json
{"startUrls": [{"url": "https://www.allbirds.com"}], "outputType": "variants", "maxItems": 500, "includeInventory": false}
```

# Actor input Schema

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

One URL per line. A store home page (https://www.allbirds.com) returns the whole catalogue, a collection URL (https://www.allbirds.com/collections/mens) returns that collection, a product URL (https://www.allbirds.com/products/mens-tree-runners) returns that product. A bare domain such as allbirds.com works too.

## `outputType` (type: `string`):

products = one row per product with its variants nested; variants = one row per variant (size, colour ...) with SKU, price and stock flag; collections = one row per collection of the store (product and collection URLs count as their store in this mode).

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

Maximum number of rows in total (products, variants or collections). Pages of 250 are read until this number is reached or the store has no more. Use e.g. 5000 for a whole catalogue.

## `includeInventory` (type: `boolean`):

Reads /products/<handle>.js for every product to add inventoryQuantity, inventoryPolicy and barcode per variant (where the store publishes them) plus a totalInventory per product. One extra request per product, about 1 second each.

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

Shopify storefronts usually accept Apify's automatic (datacenter) proxy, the default. Switch to RESIDENTIAL if a store answers 403 or 429.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "outputType": "products",
  "maxItems": 20,
  "includeInventory": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": [
        {
            "url": "https://www.allbirds.com"
        }
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/shopify-store-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 = {
    "startUrls": [{ "url": "https://www.allbirds.com" }],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/shopify-store-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 '{
  "startUrls": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call neuro-scraper/shopify-store-products-scraper --silent --output-dataset

```

## MCP server setup

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