Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Shopify scraper

The Zenrows Shopify scraper turns a product or collection URL from a store built on Shopify into structured JSON: product name, price, currency, description, images, variants with SKU, size and availability, colorways, materials and technical specs. You send the URL, Fetch in Adaptive Stealth Mode opens the page, and Extract returns the fields. Run it from an API call, the CLI or an AI agent.

Site
shopify.com
Returns
Products, prices, variants, SKUs and collections
Runs on
Fetch, Extract, Batch, Crawl
Updated
{
  "product": {
    "name": "Men's Tree Runner",
    "price": 100,
    "currency": "USD",
    "url": "https://www.allbirds.com/products/mens-tree-runners",
    "product_group_id": "MENS_TREE_RUNNERS",
    "gender": "mens",
    "edition": "classic",
    "material": "tree",
    "silhouette": "runner",
    "availability": null,
    "best_for": ["Traveling", "Walking", "Commuting", "Everyday"],
    "fit_note": "The Tree Runner tends to run small. We recommend sizing up from your usual size for the best fit.",
    "images": [
      "//www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=1280"
    ]
  },
  "variants": [
    {
      "available": true,
      "price": 100,
      "size": "8",
      "sku": "TR3MJBW080",
      "url": "/products/mens-tree-runners?variant=33179624669264",
      "variant_id": "33179624669264"
    }
  ],
  "colorways": [
    {
      "edition": "classic",
      "full_name": "Navy Night (White Sole)",
      "handle": "mens-tree-runners-navy-night",
      "name": "Navy Night"
    },
    {
      "edition": "limited",
      "full_name": "Wheat (Beige Sole)",
      "handle": "mens-tree-runners-wheat-dark-beige",
      "name": "Wheat"
    }
  ],
  "technical_specs": {
    "country_of_origin": "Vietnam",
    "heel_toe_drop": "9.0mm",
    "weight": "8.6oz (M9), 7.3oz (W7)"
  }
}

Request and output of a live call to a product page on allbirds.com, a store built on Shopify, on Oct 22, 2026, trimmed for length. A field is returned when the page shows it.

What data can you scrape from Shopify stores?

A Shopify product page returns the product record, every variant the theme lists, and the extra blocks a brand adds to its template, such as colorways, materials or specs.

A collection page returns one record per product card. These are the fields teams use most, with the path where each lives in the JSON.

FieldWhat it holdsExample
product.name Product title as the store shows it Men's Tree Runner
product.price The price on the page, as a number 100
product.currency Currency code of the price USD
product.url Canonical product URL, built on the product handle https://www.allbirds.com/products/mens-tree-runners
product.description Product copy from the page A breezier take on our original Wool Runner…
product.images[] Product photos from the store's CDN //www.allbirds.com/cdn/shop/files/…png
product.product_group_id The ID that groups the colorways of one model MENS_TREE_RUNNERS
product.best_for[] Use tags the store adds to the product ["Traveling", "Walking"]
product.care_instructions Care text, when the page has it Machine Washable
variants[].sku The SKU of each variant, the key for inventory joins TR3MJBW080
variants[].variant_id Shopify's numeric variant ID 33179624669264
variants[].size The option value of the variant 8
variants[].available Whether that variant can be bought true
variants[].url The product URL with ?variant= set to that variant /products/mens-tree-runners?variant=…
colorways[] Sibling products for each color, with handle and edition { "name": "Navy Night", … }
materials[] Component, material name and description { "component": "Upper", … }
technical_specs Spec pairs such as origin, weight and drop { "country_of_origin": "Vietnam" }
products[] (collection) Position, name, URL, price, sale price and options per card { "position": 1, … }

How to scrape a Shopify store with Zenrows

  1. Create a free Zenrows account and copy your API key from the dashboard.
  2. Find the store's product or collection URL. Shopify themes keep the same paths on every domain: /products/<handle> for a product, /collections/<handle> for a list, and /collections/all for the whole catalog on most stores.
  3. Send it with the default configuration: Adaptive Stealth Mode to open the page, Extract to return the fields, and the country whose prices and currency you want.
  4. Read parsed from the response. Product groups differ by theme, so read optional blocks such as colorways or technical_specs with a fallback.
  5. Run the store's product URLs in Batch once one page returns what you need, with the SKU or handle as your external_id.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "https://www.allbirds.com/products/mens-tree-runners",
    "mode": "auto",          # Adaptive Stealth Mode
    "extract": "auto",       # structured JSON
    "proxy_country": "us",   # prices and currency for US shoppers
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()

data = response.json()["parsed"]
product = data.get("product", {})
print(product.get("name"), product.get("price"), product.get("currency"))
for variant in data.get("variants") or []:
    print(variant.get("sku"), variant.get("size"), variant.get("available"))
print(json.dumps(data.get("technical_specs") or {}, indent=2))

Input

The scraper takes one URL from a Shopify store per request, plus the options below.

A Batch job applies the same options to every task, so monitoring a competitor's whole catalog is a list of product URLs with these settings.

ParameterTypeDefaultDescription
url string required A page on any store built on Shopify: product (/products/<handle>), collection (/collections/<handle>), a variant (?variant=ID) or a search page
mode string auto Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them
extract string auto Returns the page's fields as JSON in parsed, next to the raw html
extract_fields string all fields Comma-separated paths to keep, such as product.name,product.price,variants.sku
proxy_country string any Two-letter country code. Shopify Markets can switch currency, prices and available products by the shopper's country
wait_for string none A CSS selector to wait for before the page is read, useful when a theme loads prices or reviews late
session_id integer none Keep the same session across several requests, up to 10 minutes, for example while you page through one collection
Batch input
{
  "type": "regular",
  "status": "closed",
  "zenrows_params": {
    "mode": "auto",
    "extract": "auto",
    "proxy_country": "us"
  },
  "tasks": [
    { "url": "https://www.allbirds.com/products/mens-tree-runners", "external_id": "mens-tree-runners" },
    { "url": "https://www.allbirds.com/products/mens-tree-runners-navy-night", "external_id": "mens-tree-runners-navy-night" },
    { "url": "https://www.allbirds.com/products/mens-tree-runners-wheat-dark-beige", "external_id": "mens-tree-runners-wheat" }
  ]
}

Output

Every response is JSON with two keys: html, the page as the store served it, and parsed, the structured record. Shopify gives every store the same data model, products with variants and collections of products, but each theme lays it out its own way, so the groups in parsed follow what the page shows. The product page below is a trimmed live response. The collection page comes from a second store, deathwishcoffee.com.

Sample output for a Shopify collection page, built from a live request on Oct 22, 2026, trimmed to three of the cards on the first page.

Need a spreadsheet? Flatten variants with pd.json_normalize(...) in pandas, keep the product name on each row, and write CSV or Excel. Need the page for an LLM? Ask for Markdown instead of JSON.

{
  "product": {
    "name": "Men's Tree Runner",
    "price": 100,
    "currency": "USD",
    "url": "https://www.allbirds.com/products/mens-tree-runners",
    "description": "A breezier take on our original Wool Runner, with a lower profile than the Tree Runner NZ, this fan favorite is a versatile, do-it-all pick for wearing just about anywhere…",
    "care_instructions": "Machine Washable",
    "product_group_id": "MENS_TREE_RUNNERS",
    "gender": "mens",
    "edition": "classic",
    "material": "tree",
    "silhouette": "runner",
    "availability": null,
    "images": [
      "//www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=1280",
      "//www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_BACK_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=1280"
    ]
  },
  "variants": [
    {
      "available": true,
      "price": 100,
      "size": "8",
      "sku": "TR3MJBW080",
      "url": "/products/mens-tree-runners?variant=33179624669264",
      "variant_id": "33179624669264"
    }
  ],
  "colorways": [
    {
      "edition": "classic",
      "full_name": "Jet Black (Black Sole)",
      "handle": "mens-tree-runners-jet-black",
      "image": "//www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486",
      "name": "Jet Black"
    },
    {
      "edition": "limited",
      "full_name": "Blizzard/Hanami Night (Blizzard Sole)",
      "handle": "mens-tree-runners-blizzard-hanami-night",
      "image": "//www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486",
      "name": "Blizzard/Hanami Night"
    }
  ],
  "materials": [
    {
      "component": "Upper",
      "description": "Knit upper made from eucalyptus-derived TENCEL™ Lyocell (tree fiber) yarn and recycled polyester blend",
      "material_name": "Tree Knit"
    },
    {
      "component": "Midsole",
      "description": "SweetFoam® sugarcane-based EVA foam provides comfort and durability while being light on the planet",
      "material_name": "SweetFoam®"
    }
  ],
  "technical_specs": {
    "country_of_origin": "Vietnam",
    "heel_toe_drop": "9.0mm",
    "stack_height": "Heel: 19.6mm Toe: 10mm",
    "weight": "8.6oz (M9), 7.3oz (W7)"
  }
}

Connect the MCP server (Claude Code)

claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

MCP config (Cursor, Claude Desktop, Windsurf)

{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
    }
  }
}

Or run the CLI

npx -y @zenrows/cli init
zenrows extract "https://www.allbirds.com/products/mens-tree-runners" --proxy-country us

Then ask your agent

Use Zenrows to get every colorway of this product, then open each colorway
page and return a table with the color, price, SKU and which sizes are
available:
https://www.allbirds.com/products/mens-tree-runners

Scrape Shopify stores from your coding agent

Claude Code, Cursor, Codex and any MCP client can scrape a Shopify store from a prompt.

The agent sends the same Fetch and Extract request a developer would, so it reads the same product, variant and SKU fields shown above. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.

Scrape Shopify stores at scale with Batch and Crawl

Batch runs a list of product URLs as one job, in parallel, with your own ID on each result. Use it for a daily price and stock check across one or many Shopify stores: one task per product handle, with the handle or SKU as the external_id so each result joins back to your catalog.

Crawl finds the URLs for you. Start it on a collection page such as /collections/all, keep only the links that contain /products/, and it returns every product page it reaches. Send that list to Batch when you want to track the same products every day.

Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.

curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "regular",
    "status": "closed",
    "zenrows_params": { "mode": "auto", "extract": "auto", "proxy_country": "us" },
    "tasks": [
      { "url": "https://www.allbirds.com/products/mens-tree-runners", "external_id": "mens-tree-runners" },
      { "url": "https://www.allbirds.com/products/mens-tree-runners-navy-night", "external_id": "mens-tree-runners-navy-night" }
    ]
  }'

# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY"

What teams do with Shopify store data

Use caseData they pullWho runs it
Competitor price monitoring Price, sale price and currency per product and country, checked daily DTC brands and ecommerce pricing teams
Stock and variant tracking Each variant's SKU, size and availability, to see what sells out and when Merchandisers and market analysts
Assortment and launch watch New handles in a collection, limited editions, new colorways Product and buying teams
Product data for marketplaces and feeds Name, description, images, options and specs in one record Retailers, resellers and feed managers
Brand and MAP compliance Prices of your products on authorized retailers' Shopify stores Brand protection and channel teams
Market and category research Catalog size, price ranges and options across many stores in a niche Investors, agencies and analysts
AI shopping assistants and RAG The full product record, or the page as Markdown AI and data teams

Tips for scraping Shopify stores

  • Learn the URL shape once. Every Shopify store uses /products/<handle> and /collections/<handle>. A product reached through a collection, such as /collections/mens/products/<handle>, is the same page as /products/<handle>, so store the short form.
  • Page through collections with page=. Most themes link ?page=2, ?page=3 at the bottom of a collection, and the collection sample above keeps that link in pagination.next_page_url. Request each page until there is no next one.
  • Each variant has its own ID. Add ?variant= with the variant_id to the product URL to open that exact size or color. Key your price history on the SKU or variant ID, which stay stable when titles change.
  • Some stores split colors into products. Allbirds publishes each colorway as its own handle and lists them in colorways[]. Read that list from one page and request the siblings to cover the whole model.
  • Pin the country. Stores that use Shopify Markets change the currency, prices and sometimes the catalog by location. Send every request for a dataset from the same country, and keep currency next to each price.
  • Fix protocol-relative image URLs. Shopify CDN links often start with //. Prefix https: before you download or store them.
  • Find the domain behind a brand. Many stores run on their own domain, and the default <store>.myshopify.com address usually redirects to it. Send the URL shoppers see.

Frequently asked questions

  • Collecting public data from online stores, such as product names, prices, variants and stock shown to every visitor, is common practice for price monitoring and market research. Product reviews on some stores can include customer names, and personal data is protected by laws such as the GDPR and the CCPA, so collect only what you have a legitimate reason to use. Each store has its own terms of service, alongside Shopify's, so check them for your use case and ask your lawyer if you are unsure.

  • Yes, several, all aimed at the store owner and the apps they install. The Admin API reads and writes a store's products, orders and inventory, and the Storefront API powers custom storefronts. Both need an access token that the store owner creates or grants, so they cover your own store and the stores that install your app. Many stores also answer a public /products.json URL with basic catalog data, but stores can restrict it, it does not carry content the theme adds, such as specs or materials, and it is not an endpoint Shopify documents for this use. To read other brands' stores as shoppers see them, teams scrape the product and collection pages.

  • Product pages (/products/<handle>), single variants (?variant=ID), collection pages (/collections/<handle> and usually /collections/all) and search results on any store built on Shopify, on its own domain or on myshopify.com. Send the URL as it appears in your browser.

  • Yes. Start a Crawl on /collections/all or the store's main collections, keep the links that contain /products/, and send the list to Batch. Alternatively, page through a collection with page= and collect each card's URL from the response.

  • Yes, when the product page lists them. The product sample returns variants[] with the SKU, variant ID, option value, price and an available flag for each one. Request the page daily to see which sizes or colors sell out.

  • Yes. Set the country in the request and the store opens as a shopper there sees it. Stores that sell internationally through Shopify Markets show local currency and prices, and the scraper returns the currency code next to the price.

  • Send a GET request to https://api.zenrows.com/v1/ with your API key, the product URL, Adaptive Stealth Mode and Extract turned on, as in the Python example above. The response's parsed key holds the product and its variants as a Python dictionary. The zenrows package on PyPI wraps the same request.

  • Every store shares Shopify's model of products, variants and collections, but each theme shows different content, so the groups in parsed follow the page: one store returns colorways and materials, another returns options or a sale price. Read optional groups with a fallback in your code, and use the fields filter to keep only the paths you need.

  • Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask for the products or collections you want in plain language and the agent calls Fetch and Extract for you.

  • Yes. Create a scheduled Batch job with your Shopify stores URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.

  • Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. Send products to Google Sheets, Airtable or a database from the workflow tool you already use. See the integrations page for the full list.

  • JSON by default, with the structured record in parsed and the original page in html. You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.

Turn the live web into usable data.

Start building free 5,000 credits/month, always