# Shopify Products Exporter (`technicaldost/shopify-products-exporter`) Actor

Export the full product catalog of any Shopify store to structured JSON or CSV. Get titles, variants, prices, SKUs, images and inventory in bulk. No app install required.

- **URL**: https://apify.com/technicaldost/shopify-products-exporter.md
- **Developed by:** [Technical Dost Solutions](https://apify.com/technicaldost) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Export full Shopify product catalog without API key using public `/products.json` endpoint.

### Features

- 🛒 **No API Key Required** - Uses public Shopify endpoints
- 📦 **Full Product Data** - Includes variants, images, tags, and metadata
- 🔄 **Retry Logic** - Handles rate limits with exponential backoff
- 📊 **MCP Compatible** - Structured output with standard schema
- 💰 **Pay-Per-Event Ready** - Charges per product exported

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `shopDomain` | string | ✅ | - | Shopify store domain (e.g., `brand.com` or `store.myshopify.com`) |
| `maxPages` | integer | ❌ | 20 | Maximum pages to fetch (250 products per page) |
| `includeVariants` | boolean | ❌ | true | Include product variants in output |
| `proxyConfiguration` | object | ❌ | - | Proxy settings for avoiding rate limits |
| `testPayPerEvent` | boolean | ❌ | false | Test mode for pay-per-event |

### Output

Each dataset item follows the MCP-friendly structure:

```json
{
  "actorId": "shopify-products-exporter",
  "input": { "shopDomain": "example.com" },
  "collectedAt": "2025-01-01T00:00:00.000Z",
  "source": "https://example.com/products/product-handle",
  "data": {
    "product": {
      "id": 123456789,
      "title": "Product Name",
      "handle": "product-handle",
      "vendor": "Brand",
      "productType": "Category",
      "tags": ["tag1", "tag2"],
      "variants": [...],
      "images": [...]
    }
  }
}
```

#### SUMMARY (Key-Value Store)

```json
{
  "actorId": "shopify-products-exporter",
  "runId": "abc123",
  "stats": {
    "itemsCollected": 150,
    "pagesProcessed": 1,
    "errorsEncountered": 0
  },
  "warnings": [],
  "sampleOutputItem": {...}
}
```

### Usage

#### Local Run (Apify CLI)

```bash
apify run --input-file dev-inputs/example.json
```

#### Cloud Run (Apify CLI)

```bash
apify call technicaldost/shopify-products-exporter --input-file dev-inputs/example.json
```

#### API Call

```bash
curl -X POST "https://api.apify.com/v2/acts/technicaldost~shopify-products-exporter/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shopDomain": "kyliecosmetics.com", "maxPages": 5}'
```

### Limitations

- Only works with Shopify stores that have the `/products.json` endpoint enabled (most public stores do)
- Rate limits may apply for stores with aggressive bot protection
- Some product fields may be unavailable depending on store configuration

### Disclaimer

This actor accesses publicly available data from Shopify storefronts. Users are responsible for ensuring their use complies with the target store's terms of service and applicable laws.

### Changelog

#### 1.0.0 (2025-01-27)

- Initial release
- Full product export with variants and images
- MCP-compatible output structure
- Pay-per-event readiness

### How to use Shopify Products Exporter

1. Open [Shopify Products Exporter](https://apify.com/technicaldost/shopify-products-exporter) on Apify Store and click **Try for free**.
2. Fill in the input (the form is prefilled with a working example) and click **Start**.
3. Watch results appear in the **Output** tab, then download them as JSON, CSV, Excel or HTML, or read them through the API.
4. Optional: save the input as a task and add a **schedule** to run it automatically, or connect it to your tools with integrations and webhooks.

### How much does Shopify Products Exporter cost?

This Actor uses **pay-per-event** pricing: you pay only for what it delivers, and platform usage is included.

| Event | Price |
|---|---|
| Product | $0.002 each ($2.00 per 1,000) |

Set **Maximum cost per run** in the run options to cap your spend; the Actor stops when the limit is reached. Check the **Pricing** tab for current prices and plan discounts.

### Use Shopify Products Exporter with AI agents (MCP)

Give Claude, ChatGPT, Cursor, VS Code or any MCP client this Actor as a tool through the hosted [Apify MCP server](https://mcp.apify.com). The agent sees the input fields with descriptions and example values, runs the Actor, and reads the results.

**MCP server URL (this Actor only):**

```
https://mcp.apify.com/?tools=technicaldost/shopify-products-exporter
```

**Claude Code:**

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=technicaldost/shopify-products-exporter" --header "Authorization: Bearer YOUR_APIFY_TOKEN"
```

**Cursor, VS Code, Claude Desktop and other clients** (`mcp.json` or the client's MCP settings):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=technicaldost/shopify-products-exporter",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

Clients that support sign-in (such as Claude.ai connectors) can use the URL without a token and log in to Apify instead. Get your token in [Apify Console → Settings → API & Integrations](https://console.apify.com/settings/integrations), or generate a ready config for your client at [mcp.apify.com](https://mcp.apify.com). In the agent the tool is named `technicaldost--shopify-products-exporter`; ask it, for example, to *"run Shopify Products Exporter with {"shopDomain": "kyliecosmetics.com"}"*.

AI agents without an Apify account can also run and pay for this Actor per request with [x402 agentic payments](https://docs.apify.com/platform/integrations/x402).

### Run Shopify Products Exporter via API

Run the Actor and get its results in one call (replace `YOUR_APIFY_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/technicaldost~shopify-products-exporter/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shopDomain": "kyliecosmetics.com"}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("technicaldost/shopify-products-exporter").call(run_input={"shopDomain": "kyliecosmetics.com"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript / TypeScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('technicaldost/shopify-products-exporter').call({"shopDomain": "kyliecosmetics.com"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Long runs: start them with `POST /v2/acts/technicaldost~shopify-products-exporter/runs` and fetch the dataset when the run finishes, or receive a webhook.

### Integrations

Shopify Products Exporter works with [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier), [n8n](https://docs.apify.com/platform/integrations/n8n), [LangChain](https://docs.apify.com/platform/integrations/langchain), Google Sheets, Slack, GitHub and [webhooks](https://docs.apify.com/platform/integrations/webhooks). Schedule runs in Apify Console and send new results straight to your apps, spreadsheets or AI pipelines.

### Related Actors

- [Shopify Price Monitor](https://apify.com/technicaldost/shopify-price-delta-monitor) — Monitor price changes for any Shopify product

### FAQ

#### Can I use Shopify Products Exporter with AI agents like Claude or ChatGPT?

Yes. Connect the Apify MCP server with `?tools=technicaldost/shopify-products-exporter` (see above) and the agent can run the Actor and read its results on its own.

#### Can I call Shopify Products Exporter from my own code?

Yes. Use the REST API, or the official Python and JavaScript clients shown above. Results are available as JSON, CSV, Excel, XML or HTML.

#### How do I run it on a schedule?

Save your input as a task in Apify Console and add a schedule (for example, daily). Use webhooks or integrations to send each run's results onward.

#### Is it legal to use this Actor?

It works with publicly available data. Make sure your use complies with the source website's terms and with data protection laws such as GDPR, especially for personal data.

#### Something doesn't work or I need a feature. What should I do?

Open an issue in the **Issues** tab on this Actor's page with an example input, and we'll look into it.

# Changelog

This Actor's version history is a separate document: https://apify.com/technicaldost/shopify-products-exporter/changelog.md

# Actor input Schema

## `shopDomain` (type: `string`):

The Shopify store domain (e.g., 'store.myshopify.com' or 'brand.com'). Will be normalized automatically.

## `maxPages` (type: `integer`):

Maximum number of product pages to fetch. Each page contains up to 250 products.

## `includeVariants` (type: `boolean`):

Whether to include product variants in the output

## `proxyConfiguration` (type: `object`):

Proxy settings for avoiding rate limits

## `testPayPerEvent` (type: `boolean`):

Enable dry run for pay-per-event testing (does not actually charge)

## Actor input object example

```json
{
  "shopDomain": "kyliecosmetics.com",
  "maxPages": 20,
  "includeVariants": true,
  "testPayPerEvent": false
}
```

# 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 = {
    "shopDomain": "kyliecosmetics.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("technicaldost/shopify-products-exporter").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 = { "shopDomain": "kyliecosmetics.com" }

# Run the Actor and wait for it to finish
run = client.actor("technicaldost/shopify-products-exporter").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 '{
  "shopDomain": "kyliecosmetics.com"
}' |
apify call technicaldost/shopify-products-exporter --silent --output-dataset

```

## MCP server setup

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

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/Xrkaf3Mjq5tDvhVgD/builds/Cu5Ptm8ytNBSn9dRz/openapi.json
