# Scrape in-stock products from any Shopify store

**Use case:** 

Get only the products that can be bought right now: price, variants with their own stock status, SKU, images and dates. A product is kept when at least one variant is in stock, so sold-out items are skipped. Use it for a product feed or a catalog of what a store really has. This example keeps up to 15 in-stock products from each of three Shopify stores.

## Input

```json
{
  "stores": [
    "https://studioneat.com",
    "https://www.beardbrand.com",
    "https://colourpop.com"
  ],
  "maxProductsPerStore": 15,
  "onlyAvailable": true,
  "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 in-stock products from any Shopify store". [Sign up or log in](https://console.apify.com/create-task-from-example/OiBNo2rmArhPngniW) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape in-stock products from any Shopify store" 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 in-stock products from any Shopify store" 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 in-stock products from any Shopify store" task via API](https://apify.com/webobsidians/shopify-woocommerce-products-scraper.md).

## FAQ

### What counts as in stock?

The Shopify in-stock products task keeps a product when at least one of its variants is in stock. Each variant has its own available flag, so you can still see which sizes or colors are sold out.

### Does it show how many units are in stock?

The Shopify in-stock products task returns an available flag for each variant, not a unit count, because Shopify stores publish whether a variant is available but not how many units are left.

### How much does it cost to scrape in-stock products?

The Shopify in-stock products 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`).
