ShopifyEcommerce

How to Pull Product Catalogs from Any Shopify Store

One endpoint, two input shapes — an entire store's catalog, or one product you're tracking over time.

Shopify runs a large share of the direct-to-consumer web — competitor research, sourcing decisions, and catalog benchmarking all eventually run into a Shopify storefront with no public API a third party can just call. The store's own product pages are public, but turning "here's a URL" into structured rows you can actually compare is the part that usually means writing and maintaining a scraper.

If you're an agent (or building one) reading this rather than a human, the full machine-readable schema for every endpoint below lives at mindcase.co/skills.md.

What makes a Shopify store's catalog worth pulling?

Say you're deciding whether to add a competing line to your own store — maybe a DTC skincare brand you keep losing customers to. Before you commit shelf space or ad spend to a similar product, you want real answers: what do they actually sell, what's it priced at, which variants are in stock, and which items sell in enough configurations to suggest real demand. Browsing the store by hand gets you a rough sense of the catalog. It doesn't get you a table you can sort, filter, or compare against your own lineup.

How do you pull product data from a Shopify store?

Shopify Products takes one input shape either way — a URL — and reads it differently depending on what kind of URL you give it.

How do you pull a store's entire catalog?

Point it at the store's root URL and it crawls every product on the site.

curl -X POST "https://api.mindcase.co/v1/data/shopify/products/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "params": {
    "urls": "https://competing-skincare-brand.com",
    "maxResults": 200
  }
}'

# $0.001 per product

Each row returns 21 fields: title, brand, category, description, tags, price range (priceFrom/priceTo), sale status, stock, variant count, the full variants and options arrays, images, and — where the store provides it — a recommendedProducts list showing what Shopify's own storefront pairs with each item. maxResults caps how many products come back; pass 0 to pull the whole catalog regardless of size.

The variants and options fields are where the catalog-comparison actually happens. A product's options array tells you what it's sold in — size, color, scent, whatever the merchant defined — and variants gives you a row per combination, each with its own price and stock state. Two products can look identical at the top level and differ completely once you look at variants: one comes in four sizes with all four in stock, the other comes in four sizes with three of them sold out. That difference doesn't show up until you read past the product's headline price into its actual variant data.

How do you track one specific product instead?

Point the same endpoint at a single product page URL instead of the store root, and it returns just that listing with the same 21 fields — useful once you've picked out the handful of SKUs you actually want to watch rather than re-pulling the whole store every time.

curl -X POST "https://api.mindcase.co/v1/data/shopify/products/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "params": {
    "urls": "https://competing-skincare-brand.com/products/vitamin-c-serum"
  }
}'

# $0.001 per product

The distinction matters for cost and cadence, not just convenience: a full catalog pull makes sense once, to see what's there. Tracking three specific SKUs for price or stock changes over the following weeks is cheaper and faster done one product at a time than re-crawling the whole store on a schedule.

What can't you get from Mindcase?

Two cases.

A store's sales history or velocity. Shopify's own storefront doesn't publish how many units of a product have sold, only what's currently listed and in stock. variantCount and inStock tell you what's available right now — they don't tell you what's actually moving.

Anything the store doesn't put on its public pages. Wholesale pricing, supplier cost, or inventory counts a merchant keeps off the storefront aren't there to extract — a public catalog pull only ever returns what the store itself chose to show a visitor.

Which endpoint should you use for which job?

EndpointInputPriceBest for
Shopify ProductsStore URL$0.001 / productPulling a whole catalog to research or benchmark
Shopify ProductsSingle product URL$0.001 / productTracking a known SKU's price or stock over time

How do you use catalog data responsibly?

Everything this endpoint returns is public — the same product pages any visitor to the store can see. What matters is what you do with it after: using a competitor's catalog to inform your own sourcing or pricing decisions is normal market research; reproducing their product descriptions, images, or copy wholesale on your own store is a separate legal question this post isn't qualified to answer, and worth a real conversation with your own counsel before you do it.

FAQ

Any Shopify-powered storefront URL — there's no fixed list. Point it at a competitor's store the same way you'd point it at your own.

Same endpoint, same 21 fields either way. A store URL crawls the whole catalog up to your maxResults cap. A single product URL returns just that one listing, which is cheaper and faster once you know which SKUs you actually want to track.

Live on every call. Nothing is cached — each pull reads the current state of the store or product page at the moment you ask.

No. This reads the store's public product pages directly — no login, no partner access, no API key from the merchant.

Give your AI agents better data

Paste this into your coding agent

$setup https://mindcase.co/skills.md
  • Claude Code
  • Codex
  • Cursor