# Shopify Store & Product Search Scraper (`alpha-scraper/shopify-store-product-search-scraper`) Actor

\[ 1k / 1$ ] Shopify store product scraper: search products inside any Shopify store by keyword and extract title, vendor, type, tags, prices, availability, variants and images, with price, stock, vendor and type filters and optional SKUs, barcodes, stock and reviews.

- **URL**: https://apify.com/alpha-scraper/shopify-store-product-search-scraper.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Store & Product Search Scraper

Shopify Store & Product Search Scraper is an Apify Actor that collects e-commerce data from Shopify and returns it as clean, structured records.
Shopify store product scraper: search products inside any Shopify store by keyword and extract title, vendor, type, tags, prices, availability, variants and images, with price, stock, vendor and type filters and optional SKUs.
Instead of copying Shopify pages by hand, you enter your keywords, choose a few options, and receive one JSON record for every product listing that Shopify returns.

**Who is it for?** price-monitoring and repricing teams; e-commerce analysts and category managers; dropshipping and marketplace sellers.
**What problem does it solve?** Collecting online information by hand is slow and hard to repeat. Shopify Store & Product Search Scraper returns the same documented Shopify fields every time, ready for spreadsheets, databases and dashboards.
**What data do you get?** 54 documented Shopify fields per record, exported as JSON, CSV, Excel, XML, HTML or RSS.
**What is the easiest way to start?** Open Shopify Store & Product Search Scraper on Apify, keep the pre-filled input, lower `maxItems`, and press Start.

> **📌 Shopify Store & Product Search Scraper at a glance**
>
> - **Platform:** Shopify
> - **Category:** e-commerce
> - **Input fields:** 13 · **Output fields:** 54
> - **Listed price:** $1.00 per 1,000 results

### ✨ Shopify Store & Product Search Scraper Key Features

The Actor turns Shopify product listings into structured data with a short list of inputs and a documented output.
Here is what Shopify Store & Product Search Scraper offers:

- **Keyword input:** Shopify Store & Product Search Scraper accepts one or many entries in `queries` and processes each entry on its own.
- **Result limit:** `maxItems` caps the Shopify records per run, so test runs of Shopify Store & Product Search Scraper stay small and costs predictable.
- **Structured output:** 54 documented source fields in a consistent JSON structure.
- **Export anywhere:** download the Shopify data as JSON, CSV, Excel, XML, HTML or RSS, or read the dataset through the Apify API.
- **Run summary:** a `RUN_SUMMARY` record and the status message report counts and the first problem of every run of Shopify Store & Product Search Scraper.
- **Shopify Store Domains** (`stores`): The Shopify stores to search, one per line: a plain domain such as 'allbirds.com' or a full store URL…
- **Search Mode** (`searchMode`): 'Auto' first asks the store's predictive search (Shopify's ranked top results, at most 10 per store) and then…
- **In Stock Only** (`inStockOnly`): Skip products that Shopify reports as sold out.

> **💡 Why use Shopify Store & Product Search Scraper?**
>
> - You work with documented Shopify fields instead of raw pages.
> - You can repeat the same Shopify job on a schedule and compare results over time.
> - You can start small with the Actor, check the output, and scale up when you are happy.

### 🔍 What Data Can Shopify Store & Product Search Scraper Extract?

Each record describes one product listing found on Shopify.
The schema documents 54 fields: 34 core fields that appear in almost every record, 5 common fields and 15 conditional fields that appear only when the source site provides the value or the matching option is on.

- `title`: Title
- `storeName`: Store name
- `storeDomain`: Store domain
- `url`: Product URL
- `vendor`: Vendor
- `brand`: Brand
- `price`: Price
- `priceMax`: Highest variant price

The Output section below lists more Shopify fields with their types and shows a real sample record collected by Shopify Store & Product Search Scraper.

### ⚙️ How Shopify Store & Product Search Scraper Works

The workflow of Shopify Store & Product Search Scraper is intentionally simple, and Shopify Store & Product Search Scraper needs no code:

1. You provide a JSON input or fill the Console form; missing options use their documented defaults.
2. For every entry in `queries`, Shopify Store & Product Search Scraper requests results from Shopify, page after page, until it has `maxItems` records or Shopify has no more matches.
3. With `fetchDetails` on, the Actor also opens each record's detail page and adds the extra fields.
4. Each record is cleaned and mapped to the documented fields; values that Shopify does not provide are left out instead of guessed.
5. Records are saved to the default dataset in small batches, and a `RUN_SUMMARY` record closes the run of Shopify Store & Product Search Scraper.

### 🚀 How to Use Shopify Store & Product Search Scraper

You can run Shopify Store & Product Search Scraper in a few minutes. Follow these steps in the Apify Console:

1. Open the page of Shopify Store & Product Search Scraper on Apify and select the **Input** tab.
2. Enter your search keywords in **Search Keywords** (`queries`).
3. Set **Max Items Per Keyword** (`maxItems`) to a small number such as 20 for the first run.
4. Press **Start**, then open the **Output** tab to browse the Shopify dataset and use **Export** to download it.
5. Save the input as a **Task** and add a **Schedule** to repeat Shopify Store & Product Search Scraper runs.

A quick start input for the Actor:

```json
{
  "queries": ["wool"],
  "maxItems": 20
}
```

With this input, Shopify Store & Product Search Scraper searches Shopify for the keywords shown and returns at most `maxItems` records.

### 🛒 How to Scrape Shopify product listings with Shopify Store & Product Search Scraper

To scrape Shopify product listings, add your keywords to `queries`, set `maxItems`, and start Shopify Store & Product Search Scraper. Each keyword is processed separately, so ten keywords produce ten separate searches that share one dataset.

#### 📁 Can You Export Shopify Data to CSV, Excel or JSON?

Yes. Every run of Shopify Store & Product Search Scraper stores its Shopify records in a dataset that you can download as JSON, CSV, Excel, XML, HTML or RSS from the Console or through the API.

#### ⏰ Can You Schedule Shopify Store & Product Search Scraper to Monitor Shopify?

Yes. Save your input as a Task, attach a Schedule, and compare the Shopify dataset of every run.

### 📥 Shopify Store & Product Search Scraper Input

This table lists every input field of Shopify Store & Product Search Scraper, taken from the Actor's input schema. The form is pre-filled with a working example.

#### 🧾 Shopify Store & Product Search Scraper Input Fields

|Field|Type|Default|Purpose|
|---|---|---|---|
|`queries`|array|\["wool"]|One or more words or phrases to look for inside the stores below (for example 'wool' or 'running…|
|`maxItems`|integer|15|Maximum number of products per keyword, counted across ALL listed stores in the order you list them…|
|`stores`|array|\["allbirds.com"]|The Shopify stores to search, one per line: a plain domain such as 'allbirds.com' or a full store…|
|`searchMode`|string|"auto"|'Auto' first asks the store's predictive search (Shopify's ranked top results, at most 10 per…|
|`inStockOnly`|boolean|false|Skip products that Shopify reports as sold out.|
|`minPrice`|number|-|Only products whose lowest variant price is at least this amount, in the store's own currency (the…|
|`maxPrice`|number|-|Only products whose lowest variant price is at most this amount, in the store's own currency.|
|`vendor`|string|-|Only products from this vendor (brand).|
|`productType`|string|-|Only products of this Shopify product type, for example 'Sneakers'.|
|`includeStoreInfo`|boolean|true|Add a 'store' object with the store's public profile (name, currency, city, country, myshopify…|
|`fetchDetails`|boolean|true|Turn it off for a faster run with catalog data only.|
|`detailLimit`|integer|0|Only the first N returned products get the detail step; the remaining ones keep their search data…|
|`maxReviews`|integer|10|Use 0 for no reviews.|

#### 📝 Shopify Store & Product Search Scraper Input Examples

These are valid inputs for Shopify Store & Product Search Scraper. Copy one into the JSON editor of the input form, or send it through the API.

#### 🧪 Example 1: Minimal input

The smallest useful input: your Shopify keywords and a result limit. Every other option keeps its default.

```json
{
  "queries": ["wool"],
  "maxItems": 20
}
```

#### 🧪 Example 2: Typical input with the documented defaults

Every option that has a documented default, shown with that default value so you can see the full shape of the input.

```json
{
  "queries": ["wool"],
  "maxItems": 20,
  "stores": ["allbirds.com"],
  "searchMode": "auto",
  "inStockOnly": false,
  "includeStoreInfo": true,
  "fetchDetails": true,
  "detailLimit": 0,
  "maxReviews": 10
}
```

#### 🧪 Example 3: Search Mode set to "predictive"

Changes `searchMode` and keeps the other defaults.

```json
{
  "queries": ["wool"],
  "maxItems": 20,
  "stores": ["allbirds.com"],
  "searchMode": "predictive",
  "inStockOnly": false,
  "includeStoreInfo": true,
  "fetchDetails": true,
  "detailLimit": 0,
  "maxReviews": 10
}
```

#### 🧪 Example 4: Search Mode set to "catalog"

Changes `searchMode` and keeps the other defaults.

```json
{
  "queries": ["wool"],
  "maxItems": 20,
  "stores": ["allbirds.com"],
  "searchMode": "catalog",
  "inStockOnly": false,
  "includeStoreInfo": true,
  "fetchDetails": true,
  "detailLimit": 0,
  "maxReviews": 10
}
```

### 📤 Shopify Store & Product Search Scraper Output

The Actor stores one record per product listing in the default dataset of the run. The table shows the most common of the 54 documented Shopify fields.

#### 📋 Shopify Store & Product Search Scraper Output Fields

|Field|Type|Description|
|---|---|---|
|`title`|string|Product title as set in the Shopify store.|
|`storeName`|string|Name of the Shopify store, from the store's public profile.|
|`storeDomain`|string|Domain of the Shopify store the product was found in.|
|`url`|string|Link to the product page in the store.|
|`vendor`|string|Vendor or brand name set on the product in the store.|
|`brand`|string|Brand name from the structured data of the product page.|
|`price`|number|Lowest variant price as a number in the store currency.|
|`priceMax`|number|Highest variant price as a number in the store currency.|
|`priceVaries`|boolean|True when the variants of the product have different prices.|
|`currency`|string|Currency code of the store, used for every price of the record.|
|`available`|boolean|True when at least one variant of the product can be bought.|
|`variantCount`|integer|Number of variants of the product.|

#### 🧬 Shopify Store & Product Search Scraper Sample Output

This record comes from a real run of Shopify Store & Product Search Scraper. Long texts and lists are shortened, only common fields are shown, and contact details, personal names, usernames and profile links are hidden.

```json
{
  "storeDomain": "allbirds.com",
  "storeName": "Allbirds",
  "title": "Women's Wool Cruiser Slip On - Natural Black (Blizzard Sole)",
  "url": "https://allbirds.com/products/[name hidden]",
  "vendor": "Allbirds",
  "tags": ["allbirds::carbon-score => undefined", "allbirds::cfId => color-1675598e718ca73e174a28efc7166854"],
  "price": 100.0,
  "priceMax": 100.0,
  "currency": "USD",
  "available": true,
  "variantCount": 13,
  "inventoryQuantityTotal": 1360,
  "priceVaries": false,
  "brand": "Allbirds"
}
```

**Sample record 2**

```json
{
  "storeDomain": "allbirds.com",
  "storeName": "Allbirds",
  "title": "Women's Wool Cruiser - Light Grey (Natural White Sole)",
  "url": "https://allbirds.com/products/[name hidden]",
  "vendor": "Allbirds",
  "tags": ["allbirds::carbon-score => undefined", "allbirds::cfId => color-84b079794e2382b7d5669a0039a5f725"],
  "price": 105.0,
  "priceMax": 105.0,
  "currency": "USD",
  "available": true,
  "variantCount": 13,
  "inventoryQuantityTotal": 252,
  "priceVaries": false,
  "brand": "Allbirds"
}
```

#### 🔬 Shopify Store & Product Search Scraper Field Details

Each field below is described with its type, how often it appears in the sample and example values.

- **`title`** (string, present in 49 of 49 sample records): Product title as set in the Shopify store. Examples: `"Women's Wool Cruiser Slip On - Natural Black (B…"`, `"Women's Wool Cruiser - Natural Grey (Natural Wh…"`.
- **`storeName`** (string, present in 49 of 49 sample records): Name of the Shopify store, from the store's public profile. Examples: `"Allbirds"`.
- **`storeDomain`** (string, present in 49 of 49 sample records): Domain of the Shopify store the product was found in. Examples: `"allbirds.com"`.

### 🎯 Shopify Store & Product Search Scraper Use Cases

People use Shopify Store & Product Search Scraper when they need repeatable, structured e-commerce data from the source site. Typical applications:

- Monitor prices, discounts and stock signals for a keyword over time
- Compare assortments, brands and categories between competitors
- Build product feeds for comparison sites and internal dashboards
- Track new arrivals and best-selling items for merchandising decisions
- Collect ratings and review counts to judge product demand
- Feed BI tools and spreadsheets with structured catalogue data

Every one of these tasks starts from the same Shopify records that Shopify Store & Product Search Scraper stores in the dataset.

### 💰 Shopify Store & Product Search Scraper Pricing

The Actor description lists the price of Shopify Store & Product Search Scraper as **$1.00 per 1,000 results**.
The table shows what that rate means for typical run sizes.

|Results|Cost at the listed rate|
|---|---|
|100|$0.10|
|1,000|$1.00|
|10,000|$10.00|
|100,000|$100.00|

- Check the **Pricing** tab on the Actor page for the current terms; your Apify plan and platform usage may also apply.
- Test with a small `maxItems` value before a large run.

### 💻 Run Shopify Store & Product Search Scraper with the Apify API

You can start the Actor from code and read the Shopify records from the dataset.

#### 🐍 Run Shopify Store & Product Search Scraper from Python

Replace `ACTOR_ID` with the Actor ID shown on the Actor page and keep your token in an environment variable.

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("ACTOR_ID").call(run_input={'queries': ['wool'], 'maxItems': 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### 🔗 Integrations and Automation

Shopify Store & Product Search Scraper works with schedules, webhooks, the Apify API and many integrations.

#### 🔌 Connect Shopify Store & Product Search Scraper to Google Sheets

- Open the Integrations tab of the Actor or Task in the Apify Console and add the Google Sheets integration.
- Authorise your Google account and pick the spreadsheet and the worksheet.
- Choose whether each run appends rows or replaces the sheet content.
- Start a run; when it succeeds the rows appear in your spreadsheet automatically.
- Once a run succeeds, the Shopify data is ready to use in Google Sheets.

### 🛠️ Tips and Best Practices

Follow these tips to get clean data from Shopify Store & Product Search Scraper faster:

- Start every new search with a small `maxItems` value so you can check the output and the cost before a big run.
- Change one input option at a time and compare the datasets; this makes it clear which option produced which effect.
- Save good inputs as Apify Tasks and give them descriptive names such as the keyword and the market.
- Use a schedule for monitoring jobs, and keep each run small so that Shopify results arrive quickly.
- Treat every field except the identifiers as optional in your downstream code.
- Keep the raw JSON of important runs; it is the most complete representation of each record.
- Review `stores` (Shopify Store Domains) before large runs: The Shopify stores to search, one per line: a plain domain such as 'allbirds.com' or a full store URL…
- Review `searchMode` (Search Mode) before large runs: 'Auto' first asks the store's predictive search (Shopify's ranked top results, at most 10 per store) and then…

### ⚖️ Legal and Responsible Use

The Actor is meant for publicly available information, and you are responsible for how you use the collected data. This is general information, not legal advice.

- Read and follow the terms of service and the published crawler rules of Shopify before you run large jobs.
- Collect only the product listings and fields you need from Shopify, and use them for a legitimate purpose.
- Treat names, handles and contact details as personal data where privacy laws such as GDPR or CCPA apply.
- Respect copyright and database rights when you republish Shopify content, and honour removal requests.

### ❓ Frequently Asked Questions about Shopify Store & Product Search Scraper

Answers to common questions about Shopify Store & Product Search Scraper and about collecting Shopify data.

#### ❓ How do I run Shopify Store & Product Search Scraper?

Open the Actor page on Apify, fill in the input form, and press Start.
The same run can be started from the Apify API, the Apify CLI, a schedule, or an integration, using the identical JSON input shown in the Input section.
Shopify Store & Product Search Scraper saves every record to the run's default dataset, where you can preview and download it.

#### ❓ Do I need an Apify account to use Shopify Store & Product Search Scraper?

Yes. Shopify Store & Product Search Scraper runs on the Apify platform, so you need an Apify account to start it from the Console or the API.
A free account is enough to try the Actor on a small input; check your plan for the monthly credits it includes.

#### ❓ Can I run the Actor through the API?

Yes. Every Apify Actor can be started with the Apify API or one of the official clients for JavaScript and Python.
The API section of this page shows a copy-paste example that sends the same JSON input as the Console form.

#### ❓ How do I schedule Shopify Store & Product Search Scraper to run every day or every week?

Save your input as an Apify Task, then add a Schedule with a cron expression to that Task.
Each scheduled run creates a new dataset, so you can compare today's search results with yesterday's.

#### ❓ Which formats can I export the results in?

Apify datasets can be downloaded as JSON, JSONL, CSV, Excel, XML, HTML table and RSS.
Nested lists and objects are kept intact in JSON; for CSV or Excel choose the Shopify fields you need or flatten nested fields in the export options.

#### ❓ How many results can I collect in one run?

The `maxItems` input field controls the limit. Its default is 15, with a minimum of 1.
The run also stops earlier when Shopify has no more matching results for your input, so you may receive fewer records than requested.

### 🤝 Support

Need help with Shopify Store & Product Search Scraper or want a new field? Use the **Issues** tab on the Actor page and include the run link and your input.

- contact me by email : alphascraper69@gmail.com

# Actor input Schema

## `queries` (type: `array`):

One or more words or phrases to look for inside the stores below (for example 'wool' or 'running shoes'). Every keyword is searched on its own and gets its own 'Max Items Per Keyword'. A product matches when ALL words occur in its title, vendor, product type, tags, handle or description; title matches rank first. Through the API, one empty keyword ('') lists the stores' catalogs without any keyword (in 'Auto' or 'Catalog scan only' mode).

## `maxItems` (type: `integer`):

Maximum number of products per keyword, counted across ALL listed stores in the order you list them (when the first store already fills the limit, later stores are not visited). The Actor keeps paging through each store's catalog until the limit is reached or the catalog ends.

## `stores` (type: `array`):

The Shopify stores to search, one per line: a plain domain such as 'allbirds.com' or a full store URL ('https://' is added when missing, a trailing slash is removed). Use the domain only, without a collection or product path. A store's myshopify.com address works too. If you leave the list empty the Actor searches allbirds.com. Stores that disable /products.json, sit behind a password page or a bot wall return little or nothing and are reported in the run log; nothing is bypassed.

## `searchMode` (type: `string`):

'Auto' first asks the store's predictive search (Shopify's ranked top results, at most 10 per store) and then scans the full catalog, removing duplicates. 'Predictive search only' is the fastest but never returns more than 10 products per store. 'Catalog scan only' pages through /products.json (250 products per request) and matches your words locally, so it can return every match.

## `inStockOnly` (type: `boolean`):

Skip products that Shopify reports as sold out. Products whose availability the store does not state are kept.

## `minPrice` (type: `number`):

Only products whose lowest variant price is at least this amount, in the store's own currency (the 'currency' field of every record shows it). Products without a price are dropped while a price filter is set. Leave empty for no minimum.

## `maxPrice` (type: `number`):

Only products whose lowest variant price is at most this amount, in the store's own currency. Products without a price are dropped while a price filter is set. Leave empty for no maximum.

## `vendor` (type: `string`):

Only products from this vendor (brand). The match is exact but not case-sensitive, so 'Allbirds' matches 'allbirds' but not 'Allbirds Inc'. Leave empty for all vendors.

## `productType` (type: `string`):

Only products of this Shopify product type, for example 'Sneakers'. The match is exact but not case-sensitive. Leave empty for all product types.

## `includeStoreInfo` (type: `boolean`):

Add a 'store' object with the store's public profile (name, currency, city, country, myshopify domain and published product count, read from the store's /meta.json) to every record. Turn off for slimmer records.

## `fetchDetails` (type: `boolean`):

Open every product's own storefront data for more fields: the product's .js endpoint (every variant with SKU, barcode, weight, tax and shipping flags, plus stock quantity where the store exposes it; all images and videos with alt text; selling plans), the product page's JSON-LD (brand, GTIN/MPN, condition, material, colour, shipping and return policy, rating and the reviews the store's review app publishes there) and the store's home page once per store (description, logo, social links). That is two requests per product plus one request per store for the home page, each checked against the store's robots.txt. Turn it off for a faster run with catalog data only. Each record's 'detailStatus' tells you what happened.

## `detailLimit` (type: `integer`):

Only the first N returned products get the detail step; the remaining ones keep their search data only and 'detailStatus' says 'skipped: detailLimit=N'. Use 0 to enrich every returned item. Used only while 'Fetch Product Details' is on.

## `maxReviews` (type: `integer`):

Maximum number of customer reviews copied per product from the product page's schema.org markup. Many review apps render their reviews in the browser only, so this can be empty for many stores. Use 0 for no reviews. Used only while 'Fetch Product Details' is on.

## Actor input object example

```json
{
  "queries": [
    "wool"
  ],
  "maxItems": 15,
  "stores": [
    "allbirds.com"
  ],
  "searchMode": "auto",
  "inStockOnly": false,
  "includeStoreInfo": true,
  "fetchDetails": true,
  "detailLimit": 0,
  "maxReviews": 10
}
```

# Actor output Schema

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

Structured records extracted by Shopify Store & Product Search Scraper and stored in the run's default dataset.

# 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 = {
    "queries": [
        "wool"
    ],
    "maxItems": 15,
    "stores": [
        "allbirds.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/shopify-store-product-search-scraper").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 = {
    "queries": ["wool"],
    "maxItems": 15,
    "stores": ["allbirds.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/shopify-store-product-search-scraper").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 '{
  "queries": [
    "wool"
  ],
  "maxItems": 15,
  "stores": [
    "allbirds.com"
  ]
}' |
apify call alpha-scraper/shopify-store-product-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/shopify-store-product-search-scraper"
        }
    }
}
```

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/OPhc7d1aw5wkHCGRt/builds/Pldczi9yfhoWYILPM/openapi.json
