# Shopify Product Scraper - Prices & Variants (`pellucid_bird/shopify-catalog-lens`) Actor

Your go-to Shopify scraper for catalog and price research. Export prices, variants, SKUs, availability and image URLs as JSON or CSV. Compare storefront assortments with one product per row and a clear collection report.

- **URL**: https://apify.com/pellucid_bird/shopify-catalog-lens.md
- **Developed by:** [O M](https://apify.com/pellucid_bird) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 93.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.44 / 1,000 product returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### Shopify Product Scraper — Shopify Catalog Lens

Export public Shopify catalogs for product research, price comparisons and assortment analysis. **Shopify Catalog Lens returns one record per product**, with variants, prices, SKUs, availability and image URLs, plus a separate report showing how much of each store was collected.

- **Compare assortments:** collect products from up to ten storefronts in one run and group them by vendor, type or tags.
- **Review prices and variants:** inspect the returned price range, options and source availability without flattening away the product structure.
- **Build repeatable exports:** download JSON, CSV or Excel, or retrieve the dataset through the Apify API. Compare snapshots in your own workflow when tracking changes over time.

### Example result

Real example collected on November 6, 2026; current values and availability may differ.

```json
{
  "title": "Women's Wool Cruiser - Port (Port Sole)",
  "price": 120,
  "currency": "USD",
  "variant_count": 13,
  "available_variants": 3,
  "product_url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole"
}
```

### Quick start

1. Paste the input below into Apify Console and select **Start**.
2. Open the dataset to preview and export the returned records.
3. Check the Run report when a source fails or the collection stops early.

```json
{
  "storeUrls": ["https://www.allbirds.com"],
  "maxProducts": 5,
  "maxEstimatedCostUsd": 0.1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

This small sample uses Apify residential proxy access. Open the dataset to export products and their returned variants as JSON, CSV or Excel.

### Pricing

**Apify resources used during the run are included. The startup fee is $0.015; paid Apify plans receive 10% off each saved-product event.**

| Apify plan | Price per saved product | Full run price                      |
| ---------- | ----------------------- | ----------------------------------- |
| Free       | $0.00049                | $0.015 + $0.00049 × saved products  |
| Paid       | $0.000441               | $0.015 + $0.000441 × saved products |

For **50 saved products**, the total is **$0.0395 on Free** or **$0.03705 on paid plans**. For **100 products**, it is **$0.064** or **$0.0591** respectively. A started run with no results costs the **$0.015 startup fee** on every plan. The discount applies to saved products; it does not reduce startup. Check the active **Pricing** tab and set your run spending limit before starting.

Compute, transfer, storage operations and supported Apify proxy use during the run are included. A custom proxy provider can charge separately if you supply your own proxy URLs. Your Apify subscription, taxes and storage access after the run are outside this run price. [Billing details](#billing-details) follow below.

### Before you start

- The store must expose a public Shopify catalog. Password protection, headless storefronts or access blocks can prevent collection.
- Availability is the source’s purchase status. Private inventory levels and sales estimates are not collected.
- Returned variants may be incomplete on high-variant products. Check the Run report before treating a sample as a complete catalog.

### Detailed reference

Field definitions, optional modes, source behavior, billing details and developer settings follow.

#### More input examples and setup

1. Add a public Shopify storefront URL and start with a small product limit.
2. Review the proxy settings and spending limit. The prefilled example uses Apify residential traffic included in the run price.
3. Run the Actor, then open the product dataset and `OUTPUT` report. Export your chosen view or fetch the data through the API.

Provide storefront URLs as strings and a product limit shared across the entire run:

```json
{
  "storeUrls": ["https://www.allbirds.com"],
  "maxProducts": 50,
  "maxEstimatedCostUsd": 0.1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  },
  "maxPagesPerStore": 30,
  "requestTimeoutSecs": 20,
  "maxRetries": 1,
  "allowResidentialFallback": false
}
```

The Console prefill uses this explicit 50-product US residential sample with one retry per request. Apify residential traffic during the run is included in the event price. When fields are omitted from API input, the generic defaults in the table below still apply.

Apify Proxy requires appropriate credentials and access. For local runs without Apify credentials, set `useApifyProxy` to `false`; the source package’s `examples/INPUT.json` already does this. Examples use public storefronts whose availability can change.

Read the product dataset together with the key-value store's `OUTPUT` record. Reaching a limit is useful for sampling, but it does not establish that the whole catalog was collected.

#### Product data

The default dataset stores one product per item, with its variants nested in `variants`. The **Product overview** view presents catalog-level fields. **Variant details** expands the nested variants for inspection without creating extra dataset items.

Selected fields from a real Allbirds product collected on November 6, 2026; this is an example, not a current price or stock quote:

```json
{
  "store": "www.allbirds.com",
  "product_id": 7292464824400,
  "title": "Women's Wool Cruiser - Port (Port Sole)",
  "price": 120,
  "price_min": 120,
  "price_max": 120,
  "currency": "USD",
  "variant_count": 13,
  "available_variants": 3
}
```

| Fields                                                  | Interpretation                                                                                                                                     |
| ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `store`, `product_id`, `product_url`, `handle`, `title` | Store hostname, source identifier, public URL, handle, and product name. IDs can be numbers or decimal strings to preserve precision.              |
| `description`, `vendor`, `type`, `tags`                 | Plain-text description, vendor, product classification, and tags. A missing description is an empty string; missing vendor/type values are `null`. |
| `price`, `compare_at_price`, `discount_pct`             | First variant's price and, when a discount is established, its comparison price and rounded discount percentage.                                   |
| `price_min`, `price_max`, `currency`                    | Range across valid returned variant prices and a supported ISO currency code. Unknown currency is `null`.                                          |
| `variant_count`, `available_variants`, `variants`       | Returned variant count, count explicitly available to purchase, and the variant records.                                                           |
| `images`, `featured_image`                              | Published image URLs and the source main image (falling back to the first image), or `null`.                                                       |
| `published_at`, `created_at`, `scraped_at`              | Source timestamps when available, and the timestamp of collection.                                                                                 |

Each variant contains `id`, `title`, `option1`, `option2`, `option3`, `price`, `compare_at_price`, `sku`, `available`, `inventory_quantity`, and `barcode`. The variant comparison price is the source value for that specific variant, or `null` when missing or invalid; it is not copied from another variant and does not alone imply a discount.

Prices are expressed in currency units, such as `29.95`, rather than integer cents. `price` is the first variant's value, so it may differ from `price_min`. Unknown prices, optional variant attributes, and unavailable inventory quantities are `null`. A known zero remains zero.

`available` means the source says the variant can be purchased. It can be `true`, `false`, or `null` when unknown. It does not prove that a warehouse has positive stock: Shopify can permit selling after stock runs out. Inventory quantity is returned only when published; the Actor does not estimate inventory or sales.

The Actor’s **Output** tab describes the dataset fields and their allowed types; `.actor/dataset_schema.json` contains the schema in the source package. Use JSON when preserving the complete nested variant data is important. Apify provides dataset exports; a displayed variant row remains part of its parent product.

#### Completeness report

`OUTPUT` follows the `RunReport` shape:

- `schemaVersion`: report format version, currently `1`.
- `startedAt`, `finishedAt`: report timestamps.
- `status`: `SUCCEEDED`, `PARTIAL`, `FAILED`, or `INTERRUPTED`.
- `products`, `requests`: saved product count and HTTP request attempts.
- `stores`: one outcome per requested store, including `requestedUrl`, `store`, `status`, `products`, `pages`, `duplicates`, `invalidProducts`, `currency`, `warnings`, and `message`.

| Store status                                               | What to do with the result                                                                   |
| ---------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| `OK`                                                       | The exposed catalog traversal finished. Check any warnings about source fields.              |
| `CAPPED`                                                   | A configured collection bound was reached; treat the data as a sample.                       |
| `PARTIAL`                                                  | Some products were collected, but the catalog could not be completed.                        |
| `EMPTY_CATALOGUE`                                          | The exposed catalog returned no products.                                                    |
| `NOT_SHOPIFY`, `HEADLESS_STOREFRONT`, `PASSWORD_PROTECTED` | The requested storefront does not expose a usable public catalog for this collection method. |
| `BLOCKED`, `RATE_LIMITED`, `UNREACHABLE`                   | Access or connectivity prevented collection; inspect the message before retrying.            |
| `INVALID_RESPONSE`                                         | The response could not be accepted as catalog data.                                          |
| `SKIPPED`                                                  | The store was not processed; the message explains why.                                       |
| `BUDGET_REACHED`                                           | An applicable output/budget bound prevented further collection.                              |
| `INTERRUPTED`                                              | Collection stopped before completion.                                                        |

Saved records can still be useful after a partial or interrupted run. Use `products` and the dataset contents to assess what was actually delivered; do not infer completeness from a successful HTTP request or a platform run label alone. Intermediate checkpoints use `INTERRUPTED` until a final result is written. A hard termination can prevent a final report from being written, so a missing report is not evidence of completion.

#### Coverage and source limits

This Actor reads public catalog data exposed by a Shopify storefront. It does not sign in, discover stores, collect reviews, estimate sales, or retrieve private merchant inventory. Stores with a custom headless frontend, password protection, blocked JSON routes, or anti-bot controls may return no catalog.

Shopify documents a 250-variant limit for Ajax product JSON. High-variant products can therefore have incomplete public representations; `variant_count` describes the records returned, not a verified count of every variant in the merchant's admin system. See the [Shopify Ajax API limitations](https://shopify.dev/docs/api/ajax).

Markets, redirects, and locale paths can affect prices and availability. A currency label should be supported by the data source; unresolved currency remains `null`. The [Shopify Product API](https://shopify.dev/docs/api/ajax/reference/product) documents presentment currency for its Ajax endpoint, which must not be assumed to define every legacy catalog endpoint's behavior.

The public `/products.json` catalog route is distinct from Shopify's authenticated Admin API. Its historical compatibility does not guarantee future support. A [Shopify staff response about the migration roadmap](https://community.shopify.dev/t/about-rest-to-graphql-migration-roadmap/5832) describes limitations and eventual deprecation without a date. Source changes may require maintenance.

#### FAQ

##### Can I scrape a store that blocks public catalog access?

Some storefronts block the catalog route, require a password or use a headless setup. Proxy access does not guarantee a result. Start with a small sample and inspect `OUTPUT` for the store's status before increasing the limits.

##### Is availability the same as an exact stock count?

No. Availability reflects whether the source permits purchase. `inventory_quantity` is populated only when published; otherwise it is `null`. The Actor does not estimate warehouse stock or sales.

##### Are variants extra results?

No. One saved product is one billable result, with its returned variants nested inside it. The Variant details view expands them for inspection; it does not create extra dataset items.

##### Can I monitor prices every day?

Use an Apify Task and Schedule to collect fresh snapshots. This Actor does not maintain cross-run price history or produce change alerts itself. Compare records in your workflow using store, locale and product identity.

##### Why did I receive fewer products than requested?

The public catalog may be smaller, or a page, spending, response-size or run-time limit may have stopped collection. Review each store in `OUTPUT`. A successful platform run alone does not establish a complete catalog.

##### Which export should I use?

Use the Product overview view for a spreadsheet, the Variant details view for individual options, and JSON when you need the complete nested product record.

#### API and support

The Actor's **API** tab provides client examples. To start a bounded catalog sample from a shell, set `APIFY_TOKEN` in your environment:

```bash
curl --fail-with-body --request POST \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  'https://api.apify.com/v2/acts/pellucid_bird~shopify-catalog-lens/runs?memory=512&timeout=300&maxTotalChargeUsd=0.10' \
  --data '{"storeUrls":["https://www.allbirds.com"],"maxProducts":50,"maxEstimatedCostUsd":0.1,"maxPagesPerStore":30,"requestTimeoutSecs":20,"maxRetries":1,"allowResidentialFallback":false,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}}'
```

This example uses Apify residential proxy traffic included in the run price. Poll the returned run ID, then read its default dataset and `OUTPUT` record. The spending allowance can stop collection before 50 products.

For help, open this Actor's **Issues** tab with the run ID, storefront URL, report status and the result you expected. Do not include API tokens, proxy credentials or private merchant data.

#### Inputs

| Field                      | Default                  | Meaning                                                                                                                                                                                                                       |
| -------------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `storeUrls`                | Required                 | One to ten public storefront URL strings. Preserve a market or language path when it matters.                                                                                                                                 |
| `maxProducts`              | `100`                    | Global requested product cap, from 0 to 10000. `0` uses the operational ceiling of 10000; it does not enable an unbounded run.                                                                                                |
| `maxEstimatedCostUsd`      | `1`                      | Conservative collection allowance in USD, from 0 to 100. The smaller of this value and the available platform spending cap applies. `0` prevents storefront fetching and proxy creation.                                      |
| `proxyConfiguration`       | `{"useApifyProxy":true}` | Apify proxy settings or user-supplied custom proxies. Set `useApifyProxy:false` for credential-free direct local access.                                                                                                      |
| `allowResidentialFallback` | `false`                  | Permit a fallback to residential proxies after an eligible access failure. Supported Apify residential traffic is included in the run price. Explicitly selecting a residential proxy group also enables residential traffic. |
| `maxPagesPerStore`         | `100`                    | Maximum catalog pages per store, from 1 to 100.                                                                                                                                                                               |
| `requestTimeoutSecs`       | `15`                     | Request timeout, from 5 to 30 seconds, subject to the remaining run deadline.                                                                                                                                                 |
| `maxRetries`               | `1`                      | Additional attempts after the initial request, from 0 to 2.                                                                                                                                                                   |

Choose a modest product cap before increasing volume. A page bound, request failure, interruption, or platform budget can end collection before that cap. Proxy access does not guarantee that a protected storefront will respond.

When a server requests a retry delay, the Actor waits only if the full pause fits within 60 seconds and the remaining run time. Otherwise it stops that request without retrying early and records a warning in `OUTPUT`. Waiting counts toward the run time limit.

`maxEstimatedCostUsd` is a planning allowance that may stop collection before the result cap. Set a run spending limit in Apify too. A value of zero prevents storefront requests; starting the Actor still incurs the startup fee. Check the Run report for the stopping reason.

##### Operational safeguards

The Actor enforces the following collection bounds. They do not promise catalog completeness or a fixed dollar cost:

| Resource                  | Limit                                                |
| ------------------------- | ---------------------------------------------------- |
| Stores                    | 10 per run                                           |
| Saved products            | 10000 across the run, even when `maxProducts` is `0` |
| Catalog pagination        | 100 pages per store                                  |
| Allocated memory          | 512 MB, fixed for this Actor                         |
| Elapsed collection budget | 300 seconds cumulatively, including resumed work     |
| Physical HTTP hops        | 500 across redirects and retries                     |
| Raw response transfer     | 64 MiB accounted transfer allowance across the run   |
| Successful response body  | 512 KiB encoded for catalogs; 8 MiB decoded          |
| Error response body       | 64 KiB per response                                  |
| Serialized product record | 512 KiB                                              |

Limits can stop a run with partial output. The report explains the stopping reason; oversized records are not counted as successfully delivered products. Raw transfer accounting and body-size bounds do not equal the provider's complete billed traffic: protocol overhead and service accounting can differ.

A stored checkpoint and run-wide resource accounting are intended to prevent a restart from resetting the collection allowance. Review the final `OUTPUT` report and any uncertainty marker before resuming. Repeated new runs against an empty or blocked catalog can create additional startup charges without returning products.

#### Run locally

This directory is an independent Node.js 24 package using Apify SDK 3.7.2. From this directory:

```sh
npm ci
npm run build
mkdir -p storage/key_value_stores/default
cp examples/INPUT.json storage/key_value_stores/default/INPUT.json
npm start
```

The example explicitly disables Apify Proxy for local access. Local output is written under `storage/`. Preserve or archive output between runs as appropriate; use a fresh storage directory when you need an independent sample.

For an isolated container build, run from this directory:

```sh
docker build -t shopify-catalog-lens:local .
```

The multi-stage image builds the package from its lockfile, removes development dependencies, and runs as the unprivileged `node` user. Its build context contains only this Actor package. A container run needs input through Apify or a writable mounted local storage directory containing `key_value_stores/default/INPUT.json`.

Use **Limited permissions** when configuring the Actor in Apify Console. Default dataset and key-value storage access are sufficient for this design. This is a configuration recommendation, not a permissions change made by the repository. See [Apify Actor permissions](https://docs.apify.com/actors/development/permissions).

Shopify Catalog Lens is an independent tool and is not affiliated with or endorsed by Shopify. Shopify is a trademark of its respective owner.

#### Recovery and data handling

Product identity includes the hostname, locale path and product ID. Two markets of the same store remain separate; aliases that resolve to the same catalog do not create duplicate rows within the run.

Currency is checked using storefront cart data and a matching variant price in the same session. Conflicting or missing evidence produces `null` with a warning. This is a sampled consistency check, not proof that every source field uses the same market.

If a dataset write has an uncertain outcome, collection stops and retains a `WRITE_UNCERTAIN` marker. Inspect the dataset and report before resuming; an uncertain write is not automatically repeated. A changed input requires fresh storage. These controls reduce duplicate-output risk but do not guarantee exactly-once delivery after a hard termination. A new run is a new collection and can create new charges.

The Actor only requests public HTTP(S) endpoints and does not accept merchant credentials. Direct DNS targets and redirects are checked, with bounded response sizes and request counts. Custom proxy operators resolve destinations themselves, so use a provider you trust. Use collected content according to the storefront's terms and the rights that apply to your intended use.

#### Billing details

The FREE tier uses `total = $0.015 + ($0.00049 × saved products)`. BRONZE, SILVER, GOLD, PLATINUM and DIAMOND use `total = $0.015 + ($0.000441 × saved products)`. The Actor runs at 512 MB, so one startup event applies. The minimum selectable spending ceiling is $0.02; this is a budget setting, not a minimum bill.

Only successfully saved products create result charges. Unsaved duplicates, filtered-out items, failed sources, retries and diagnostic reports create no result event. The startup fee still applies to a started run that fails or returns no results. A fresh run has a new startup fee.

Variants are included in the parent product fee. Apify proxy use is included; externally supplied custom proxy URLs may have separate provider charges.

The input allowance and Apify run spending limit can stop collection early. A cap is an upper bound on requested output, not a promise of complete coverage. Source availability and operational limits can also stop work; inspect the Run report and saved dataset.

Apify resources used during execution are included in these event prices. Subsequent storage access, your subscription and taxes follow Apify’s applicable terms. The active Store Pricing tab determines the tariff for a new run.

# Actor input Schema

## `storeUrls` (type: `array`):

Up to 10 public storefront URLs, including duplicate entries before normalization. Include a locale path when needed. The Actor reads the catalog exposed by each storefront.

## `maxProducts` (type: `integer`):

Shared across all stores, including products saved before resume. Set 0 to use the hard maximum of 10,000 products. Page, runtime, transfer and output-budget limits still apply.

## `maxEstimatedCostUsd` (type: `number`):

Planning allowance in USD. A smaller allowance can stop collection early; set the Apify run spending limit too. Zero prevents source requests. A started run can still incur its startup fee. Consult the active Pricing tab for charges; this is not a guaranteed final invoice cap.

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

Apify Proxy is enabled by default. Local runs without credentials must set useApifyProxy to false. Explicit RESIDENTIAL proxy configuration is supported; residential traffic follows the active Pricing tab even when no products are returned.

## `maxPagesPerStore` (type: `integer`):

Stops pagination at this operational bound. Reaching it does not establish that the catalog is complete.

## `requestTimeoutSecs` (type: `integer`):

Maximum seconds allowed for an individual HTTP request.

## `maxRetries` (type: `integer`):

Maximum additional attempts after the first request. Set 0 for no retry. A server-requested pause is honored only when it fits within 60 seconds and the remaining run time; otherwise collection stops without retrying early.

## `allowResidentialFallback` (type: `boolean`):

Explicitly permit switching from the configured Apify proxy to residential after HTTP 403 or 429. Disabled by default. Apify residential proxy use follows the active Pricing tab; custom proxy settings are never replaced.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxProducts": 50,
  "maxEstimatedCostUsd": 0.1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxPagesPerStore": 30,
  "requestTimeoutSecs": 20,
  "maxRetries": 1,
  "allowResidentialFallback": false
}
```

# Actor output Schema

## `products` (type: `string`):

One default dataset item per saved product, with its nested variants.

## `report` (type: `string`):

Per-store outcomes, warnings, counts, and run status in the OUTPUT record.

# 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 = {
    "storeUrls": [
        "https://www.allbirds.com"
    ],
    "maxProducts": 50,
    "maxEstimatedCostUsd": 0.1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    },
    "maxPagesPerStore": 30,
    "requestTimeoutSecs": 20,
    "maxRetries": 1,
    "allowResidentialFallback": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("pellucid_bird/shopify-catalog-lens").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 = {
    "storeUrls": ["https://www.allbirds.com"],
    "maxProducts": 50,
    "maxEstimatedCostUsd": 0.1,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
    "maxPagesPerStore": 30,
    "requestTimeoutSecs": 20,
    "maxRetries": 1,
    "allowResidentialFallback": False,
}

# Run the Actor and wait for it to finish
run = client.actor("pellucid_bird/shopify-catalog-lens").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 '{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxProducts": 50,
  "maxEstimatedCostUsd": 0.1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxPagesPerStore": 30,
  "requestTimeoutSecs": 20,
  "maxRetries": 1,
  "allowResidentialFallback": false
}' |
apify call pellucid_bird/shopify-catalog-lens --silent --output-dataset

```

## MCP server setup

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

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/6yinRaUz6htCkukTK/builds/ggQZxDq3CAWScSkZc/openapi.json
