Shopify Store Scraper – Products, Variants, Prices & Stock
Pricing
from $0.80 / 1,000 product scrapeds
Shopify Store Scraper – Products, Variants, Prices & Stock
Scrape any Shopify store via its public JSON endpoints: all products or chosen collections, variants with SKU, barcode, price, compare-at price, availability and inventory, images, tags and clean descriptions. Dedupe across collections, 24 h cache, regex filters, store contact & apps add-on.
Pricing
from $0.80 / 1,000 product scrapeds
Rating
0.0
(0)
Developer
Budoucnost AI
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Shopify Store Scraper – products, variants, prices, stock and store info
Extract the complete catalogue of any Shopify store – no API key, no login, no browser. The actor reads the
public JSON endpoints every Shopify storefront exposes (/products.json, /collections/<handle>/products.json,
/products/<handle>.json), so it is fast, cheap and does not break when a theme changes. You get every product
with all variants (SKU, barcode, option values, price, compare-at price, availability, inventory where exposed),
images, tags, vendor, product type, timestamps and a clean-text description. An optional store info add-on
returns the shop's currency, country, theme, contact e-mails and phones, social links and the apps it runs
(Klaviyo, Judge.me, Yotpo, Recharge, Gorgias, …) – handy for lead generation and competitor research.
What you can do with it
- Price monitoring and competitor tracking – run daily on a list of competitor stores, compare
priceMin,compareAtPriceMin,onSale,discountPercentandavailableover time. - Catalogue export – build a feed for a marketplace, a price comparison engine, a RAG/AI assistant or a
product database;
expandVariantsgives one row per SKU, ready for spreadsheets. - Stock and new-arrival alerts –
onlyAvailable,createdAt/publishedAtandtotalInventory(single product endpoint) show what is new, what sold out and how deep the stock is. - Lead generation –
includeStoreInforeturns contact e-mails, phones, social profiles and the installed apps of each store, plus the number of collections and products, so you can qualify Shopify merchants in bulk. - Dropshipping and sourcing research – scan vendors, product types and tags across hundreds of stores.
Input
| Field | Description |
|---|---|
storeUrls | One or more Shopify stores: a domain (deathwishcoffee.com), a homepage URL, a collection URL (…/collections/sale, scrapes only that collection) or a product URL (…/products/<handle>, scrapes only that product). Any store on Shopify works, including custom domains and headless (Hydrogen) storefronts that keep the JSON endpoints. A URL that is not a Shopify store returns one free row with notShopify: true. |
collections | Collection handles to scrape in every store (e.g. sale, new-arrivals). Empty = whole catalogue. A product in several collections is returned once, with all of them in foundInCollections. |
productHandles | Specific product handles to fetch in every store. |
maxItems / maxItemsPerStore | Limits on unique products (total and per store). Default 100 total, no per-store limit. |
expandVariants | One dataset row per variant with the product fields repeated and the variant in variant. Still charged once per product. |
onlyAvailable | Skip products with no variant in stock (not charged). |
includeStoreInfo | Store info add-on (one row per store, type: "store"), charged as the store-info event. |
source | auto (default): /products.json listing, 250 products per request, with automatic fallback to the sitemap when Shopify keeps throttling. sitemap: product handles from the store sitemap, each product fetched via /products/<handle>.json – slower but returns inventoryQuantity and barcode per variant. |
includeDescriptionHtml | Also keep the original body_html next to descriptionText. |
excludeIds | Product IDs or handles you already have – skipped before storing, never charged. |
includeRegex / excludeRegex | Case-insensitive regular expressions tested against title, handle, vendor, product type, tags, variant titles/SKUs/prices/availability and the first 2000 characters of the description. Only matching (or non-matching) products are stored and charged. Examples: `hoodie |
cacheHours | Product pages are cached in a named key-value store shopify-store-cache in your account and reused by later runs for this many hours (default 24, 0 = off). Repeated runs of the same stores are faster and gentler on the store. |
maxConcurrency / requestDelayMs | Politeness controls (default 4 parallel requests, ~500 ms random delay). Shopify throttles /products.json per IP; the actor rotates proxy sessions on HTTP 429/403 automatically. |
proxyConfiguration | Apify RESIDENTIAL proxy by default. Shopify throttles storefront JSON per IP across all stores and the shared datacenter pool is often exhausted by other scrapers (that is why many Shopify actors fail with "load products failed"). The JSON is tiny, so residential traffic costs well under $0.01 per 1 000 products. You may switch to datacenter for small stores. |
Example input
{"storeUrls": [{ "url": "https://www.deathwishcoffee.com" }, { "url": "https://www.allbirds.com/collections/mens" }],"collections": ["sale"],"expandVariants": false,"onlyAvailable": true,"includeStoreInfo": true,"excludeRegex": "gift card","maxItems": 500,"cacheHours": 24}
Output
One item per unique product (or per variant with expandVariants):
{"store": "https://www.deathwishcoffee.com","storeDomain": "deathwishcoffee.com","id": 7173098373175,"handle": "peppermint-mocha-coffee","url": "https://www.deathwishcoffee.com/products/peppermint-mocha-coffee","title": "Peppermint Mocha Coffee","vendor": "Death Wish Coffee","productType": "Coffee","tags": ["Bagged", "LTO Coffee", "Peppermint Mocha"],"createdAt": "2024-09-19T15:41:22-04:00","updatedAt": "2026-11-10T16:50:07-05:00","publishedAt": "2026-11-04T09:26:35-05:00","currency": "USD","priceMin": 13.99,"priceMax": 69.95,"compareAtPriceMin": null,"compareAtPriceMax": null,"onSale": false,"discountPercent": null,"available": true,"totalInventory": null,"variantCount": 3,"optionNames": ["Size"],"variants": [{ "id": 41276131115063, "title": "1 bag", "sku": "LGPEPM09", "barcode": null, "options": { "Size": "1 bag" }, "price": 13.99, "compareAtPrice": null, "available": true, "inventoryQuantity": null, "grams": 283, "requiresShipping": true, "taxable": true, "imageUrl": null, "position": 2, "url": "https://www.deathwishcoffee.com/products/peppermint-mocha-coffee?variant=41276131115063" }],"images": ["https://cdn.shopify.com/s/files/1/0271/7209/files/Peppermint_Mocha_9oz_Ground_Angle_Cathedral_DTC_A1_FT.jpg?v=1764780253"],"imageCount": 3,"descriptionText": "Mint to be your holiday escape.\nDon't let overbearing in-laws hack away at your holiday cheer. …","foundInCollections": ["all-coffee"],"scrapedAt": "2026-11-10T21:00:00.000Z"}
Field notes:
priceMin/priceMaxare across variants;compareAtPrice*are the "was" prices,onSaleis true when any variant is discounted anddiscountPercentis the best discount.available= at least one variant can be bought. The listing endpoint exposesavailableper variant; the single product endpoint (productHandlesor a product URL) exposesinventoryQuantityandbarcodeas well, sototalInventoryis filled only there.descriptionTextisbody_htmlconverted to plain text with line breaks and decoded entities.foundInCollectionslists every requested collection the product appeared in; products are deduplicated across collections and charged once.- Store info rows (
type: "store") containname,currency,country,locale,theme,themeSchema,emails,phones,socialLinks,apps,hasCheckout,collectionCount,productCount,shopIdandmyshopifyDomain. - Failed requests and non-Shopify URLs produce rows with an
errorfield and are never charged.
Pricing (pay per event)
| Event | Price | When |
|---|---|---|
product-scraped | $0.0008 | Each unique product stored (one charge even when expandVariants emits several rows). |
store-info | $0.003 | Each store info row (includeStoreInfo). |
| Actor start | $0.00005 | Once per run. |
A 1 000-product catalogue costs $0.80; 100 stores × 500 products with store info ≈ $40.30. Duplicates,
filtered-out products, cache hits, throttled requests and errors are free. Compare with other Shopify scrapers
on Apify Store that charge $0.001–$0.006 per product and often fail with "load products failed" on larger
catalogues – this actor paginates with since_id (no 1 000-page cap), rotates sessions on throttling and
stops early instead of charging you for an empty run.
Why this scraper
- JSON endpoints, not HTML – immune to theme changes, 250 products per request, no browser.
- Robust pagination –
page=for the first page, thensince_id, so stores with 100 000+ products work. - Dedupe across collections with
foundInCollectionsand a single charge per product. - Saves you requests and money –
excludeIds,includeRegex/excludeRegex,onlyAvailablefilter before storing; the 24 h cache serves repeated runs from your own key-value store. - Honest failure handling – 15 throttled responses in a row stop the run; non-Shopify URLs are reported, not silently skipped; every error row says what happened.
- Clean, typed output with dataset views for products, variants and stores, usable directly from the API, integrations (Google Sheets, Make, Zapier, n8n) or an AI agent via MCP.
Usage from the API
curl -X POST "https://api.apify.com/v2/acts/budoucnost-ai~shopify-store-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-H "Content-Type: application/json" \-d '{"storeUrls":[{"url":"https://www.deathwishcoffee.com"}],"maxItems":50}'
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('budoucnost-ai/shopify-store-scraper').call({storeUrls: [{ url: 'https://www.allbirds.com' }],collections: ['sale'],expandVariants: true,maxItems: 1000,});const { items } = await client.dataset(run.defaultDatasetId).listItems();
from apify_client import ApifyClientclient = ApifyClient("<YOUR_TOKEN>")run = client.actor("budoucnost-ai/shopify-store-scraper").call(run_input={"storeUrls": [{"url": "https://www.deathwishcoffee.com"}],"includeStoreInfo": True,"maxItems": 200,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item.get("title"), item.get("priceMin"), item.get("available"))
Tips
- To find whether a domain runs on Shopify, run it with
maxItems: 1andincludeStoreInfo: true– you get the store row (ornotShopify: true) for the price of one product. - For daily price monitoring schedule the actor with the same
storeUrls, keepcacheHours: 0(you want fresh prices) and compare datasets with the Apify "dataset diff" integration or your own script keyed byid. - Very large stores: raise
maxItems, keepmaxConcurrency≤ 5 and the default delay. Shopify throttles/products.jsonper IP after bursts; the actor rotates proxy sessions on 429 automatically. - Proxies. Shopify applies a platform-wide per-IP rate limit to the storefront JSON endpoints and product
pages, and the shared Apify datacenter pool is used by many Shopify scrapers, so popular stores (big DTC brands
such as deathwishcoffee.com or allbirds.com) often answer HTTP 429 for every datacenter IP. That is the usual
reason other Shopify actors fail with "load products failed". This actor therefore uses the Apify
RESIDENTIALproxy group by default: the JSON is tiny (~100 KB per 250 products), so it adds well under $0.01 per 1 000 products. If a store still throttles, the actor backs off, alternates/products.jsonwith/collections/all/products.json, falls back to the sitemap + product pages and, if everything is throttled, writes one free row withblocked: truefor that store instead of failing the run. Small stores also work over datacenter proxy if you prefer to switch.
Shared cache
Pages fetched by any user of this actor are kept in a cache the actor maintains (named key-value stores on the budoucnost-ai account, rotated weekly, so nothing lives longer than 14 days). Your run first looks into your own cache, then into the shared one, and only then asks the store. A shared hit costs no request to Shopify, so popular stores no longer run into the per-IP rate limit, and runs finish faster.
- Freshness is governed by your
cacheHours(default 24): a shared record older than that is ignored. Prices and stock in a cached page may therefore be up tocacheHoursold. - Set
useSharedCache: falseto read only your own cache, orcacheHours: 0to bypass both caches and fetch everything fresh (price monitoring). - Only the raw public storefront pages are cached (
products.json, product.json, collections, store homepage info) – nothing from your input or account. - You are charged the same per product whether it came from the cache or from the store.
Limitations
- Only data Shopify publishes on the storefront JSON endpoints: no cost prices, sales figures, orders or customer data. Inventory quantities and barcodes appear only where the store exposes them (single product endpoint).
- Prices are in the store's default currency; localized storefronts (
/en-de/…) show the default market's prices. - Password-protected and unpublished stores cannot be scraped.
Legal
This actor only reads publicly available product data that the store itself publishes as JSON. You are responsible for complying with the store's terms of service and applicable law (including GDPR for contact data returned by the store info add-on). Use reasonable request rates.
Support
Open an issue in the Issues tab of this actor. Include the store URL and run ID.