# shopify-actor (`your-scraper/shopify-actor`) Actor

Shopify Products Scraper extracts the full product catalog from any Shopify store - title, price, variants, images, availability, and more.

- **URL**: https://apify.com/your-scraper/shopify-actor.md
- **Developed by:** [Code and Curl](https://apify.com/your-scraper) (community)
- **Categories:** E-commerce, Jobs, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.45 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Shopify Products Scraper do?

**Shopify Products Scraper** extracts the full product catalog from any [Shopify](https://www.shopify.com/) store - title, price, variants, images, availability, and more. Give it a store URL (its own domain or `*.myshopify.com` address) and it paginates through the entire catalog automatically. Running it on the Apify platform gets you scheduling, API access to results, and monitoring out of the box.

### Why use Shopify Products Scraper?

- Track a competitor's or your own store's catalog, pricing, and stock levels over time.
- Feed product data into price-monitoring, market-research, or catalog-migration tools.
- Monitor new product launches by scheduling recurring runs.

### How to use Shopify Products Scraper

1. Click **Try for free** (or **Start**) to open the Actor.
2. Paste one or more Shopify store URLs into **Store URLs**, e.g. `https://allbirds.com`.
3. Optionally set **Max items** to control how many products are scraped (defaults to 5, and the first 5 products are free).
4. Click **Start** and wait for the run to finish, then open the **Dataset** tab to view, filter, and export the results.

No proxy setup is needed - Shopify's product catalog is served through a public, unauthenticated endpoint on virtually every store.

### Input

| Field                | Type               | Description                                                             |
| -------------------- | ------------------ | ----------------------------------------------------------------------- |
| `storeUrls`          | array (required)   | Shopify store URLs to scrape.                                           |
| `maxItems`           | integer (optional) | Stop the run after this many products have been scraped. Defaults to 5. |
| `proxyConfiguration` | object (optional)  | Not required for most stores - see Tips below.                          |

See the **Input** tab for the full schema.

### Output

Each dataset item looks like this:

```json
{
    "id": 7292464955472,
    "title": "Men's Cruiser - Shadow Blue (Natural White Sole)",
    "vendor": "Allbirds",
    "productType": "Shoes",
    "tags": ["DNAM BRANDS", "EC STOCK"],
    "price": 105,
    "maxPrice": 105,
    "compareAtPrice": null,
    "available": true,
    "variantCount": 13,
    "options": [{ "name": "Size", "values": ["8", "8.5", "9", "9.5", "10"] }],
    "imageUrl": "https://cdn.shopify.com/s/files/1/1104/4168/files/All-birds_0010.png",
    "images": ["https://cdn.shopify.com/s/files/1/1104/4168/files/All-birds_0010.png"],
    "url": "https://allbirds.com/products/mens-cruiser-shadow-blue-natural-white-sole"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field                                  | Description                                                      |
| -------------------------------------- | ---------------------------------------------------------------- |
| `id`, `title`, `vendor`, `productType` | Core product identity                                            |
| `tags`                                 | Store-defined tags on the product                                |
| `price`, `maxPrice`, `compareAtPrice`  | Price range across variants, and the "was" price when discounted |
| `available`, `variantCount`, `options` | Stock status and variant details (e.g. sizes, colors)            |
| `imageUrl`, `images`                   | Product photos                                                   |
| `url`                                  | Link to the product page                                         |

### Cost estimation

This Actor uses pay-per-result pricing: the first 5 products scraped are free, and usage beyond that is billed per product. See the **Pricing** tab for current rates. Use **Max items** to scope smaller, cheaper runs.

### Tips

- **A proxy usually isn't needed.** Shopify's product catalog endpoint is public and unauthenticated on virtually every store - a proxy is only worth enabling if a specific store rate-limits or geo-blocks by IP.
- **Not every store exposes this endpoint.** A store can disable it, or the store can be password-protected ahead of launch - in either case this Actor logs a clear warning and simply returns no results for that store, rather than failing the whole run.
- Point this Actor at a store's own domain (e.g. `https://allbirds.com`) or its `*.myshopify.com` address - both work the same way.

### FAQ, disclaimers, and support

This Actor only collects each store's own publicly published product catalog. It is not affiliated with or endorsed by Shopify. Respect each store's Terms of Service when using the scraped data. Found a bug or have a feature request? Use the Issues tab on this Actor's page.

# Actor input Schema

## `storeUrls` (type: `array`):

Shopify store URLs to scrape, e.g. https://allbirds.com. Works with any store's own domain or its \*.myshopify.com address.

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

Stop the run once this many products have been scraped across all store URLs. The first 5 products per month are free; scraping more is billed per product.

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

Optional. Shopify's public product catalog isn't bot-protected, so a proxy isn't required - only useful if a specific store rate-limits or geo-blocks by IP.

## Actor input object example

```json
{
  "storeUrls": [
    {
      "url": "https://allbirds.com"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("your-scraper/shopify-actor").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 = { "storeUrls": [{ "url": "https://allbirds.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("your-scraper/shopify-actor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "storeUrls": [
    {
      "url": "https://allbirds.com"
    }
  ]
}' |
apify call your-scraper/shopify-actor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=your-scraper/shopify-actor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xSnEoxmVPgP80dIkp/builds/5H5sPVtqVsdAEdzjQ/openapi.json
