# Track sale prices and discounts on Shopify stores

**Use case:** 

Reads the public product feed of Shopify stores and keeps only products that are on sale. Each product comes with the current price, the compare at (original) price, discount percent, stock status, vendor, product type, tags, images and URL, plus one row with store details and currency. Schedule it to watch competitor promotions.

## Input

```json
{
  "storeUrls": [
    "www.allbirds.com",
    "www.tentree.com"
  ],
  "maxProductsPerStore": 10,
  "maxTotalProducts": 0,
  "variantMode": "nested",
  "includeStoreInfo": true,
  "includeCollections": false,
  "includeProducts": true,
  "inStockOnly": false,
  "onSaleOnly": true,
  "descriptionFormat": "text",
  "maxConcurrency": 3,
  "requestDelayMs": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "title": {
    "label": "Product",
    "format": "string"
  },
  "vendor": {
    "label": "Vendor",
    "format": "string"
  },
  "productType": {
    "label": "Product type",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "priceMax": {
    "label": "Max price",
    "format": "number"
  },
  "compareAtPriceMin": {
    "label": "Compare at",
    "format": "number"
  },
  "onSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "discountPercent": {
    "label": "Discount %",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "available": {
    "label": "In stock",
    "format": "boolean"
  },
  "variantsCount": {
    "label": "Variants",
    "format": "integer"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "storeDomain": {
    "label": "Store",
    "format": "string"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "createdAt": {
    "label": "Created",
    "format": "string"
  },
  "updatedAt": {
    "label": "Updated",
    "format": "string"
  }
}
```

## How it works

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

The Shopify Store Scraper: Products, Prices, Variants, Stock Actor is ready to run with the inputs already set for "Track sale prices and discounts on Shopify stores". [Sign up or log in](https://console.apify.com/create-task-from-example/VZE9cMA8CaZDac5h2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track sale prices and discounts on Shopify stores" task

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

### 3. Receive the "Track sale prices and discounts on Shopify stores" 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 type, image, product, 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 "Track sale prices and discounts on Shopify stores" task via API](https://apify.com/zhtech/shopify-store-scraper.md).

## FAQ

### What does the Shopify sale price tracker task return?

The Shopify sale price tracker task returns one row per discounted product with title, vendor, price, compare at price, discount percent, availability, variants, images and URL, plus a store row with name, currency and country.

### How do I track other Shopify stores?

Replace Store URLs or domains in the Shopify sale price tracker task with any Shopify domains, myshopify domains or collection URLs. Turn off On sale only to get the full catalog with every price.

### Can I run the Shopify sale price tracker task on a schedule or through the API?

Save the Shopify sale price tracker task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.

### How much does the Shopify sale price tracker task cost?

The Shopify sale price tracker task is pay per event: a small start fee per run plus a fee per product saved. Error rows, filtered products and duplicates are free. Prices are on the Pricing tab.

## About this Actor

This example demonstrates how to use [Shopify Store Scraper: Products, Prices, Variants, Stock](https://apify.com/zhtech/shopify-store-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/shopify-store-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/zhtech/shopify-store-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`).
