  [Home](https://scrapfly.io/)/[Scrapers](https://scrapfly.io/scrapers)/**Shopify**

Catalogs · collections · product pages · product URLs

# // Shopify Store Scraper API

Get product data from public Shopify-powered stores as clean JSON: titles, prices, variants, SKUs, stock and images, read from the store's own catalog route or its product pages. Scrapfly gets each request past the store's browser check, so you send a store URL and read the data. No store login or Shopify API access needed.

- **Clone it and run it.** An open-source Shopify scraper for catalogs, collections, product pages and product URLs, tested against live stores every night.
- **Check a store first.** A preflight request tells you whether a store's catalog route answers with product JSON before you scrape it.
 
 [Get free API key](https://scrapfly.io/register) [View GitHub scraper](https://github.com/scrapfly/scrapfly-scrapers/tree/main/shopify-scraper) [Read the API docs](https://scrapfly.io/docs/scrape-api/getting-started) 

**$2.50 to $7.50 per 1,000 pages** on the Pro plan: 25 to 75 credits a page, depending on whether the store shows a browser check, at $0.10 per 1,000 credits.

1,000 free credits. No credit card required.

 [  ](https://scrapeway.com/web-scraping-api/scrapfly) [  ](https://www.capterra.com/p/212653/Scrapfly/reviews/)  

 4.8/5 from 248 reviews 

 

 

 

 

 Shopify stores · illustration

  

 

 Product JSON**Output**

```
{
  <span class="c-str">"store"</span>: <span class="c-str">"deathwishcoffee.com"</span>,
  <span class="c-str">"collection"</span>: <span class="c-str">"coffee"</span>,
  <span class="c-str">"title"</span>: <span class="c-str">"Dark Roast Coffee"</span>,
  <span class="c-str">"type"</span>: <span class="c-str">"Coffee"</span>,
  <span class="c-str">"price_min"</span>: <span class="c-num">19.99</span>,
  <span class="c-str">"price_max"</span>: <span class="c-num">84.99</span>,
  <span class="c-str">"variants"</span>: <span class="c-num">8</span>,
  <span class="c-str">"in_stock"</span>: <span class="c-num">8</span>,
  <span class="c-str">"first_variant"</span>: {
    <span class="c-str">"title"</span>: <span class="c-str">"Ground / 1 lb"</span>,
    <span class="c-str">"sku"</span>: <span class="c-str">"50251G"</span>
  }
}
```

Printed by the Python request below[See the request ↓](#implementation)

   

  

What you can scrape from Shopify stores

Four kinds of public product data you can scrape from Shopify-powered stores with Scrapfly, no store account required. The examples on this page come from two public Shopify-powered stores, Death Wish Coffee and Allbirds.

 

## // Scrape Shopify product catalogs

Many Shopify stores answer `/products.json` with their catalog as JSON, one page at a time: title, vendor, product type, description, tags, options, images, publish and update dates. Each product lists its variants with SKU, price, compare-at price and an in-stock flag. Page through it with `limit` and `page`.

- title
- vendor
- product\_type
- variants
- sku
- price
- compare\_at\_price
- available

  

## // Scrape Shopify collections

`/collections/<handle>/products.json` returns the products of one collection with the same fields, in the order the store shows them. Use it to follow a category, a sale or a new-arrivals list instead of the whole catalog.

- collection
- title
- price
- variants
- tags
- images

  

## // Scrape Shopify product pages

Product pages carry schema.org structured data: name, brand, description, images, price, currency, availability and links to each variant. Read them when a store closes its catalog route, or when you start from product URLs.

- name
- brand
- price
- currency
- availability
- variant\_urls

  

## // Discover a store's product URLs

A Shopify store lists its product sitemaps in `/sitemap.xml`. Read the index, then each product sitemap, to get the store's product URLs for crawling product pages or spotting new products.

- sitemap.xml
- product sitemaps
- product URLs

  

 

  

Reliability

## // Get Shopify stores past the browser check

Shopify stores can show visitors a "Verify your browser" check and answer a plain request with a 403 page, even on the JSON catalog route. With the Unblocker, Scrapfly passes the check and returns the JSON or the page. Then check what came back before you parse it: catalog JSON, an empty page, a rate limit, a closed route or an HTML page. Prices and stock change, so store each value with its scrape time.

 `unblocker=true`

Chooses the proxy and solves the store's browser check when it shows one.

 

 `products.json`

The storefront catalog route returns structured JSON with every variant, so there is no HTML to parse. Some stores close it. Read their product pages instead.

 

 `application/ld+json`

Product pages carry schema.org data. Store themes write it as `Product` or `ProductGroup`, so check the type before you map fields.

 

 

 

  

Choose your tools

## // Scrapfly products for Shopify scraping

Start with the Web Scraping API. Add an extraction model, screenshots or a browser session as your workflow needs them, or start from the open-source scraper. One API key covers every product.

 

### Web Scraping API for Shopify stores

Send a store's catalog, collection, product page or sitemap URL with the Unblocker and the country you choose, and get the response back as JSON, XML or HTML.

Read catalog JSON as it comes, or the structured data on product pages.

```
GET /scrape?url=https://www.deathwishcoffee.com/collections/coffee/products.json%3Flimit%3D20%26page%3D1&unblocker=true&country=US
```

 [Explore Web Scraping API →](https://scrapfly.io/products/web-scraping-api)  

### Data Extraction API for Shopify product pages

Add `extraction_model=product` to a product page request and get the product back as JSON, with no parser for each store's theme.

Get the name, brand, price and currency, images, breadcrumbs and description.

```
GET /scrape?url=https://www.allbirds.com/products/mens-strider-medium-grey&unblocker=true&country=US&extraction_model=product
```

 [Explore Data Extraction API →](https://scrapfly.io/products/extraction-api)  

### Screenshot API for Shopify stores

Capture a store's collection or product page as shoppers see it, with prices, ratings and promotions.

Keep a dated visual record of a store's merchandising next to your JSON.

```
GET /screenshot?url=https://www.deathwishcoffee.com/collections/coffee&country=us&format=jpg&resolution=1920x1080&rendering_wait=3000
```

 [Explore Screenshot API →](https://scrapfly.io/products/screenshot-api)  

### Cloud Browser API for Shopify sessions

Open a store in a hosted Chromium session and drive it with Playwright or Puppeteer.

Read the rendered product page and its structured data in a real browser, with the country you choose.

```
chromium.connect_over_cdp("wss://browser.scrapfly.io?key=KEY&country=us")
```

 [Explore Cloud Browser API →](https://scrapfly.io/products/cloud-browser-api)  

### Open-source Shopify scraper on GitHub

Clone the maintained Python scraper for catalogs, collections, product pages and product URLs.

It runs on the Web Scraping API with the Unblocker, checks each store's catalog route first, pages through catalogs with pauses and retries, reads product pages as a fallback, and is tested against live stores every night.

- check\_shopify\_stores
- scrape\_catalog
- scrape\_collection
- scrape\_product\_pages
- scrape\_product\_urls

 [View the scraper on GitHub →](https://github.com/scrapfly/scrapfly-scrapers/tree/main/shopify-scraper)  

 

  

One request

## // Read a collection's products and variants

The JSON at the top is sample output from November 25, 2026, for the coffee collection of Death Wish Coffee, a public Shopify store: one request through a US residential IP, the collection's catalog JSON read, then the first product's price range, variant count, stock and first variant. Prices and stock change, so yours may differ.

Install `scrapfly-sdk`, then replace the key below. Change the store address and the collection handle to read another store, or drop `/collections/coffee` to read the store's whole catalog page by page.

**Prefer the full scraper?** The open-source [Shopify scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/shopify-scraper) checks stores, pages through catalogs and collections, reads product pages and collects product URLs from sitemaps, in Python 3.12. It runs against live stores every night. Clone it, set `SCRAPFLY_KEY`, and point it at the stores you follow.

 

 Python · scrapfly-sdkscrape + parse

```
<span class="c-key">import</span> json
<span class="c-key">from</span> scrapfly <span class="c-key">import</span> ScrapeConfig, ScrapflyClient

client = ScrapflyClient(key=<span class="c-str">"YOUR_SCRAPFLY_KEY"</span>)
store = <span class="c-str">"https://www.deathwishcoffee.com"</span>
result = client.scrape(ScrapeConfig(
    store + <span class="c-str">"/collections/coffee/products.json?limit=5"</span>,
    unblocker=<span class="c-key">True</span>, country=<span class="c-str">"US"</span>,
))

<span class="c-com"># the storefront JSON route returns the catalog</span>
products = json.loads(result.content)[<span class="c-str">"products"</span>]
product = products[<span class="c-num">0</span>]
variants = product[<span class="c-str">"variants"</span>]
prices = [float(v[<span class="c-str">"price"</span>]) <span class="c-key">for</span> v <span class="c-key">in</span> variants]
output = {
    <span class="c-str">"store"</span>: <span class="c-str">"deathwishcoffee.com"</span>,
    <span class="c-str">"collection"</span>: <span class="c-str">"coffee"</span>,
    <span class="c-str">"title"</span>: product[<span class="c-str">"title"</span>],
    <span class="c-str">"type"</span>: product[<span class="c-str">"product_type"</span>],
    <span class="c-str">"price_min"</span>: min(prices),
    <span class="c-str">"price_max"</span>: max(prices),
    <span class="c-str">"variants"</span>: len(variants),
    <span class="c-str">"in_stock"</span>: sum(v[<span class="c-str">"available"</span>] <span class="c-key">for</span> v <span class="c-key">in</span> variants),
    <span class="c-str">"first_variant"</span>: {
        <span class="c-str">"title"</span>: variants[<span class="c-num">0</span>][<span class="c-str">"title"</span>],
        <span class="c-str">"sku"</span>: variants[<span class="c-num">0</span>][<span class="c-str">"sku"</span>],
    },
}
print(json.dumps(output, indent=<span class="c-num">2</span>, ensure_ascii=<span class="c-key">False</span>))
```

 

 

 

  

What the data is used for

## // Common Shopify scraping use cases

### Price monitoring

Track the prices of competing stores' products and variants over time.

 

### Promotion tracking

Record when compare-at prices appear, so you see when a store discounts and by how much.

 

### Stock monitoring

Follow which sizes and variants are in stock, product by product.

 

### Assortment tracking

Spot new and removed products by comparing catalogs, with publish and update dates.

 

### Product research

Compare product types, tags, options and price points across the stores in a niche.

 

### Product data for AI agents

Give an assistant current product data, with prices, variants and links, for the store a user asks about.

 

 

 

  

Common questions

## // Shopify scraping FAQ

 Is scraping Shopify stores legal?

There is no universal answer. Legality depends on your jurisdiction, the data, the access method and how you use the result. Keep the workflow to public product data that any visitor can see, stay signed out, review each store's terms of service, and get legal advice for commercial use.

 Do I need the Shopify API to scrape a store?

No. Shopify's Admin and Storefront APIs are for store owners and the apps they install, and need credentials from the store. The requests on this page read a store's public catalog route and pages signed out, so you only need a Scrapfly API key. You get what any visitor sees: products, prices, variants and stock status, not orders, customers or sales.

 How do I check if a store runs on Shopify?

Request `/products.json?limit=1` on the store's domain. A Shopify catalog answers with JSON that holds a `products` array; another site answers with an HTML page or an error. A failed answer does not prove the store is not on Shopify, because some stores close the route, so try a product page next.

 Why does a Shopify store return a 403?

Stores can check visitors for bots and answer a plain request with a 403 "Verify your browser" page, even on the JSON route. Set `unblocker=true` and a `country`, then confirm that the response is JSON with a products array, or a page with Product structured data, before you parse it.

 Can I scrape Shopify prices and variants?

Yes. Each catalog product lists its variants with title, option values, SKU, price, compare-at price and an in-stock flag. A compare-at price above the price marks a discount. Prices change during sales, so store the scrape date with each value.

 How do I get all products from a Shopify store?

Page through `/products.json` with `limit` and `page` until a page comes back short or empty, as the open-source scraper does. It pauses between pages and backs off when a store answers with a 429. The product sitemaps give you the store's product URLs as a second list.

 How much does scraping a Shopify store cost?

A request through the Unblocker costs 25 credits on residential proxies. When a store shows a browser check, solving it adds to the cost, up to 75 credits in all, and less when an earlier solve is reused. The product extraction model adds 5 credits per started 500 KB of page. The free plan includes 1,000 credits a month.

 What are the rate limits when scraping Shopify stores?

Scrapfly sets no Shopify-specific limit. Your maximum parallelism is the concurrency quota on your plan, or a lower cap configured for the project. Each in-flight request uses one slot until it finishes. Stores can still throttle fast requests, so space out catalog pages.

 

 

  

Start with one request

## Send the store URL. Read the catalog.

Web Scraping API with the Unblocker, one call per Shopify catalog page or product.

Proxies across 75+ countries

[Shopify scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/shopify-scraper)[How to scrape Shopify stores](https://scrapfly.io/blog/posts/how-to-scrape-shopify-stores)[Walmart Scraper API](https://scrapfly.io/scrapers/walmart)[Best Buy Scraper API](https://scrapfly.io/scrapers/bestbuy)[All scraper pages](https://scrapfly.io/scrapers)

 

[Get free API key](https://scrapfly.io/register)[Read the docs](https://scrapfly.io/docs/scrape-api/getting-started)