Shopify Products, Inventory & Barcodes Scraper avatar

Shopify Products, Inventory & Barcodes Scraper

Pricing

from $1.12 / 1,000 dataset items

Go to Apify Store
Shopify Products, Inventory & Barcodes Scraper

Shopify Products, Inventory & Barcodes Scraper

Scrape any public Shopify store for products, exact variant inventory counts, barcodes/GTINs, SKUs, prices, compare-at discounts, images, options, selling plans, and store metadata. Supports full store domains, collection URLs, and product filters with zero API keys.

Pricing

from $1.12 / 1,000 dataset items

Rating

0.0

(0)

Developer

Hoan Le

Hoan Le

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Extract complete product catalogues, exact variant inventory quantities, barcodes / GTINs / UPCs, SKUs, pricing, compare-at discounts, subscription selling plans, and store intelligence metadata from any public Shopify store - with zero API keys and zero proxies required for standard stores.


Key Features

  • Full Store, Collection, or Single Product Scraping:
    • Pass bare domains (deathwishcoffee.com), full store URLs (https://colourpop.com), collection URLs (https://www.deathwishcoffee.com/collections/coffee), or individual product URLs (https://www.deathwishcoffee.com/products/death-wish-coffee).
  • Exact Variant Inventory & Barcode/GTIN Enrichment (.js Deep Details):
    • Automatically queries Shopify's storefront .js endpoint per product to enrich every variant with inventoryQuantity (when exposed by the store), barcode (UPC/EAN/GTIN), inventoryManagement, inventoryPolicy (deny vs continue backorder), quantityRule, and subscription sellingPlanGroups.
  • Store Intelligence Metadata:
    • Enriches every row with store-level metadata from /meta.json and /cart.js: storeName, myshopifyDomain, currency, storeCountry, publishedProductsCount, and offersShopPayInstallments.
  • Smart Pre-Save Filtering (Only Pay for Matching Products):
    • Filter by inStockOnly, onSaleOnly (discounted products), vendorFilter, productTypeFilter, or searchKeyword (matches title, description, tags, SKU, or barcode) before writing to the dataset.

Input Parameters

ParameterTypeDefaultDescription
domainsstring[]["https://www.deathwishcoffee.com"]One or more Shopify store domains, collection URLs, or product URLs.
maxProductsinteger50Maximum products to return per domain/URL (0 = unlimited full catalogue).
includeInventoryDetailsbooleantrueFetch /products/{handle}.js for exact variant inventory counts, barcodes, and selling plans.
inStockOnlybooleanfalseOnly output products with at least one in-stock variant.
onSaleOnlybooleanfalseOnly output discounted products (compareAtPrice > price).
searchKeywordstring""Filter products by keyword across title, description, tags, SKUs, and barcodes.
vendorFilterstring""Filter products by vendor / brand name.
productTypeFilterstring""Filter products by Shopify product_type.

Output Example

{
"productId": 7284910293143,
"title": "Death Wish Stir Stick Set",
"handle": "death-wish-stir-stick-set",
"url": "https://www.deathwishcoffee.com/products/death-wish-stir-stick-set",
"storeDomain": "deathwishcoffee.com",
"storeName": "Death Wish Coffee",
"myshopifyDomain": "deathwishcoffee.myshopify.com",
"storeCountry": "US",
"collectionHandle": null,
"vendor": "Death Wish Coffee",
"productType": "Merchandise",
"currency": "USD",
"priceMin": 8,
"priceMax": 8,
"compareAtPriceMin": null,
"compareAtPriceMax": null,
"discountPercentage": 0,
"onSale": false,
"available": true,
"inventoryCount": 100,
"variantCount": 1,
"availableVariantsCount": 1,
"skus": ["USTIRDW26"],
"barcodes": [],
"hasSubscription": false,
"featuredImage": "https://cdn.shopify.com/s/files/...",
"tags": ["merch", "accessories"],
"variants": [
{
"id": 42351252209719,
"title": "Default Title",
"sku": "USTIRDW26",
"barcode": null,
"available": true,
"price": 8,
"compareAtPrice": null,
"inventoryQuantity": 100,
"inventoryManagement": "shopify",
"inventoryPolicy": "deny",
"requiresShipping": true
}
]
}

Common Use Cases

  1. Competitor Price & Stock Monitoring: Track competitor pricing, markdown discounts (discountPercentage), and real-time stock levels (inventoryCount).
  2. Amazon / Google Shopping / Dropshipping Sourcing: Extract barcodes (UPC/EAN/GTIN) and skus alongside variant prices to match products across marketplaces.
  3. Ecommerce Lead Generation: Combine product catalogue size (publishedProductsCount), myshopifyDomain, and currency for B2B SaaS or agency outreach.

How Much Does It Cost to Scrape Shopify Stores?

This Actor uses transparent Pay-Per-Event (PPE) pricing - you only pay for actual dataset records returned, with zero Actor start fees and ultra-lightweight 256 MB HTTP execution (< $0.0001 platform compute per run).

  • Try for Free ($5.00 Monthly Credit Included): Every Apify Free plan includes $5.00 in monthly usage credits, letting you extract approximately 3,125 records every month completely free.
  • Automatic Store Tier Discounts (Up to 30% Off):
    • Free Tier: $1.60 per 1,000 records ($0.0016 / record)
    • Bronze Tier: $1.44 per 1,000 records
    • Silver Tier: $1.28 per 1,000 records
    • Gold / Platinum / Diamond Tiers: $1.12 per 1,000 records

AI Agents (MCP), Automation & API Quickstart

  • Apify MCP Server (Claude, Cursor, Windsurf, OpenAI Agents): Connect https://mcp.apify.com and reference hoanle0126/shopify-store-product-scraper - full input and output schemas are exposed automatically for autonomous tool calling.
  • No-Code Workflows: Plug directly into n8n, Make, Clay, Zapier, Google Sheets, or webhooks for scheduled pipelines.

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('hoanle0126/shopify-store-product-scraper').call({
"domains": [
"https://www.deathwishcoffee.com"
],
"maxProducts": 15,
"includeInventoryDetails": true,
"inStockOnly": false,
"onSaleOnly": false
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

cURL REST API

curl -X POST "https://api.apify.com/v2/acts/hoanle0126~shopify-store-product-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains":["https://www.deathwishcoffee.com"],"maxProducts":15,"includeInventoryDetails":true,"inStockOnly":false,"onSaleOnly":false}'

Frequently Asked Questions (FAQ)

Does this Shopify scraper require store API keys or admin credentials?

No. It extracts publicly accessible storefront catalogue and variant endpoints (products.json, .js, meta.json, and cart.js) without any Shopify Admin token.

Can it extract exact inventory counts and barcodes (UPC/GTIN)?

Yes. When includeInventoryDetails is enabled (default), each matching product is enriched via its storefront .js payload to capture barcode, sku, inventoryPolicy, sellingPlanGroups, and inventoryQuantity whenever exposed by the merchant theme.

Do I need residential proxies to scrape Shopify stores?

Standard public Shopify storefronts work directly over fast cloud HTTP at 256 MB RAM with zero proxy overhead.

Can I filter for discounted or in-stock items before paying for dataset rows?

Yes. Pre-save filters (inStockOnly, onSaleOnly, vendorFilter, productTypeFilter, searchKeyword) run before items are written to the dataset so you only pay for matching products.