DEV Community

Southern Data
Southern Data

Posted on Originally published at github.com

Track competitor Shopify prices and stock automatically

I run Southern Data on the Apify Store, and I built the tool this article walks through: Shopify Scraper & Price/Stock Monitor. This is a first-party walkthrough, not a paid placement, and there are no affiliate links.

If you sell on Shopify, or compete with brands that do, you already know the public catalogue is sitting there: titles, variant prices, compare-at (sale) prices, and whether anything is in stock. The tedious part is checking it every day, across more than one store, and noticing what actually changed.

I built a small Apify Actor that reads a store’s public /products.json feed and gives you a structured row per product. You can run it once for a snapshot, or schedule it as a monitor that only returns new products, removals, price moves, sales starting or ending, and sold-out / back-in-stock changes.

It does not log in, does not bypass a store password, and does not read checkout or customer data.

Limits (read these first)

  1. Public catalogue only. If a store is password-protected, blocks the feed, is not Shopify, or uses a headless storefront that does not expose /products.json, the run returns a skipped or empty row that says so. It will not report a silent success with zero unexplained rows.
  2. About 250 products per page, capped per store. The default cap is 2,000 products (maximum 5,000). The listing prefill uses 50, which is a sensible first test. Shopify’s public feed itself often stops around 10,000 products, so very large catalogues are incomplete by design.
  3. One row per product, not per variant, by default. price is the lowest variant price, priceMax the highest, and available is true if any variant is in stock. Turn on includeVariantChanges if you also want variant-level change rows on later monitor runs.
  4. A failed later fetch does not mark products as removed. Remembered products are kept, and you are not charged for them.
  5. Respect the merchant. This is for watching public prices and stock, not for copying a store wholesale.

The example input

This is a slightly tightened version of the Store example. It snapshots two public stores and also includes a non-Shopify domain, so you can see a clean skip:

{
  "stores": ["allbirds.com", "https://www.gymshark.com", "example.com"],
  "mode": "all",
  "maxProducts": 20
}
Enter fullscreen mode Exit fullscreen mode

Steps

  1. Open southern-data/shopify-store-monitor on the Apify Store and click Try for free (you need an Apify account).
  2. Paste the input above, or swap in public Shopify domains you are allowed to watch. A collection URL such as https://allbirds.com/collections/mens limits the scrape to that collection.
  3. Leave mode as all for a first snapshot. Keep maxProducts low while you test.
  4. Click Run and wait. A small run like this usually finishes in a few seconds.
  5. Open the Dataset tab. Product rows have rowKind set to product and include title, vendor, URL, lowest and highest price, compare-at price, stock flags and variant counts. Skipped stores have rowKind set to store.
  6. Download the dataset as CSV, Excel or JSON, or call the run from your own code with the Apify API.
  7. For a daily competitor watch, create an Apify Task or Schedule with the same stores, "mode": "changed" and a stable "monitorName" (for example "competitors-daily"). The first complete run saves a baseline and returns every product as changeType=baseline. Later complete runs return only changes.

Sample output from a real run

On 24 November 2026 (10:36 PM Australia/Sydney) I ran exactly that input. The run succeeded in about three seconds on build 0.1.8. It returned 40 product rows from Allbirds and Gymshark, and one skipped store row for example.com. Event charges at free/Bronze list prices were $0.043.

One Allbirds row (on sale that evening — compareAtPrice is the pre-sale price when Shopify exposes one):

{
  "status": "ok",
  "rowKind": "product",
  "store": "allbirds.com",
  "title": "Men's Wool Runner NZ Waterproof - Natural Black (Natural Black Sole)",
  "url": "https://allbirds.com/products/mens-wool-runner-nz-waterproof-natural-black",
  "vendor": "Allbirds",
  "price": 105,
  "priceMax": 105,
  "compareAtPrice": 150,
  "available": true,
  "variantCount": 13,
  "availableVariantCount": 1
}
Enter fullscreen mode Exit fullscreen mode

One Gymshark row from the same run:

{
  "status": "ok",
  "rowKind": "product",
  "store": "gymshark.com",
  "title": "Gymshark Showing Up Patch - Conditioning Red",
  "url": "https://gymshark.com/products/gymshark-showing-up-patch-misc-red-aw26",
  "vendor": "Gymshark | Be a visionary.",
  "price": 8,
  "priceMax": 8,
  "compareAtPrice": null,
  "available": true,
  "variantCount": 1,
  "availableVariantCount": 1
}
Enter fullscreen mode Exit fullscreen mode

The skip, instead of a fake empty catalogue:

{
  "status": "skipped",
  "rowKind": "store",
  "store": "example.com",
  "reasonCode": "not_shopify",
  "reason": "This site does not expose a public Shopify catalogue at /products.json. It may not be a Shopify store, or the catalogue may be turned off."
}
Enter fullscreen mode Exit fullscreen mode

In that run, the 20 Allbirds products were priced between $7 and $112, and the 20 Gymshark products between $6 and $30.80. 39 of the 40 product rows had a compare-at (sale) price; 31 of the 40 were in stock. Those figures are only for the first 20 products of each store, not the whole catalogue, and they change as the stores change their catalogues.

A larger snapshot of allbirds.com on 6 November 2026 (8:15 PM Australia/Sydney), with maxProducts set to 260, returned 260 products: 258 in stock and 2 not available, priced from $49 to $165.

What a later monitor run costs when nothing has changed

On 12 November 2026 (11:02 PM Australia/Sydney) I saved a 25-product Allbirds baseline in mode=changed. That first complete run cost $0.026. An immediate rerun, with no catalogue changes, returned zero product rows and cost $0.006 (the start fee plus one store check). Unchanged products are not charged.

Pricing (free / Bronze list prices)

The live Store page may show a “from $0.64 / 1,000 products” headline. That is the Gold-plan price for the product event only. Free-plan and Bronze users pay the list prices below. Silver gets 10% off; Gold and higher get 20% off. These prices were still the live list prices on 24 November 2026.

Event Price When it is charged
actor-start $0.001 Once per run, after the first successful catalogue fetch
store-check $0.005 Each store whose public catalogue was fetched completely
product $0.0008 Each product row in mode=all, and each snapshot row on a store’s first complete changed run
change $0.002 Each change / new / removed row on later changed runs

Free: invalid or empty input, skipped stores (not Shopify, password-protected, blocked, network errors), incomplete later fetches that keep the baseline, and unchanged products in monitor mode.

Worked examples from the listing, at list prices:

  • Snapshot of one 200-product store: $0.001 + $0.005 + 200 × $0.0008 = $0.166
  • A later monitor run of that store with 8 changes: $0.001 + $0.005 + 8 × $0.002 = $0.022

The two-store test above matches the table: $0.001 + (2 × $0.005) + (40 × $0.0008) = $0.043. The skipped non-Shopify domain added nothing.

You can also cap spend with Apify’s maxTotalChargeUsd on the run or task.

If you try it

The Actor is here: https://apify.com/southern-data/shopify-store-monitor. Start with mode=all and a low maxProducts, then switch the same stores to mode=changed with a stable monitorName once you are happy with the snapshot.

Top comments (0)