# Shopify Store Search Scraper (`kawsar/shopify-store-search-scraper`) Actor

Search any Shopify store instantly through public predictive search endpoints. Extract clean product data, titles, prices, and URLs into structured JSON, CSV, or Excel without hassle.

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

## Pricing

from $2.99 / 1,000 results

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 Store Search (Predictive) Scraper

![Shopify Store Search (Predictive) Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/shopify-store-search-scraper-cover.png)

Search any Shopify store through the public predictive search JSON endpoint. Pick store URLs and queries, set a limit, and export clean JSON, CSV, or Excel without any complicated setup.

### What it does

This actor calls each store's `/search/suggest.json` endpoint and saves matching products as dataset rows. Each successful row keeps the Shopify resources payload alongside the request URL and scrape time.

### Modes

- **Predictive search** queries one or more Shopify stores with your search terms and resource types.

### Input example

```json
{
  "mode": "search",
  "storeUrls": ["https://colourpop.com"],
  "queries": ["lip"],
  "resourceTypes": "product",
  "maxItems": 50,
  "requestDelaySecs": 1
}

```

### Output example

```json
{
  "result_type": "products",
  "available": true,
  "handle": "blush-pop-collection",
  "id": 7675140702290,
  "image": "https://cdn.shopify.com/s/files/1/1338/0845/files/BlushPop_FullCollection_ProductStylized.jpg?v=1793292588",
  "price": "42.00",
  "price_max": "42.00",
  "price_min": "42.00",
  "tags": [
    "10.28.26",
    "Blush",
    "category:Face",
    "category:Full Collection",
    "event:Blush Pop 2026",
    "face",
    "finish:Matte",
    "Full Collection",
    "new-arrival",
    "Pressed Powder Blush",
    "producttype:Full Collection",
    "SKULifecycle:Permanent",
    "subcategory:Blush",
    "unitnumber:3",
    "value_sets"
  ],
  "title": "Blush Pop Full Collection",
  "url": "/products/blush-pop-collection?_pos=1&_psq=blush+pop&_psid=37db947ea&_ss=e",
  "vendor": "ColourPop",
  "featured_image_alt": "Blush Pop Full Collection",
  "featured_image_aspect_ratio": 1,
  "featured_image_height": 2000,
  "featured_image_url": "https://cdn.shopify.com/s/files/1/1338/0845/files/BlushPop_FullCollection_ProductStylized.jpg?v=1793292588",
  "featured_image_width": 2000,
  "description": "Blush. Blur. Pop. 💗 Meet the whole Blush Pop collection with a shade for every mood. Wear them solo or stacked for a custom glow.\nEach Blush Pop is a pigmented powder blush that blurs skin with a weightless finish that layers like a dream. Jojoba Oil and Vitamin E help powder melt in so cheeks look smooth, never patchy or cakey.\nIncludes:\nBlush Pop in Llama: Neutral mauve\nBlush Pop in Can’t Relate: Neutral rose\nStrawberry Mochi: Cool baby pink\nBlush Pop in Starlet: Warm peachy pink\nBlush Pop in Bring It On: Neutral pinky nude\nBlush Pop in Cheat Code: Cool soft lilac\nBlush Pop in Pink Wall: Vibrant cool pink\nBlush Pop in Cherryish Me: Warm vibrant cherry",
  "category": "Face",
  "event": "Blush Pop 2026",
  "finish": "Matte",
  "producttype": "Full Collection",
  "skulifecycle": "Permanent",
  "subcategory": "Blush",
  "unitnumber": "3",
  "source_url": "https://colourpop.com/search/suggest.json?q=blush%20pop&resources%5Btype%5D=product&resources%5Blimit%5D=10",
  "scraped_at": "2026-10-31T05:24:31.904401+00:00"
}

```

***

### FAQ

**Who is this scraper designed for?**
E-commerce analysts, marketers, and developers who need instant access to product search hits and catalog data in clean spreadsheet or dataset formats.

**What export formats are supported?**
You can easily export your collected data in JSON, CSV, Excel, and other standard formats supported by Apify.

**Can I run this actor on a schedule?**
Yes, you can configure Apify schedules to run this scraper automatically at your preferred intervals.

**What happens if a specific store request fails during a run?**
The scraper handles errors gracefully—it logs an error row containing the input details, target URL, and error status while allowing the rest of the run to continue uninterrupted.

***

### Trademark Notice

Shopify and related names, logos, and trademarks belong to their respective owners. Their use in this documentation is solely to identify the source of the data and does not imply affiliation, sponsorship, endorsement, or partnership.

### Disclaimer

This actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or otherwise officially associated with Shopify or its owners. All data is collected from publicly available sources. Users are responsible for complying with the source's terms of use, rate limits, and attribution requirements.

### Is web scraping legal?

This actor extracts publicly accessible data without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal data:** When collecting identifiers like emails, phone numbers, or social handles, ensure compliance with applicable data protection laws such as GDPR or CCPA.
- **Copyrighted content:** Public text, images, and visual assets are often protected by intellectual property rights. Avoid directly duplicating or redistributing full creative works.
- **Platform terms & rate limits:** Practice responsible data extraction by avoiding aggressive traffic spikes, adhering to rate limits, and respecting published platform policies.
- **Disclaimer:** This summary serves informational purposes only and does not constitute formal legal counsel. Seek professional legal advice for specific compliance queries.

For a detailed guide, see Apify's legal overview: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

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

Shopify store base URLs to search.

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

Search terms to send to predictive search.

## `resourceTypes` (type: `string`):

Comma-separated Shopify resource types: product, collection, page, article.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

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

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "search",
  "storeUrls": [
    "https://colourpop.com"
  ],
  "queries": [
    "lip"
  ],
  "resourceTypes": "product",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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://colourpop.com"
    ],
    "queries": [
        "lip"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/shopify-store-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 = {
    "storeUrls": ["https://colourpop.com"],
    "queries": ["lip"],
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/shopify-store-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 '{
  "storeUrls": [
    "https://colourpop.com"
  ],
  "queries": [
    "lip"
  ]
}' |
apify call kawsar/shopify-store-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/shopify-store-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/WuKAosGM5JHdW9MN7/builds/hSNSvPfyFFr0l0LRY/openapi.json
