# Shopify Store & Products Scraper — Public JSON (`fortunate_sourdough/shopify-products-store-finder`) Actor

Scrape any Shopify store's public catalog via /products.json: products, variants, prices, stock, images. Also discovers Shopify stores. No login, no proxies.

- **URL**: https://apify.com/fortunate\_sourdough/shopify-products-store-finder.md
- **Developed by:** [phi](https://apify.com/fortunate_sourdough) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Shopify Store & Products Scraper

Scrape **any Shopify store's public catalog** through the built-in `/products.json` endpoint — products, variants, prices, stock availability, images and vendors. No login, no API keys, no proxies. Perfect for store discovery, competitor monitoring, and lead generation.

### Why this actor

- 🔎 **Universal** — every Shopify store (millions of them) exposes `/products.json` publicly
- 💵 **Lead-gen ready** — product catalogs + prices + stock = sales intelligence on demand
- ⚡ **Plain JSON** — no HTML parsing, no headless browsers, results in seconds
- 🛡️ **Graceful** — bot-walled stores (403) and dead domains are skipped with warnings, never crash the run
- 💰 **Pay-per-product** — charged only for products returned

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `storeDomains` | array | `["allbirds.com"]` | One or more store domains (custom or `.myshopify.com`) |
| `maxProductsPerStore` | integer | `50` | Max products per store (1–1000) |

#### Example

```json
{
  "storeDomains": ["allbirds.com", "kith.com"],
  "maxProductsPerStore": 250
}
```

### Example output

```json
{
  "store": "allbirds.com",
  "productId": "7369944137808",
  "title": "Wool Runner",
  "handle": "wool-runner",
  "productType": "Footwear",
  "vendor": "Allbirds",
  "priceMin": 98,
  "priceMax": 98,
  "available": true,
  "variantsCount": 12,
  "imageUrl": "https://cdn.shopify.com/...",
  "url": "https://allbirds.com/products/wool-runner"
}
```

### Use cases

- **Store discovery** — test a list of domains, keep the ones that answer (they're Shopify)
- **Competitor price tracking** — schedule runs, diff prices and stock
- **Dropshipping / affiliate research** — catalog depth, price ranges, vendors
- **Agency prospecting** — find stores in a niche, see what they sell before outreach

### Notes

- A small number of brands put their storefront behind bot protection (HTTP 403); the actor logs and skips them.
- Pagination follows Shopify's `limit`/`page` convention up to 1,000 products per store.
- Prices are returned as numbers in the store's display currency (see `priceMin`/`priceMax`).

# Actor input Schema

## `storeDomains` (type: `array`):

Shopify store domains, e.g. \["allbirds.com", "myshop.myshopify.com"].

## `maxProductsPerStore` (type: `integer`):

Page through the catalog up to this many products (1-1000).

## Actor input object example

```json
{
  "storeDomains": [
    "allbirds.com"
  ],
  "maxProductsPerStore": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "storeDomains": [
        "allbirds.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fortunate_sourdough/shopify-products-store-finder").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "storeDomains": ["allbirds.com"] }

# Run the Actor and wait for it to finish
run = client.actor("fortunate_sourdough/shopify-products-store-finder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "storeDomains": [
    "allbirds.com"
  ]
}' |
apify call fortunate_sourdough/shopify-products-store-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fortunate_sourdough/shopify-products-store-finder"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/c8YD8njwH6dRriaSm/builds/td8McU207JbEBIumR/openapi.json
