Skip to content

Guides

How to see a competitor's price history on Shopify

Shopify shows nobody a store's past prices. What it does publish is the store's current product list, with every price, at the store's address followed by /products.json. A history is that list saved every day and compared.

For prices before today, the only sources are old copies of the store's pages, such as the Wayback Machine, and they are patchy.

A store's page in Magpie: its figures now, its changes by day, and its discounts and products over the last 90 days

Read today's prices

  1. Open competitor-store.com/products.json in a browser. Most Shopify stores leave it open; some switch it off.
  2. Each product has variants, and each variant has a price and, when it is discounted, a compare_at_price: the crossed-out price.
  3. The list comes a page at a time. Add ?page=2, ?page=3 and so on until a page comes back empty.
  4. For one product, open competitor-store.com/products/the-product-handle.json, the product's own address with .json added.

Find older prices

Paste a product or collection address into web.archive.org. If the page was saved in the past, each copy shows the price on that day. Small stores are saved rarely, so expect gaps of weeks or months.

Start a history

Save the product list once a day, from a script or by hand, and compare each day with the one before: a different price is a price change, a new compare_at_price is a markdown, a product that disappears was taken off sale or out of the range.

Pace the requests. Shopify counts requests from one caller across all its stores, so reading many stores quickly gets every one of them answering "too many requests" for several minutes. One request every couple of seconds is safe.

Letting it run without a script

Magpie reads the whole product list of each store you add every day and keeps a price history for every product from that day on, with price rises and cuts counted apart from sales. It does the same for WooCommerce and Magento stores, and reads other stores from their category and product pages. Starter is $79 a month for 5 stores. See price tracking.

Questions

Can I see what a competitor charged last year?

Only where an old copy of the page exists, on the Wayback Machine or in your own screenshots. No tool can collect prices from days nobody read the store.

Why does products.json show a different price from the page?

A product with several sizes or colours has a price for each, and the page often shows the cheapest after the word "from".

What if the store has switched products.json off?

Read the prices from its category and product pages instead. It is slower, and a script has to be fitted to each store's layout.

Add a store today and its history starts today.

Start free trialSee the plans

Last changed