# Scrape all products from a Shopify collection

**Use case:** 

Paste the URL of a Shopify collection, such as store.com/collections/mens-hoodies, and get just the products in it: title, price, compare-at price, variants, stock and images. Use it to follow one category of a store instead of its whole catalog. This example reads three collections from three stores.

## Input

```json
{
  "stores": [
    "https://tentree.com/collections/mens-hoodies",
    "https://www.allbirds.com/collections/womens",
    "https://www.deathwishcoffee.com/collections/coffee"
  ],
  "maxProductsPerStore": 15,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeVariants": true,
  "includeDescription": false,
  "onlyChanges": false,
  "monitorName": "default"
}
```

## Output

```json
{
  "store": {
    "label": "Store",
    "format": "text"
  },
  "title": {
    "label": "Product",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "compareAtPrice": {
    "label": "Was",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "available": {
    "label": "In stock",
    "format": "boolean"
  },
  "onSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "change": {
    "label": "Change",
    "format": "text"
  },
  "url": {
    "label": "Product page",
    "format": "link"
  },
  "platform": {
    "label": "Platform",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Shopify & WooCommerce Products Scraper: Prices, Stock & Changes Actor is ready to run with the inputs already set for "Scrape all products from a Shopify collection". [Sign up or log in](https://console.apify.com/create-task-from-example/bTKbUDgwn0MHgdRsJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape all products from a Shopify collection" task

The Shopify & WooCommerce Products Scraper: Prices, Stock & Changes Actor will start running based on the input automatically. You can also change all the input fields, like stores, max products per store, and more, to match your specific use case.

### 3. Receive the "Scrape all products from a Shopify collection" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as store, product, price, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scrape all products from a Shopify collection" task via API](https://apify.com/webobsidians/shopify-woocommerce-products-scraper.md).

## FAQ

### How do I scrape one Shopify collection?

The Shopify collection task reads one collection when you paste its URL, for example https://tentree.com/collections/mens-hoodies, into Stores. It returns only the products in that collection.

### Does it work for WooCommerce categories?

The Shopify collection task works with Shopify collection URLs only. For a WooCommerce store it scrapes the whole store, so use keywords to narrow the result.

### How much does it cost to scrape a collection?

The Shopify collection task costs $1.00 per 1,000 products plus $0.00005 per run start, with platform usage included. This example returns up to 45 products, about $0.05.

## About this Actor

This example demonstrates how to use [Shopify & WooCommerce Products Scraper: Prices, Stock & Changes](https://apify.com/webobsidians/shopify-woocommerce-products-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webobsidians/shopify-woocommerce-products-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/webobsidians/shopify-woocommerce-products-scraper.md

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`).
