# Smartprix Product Search Scraper (`stealth_mode/smartprix-product-search-scraper`) Actor

Scrape real-time product listings from Smartprix.com with 15+ fields including prices, ratings, stock status, and store details. Perfect for price monitoring, market research, and competitive analysis in the electronics retail space.

- **URL**: https://apify.com/stealth\_mode/smartprix-product-search-scraper.md
- **Developed by:** [Stealth mode](https://apify.com/stealth_mode) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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/platform/actors/running/actors-in-store#pay-per-event

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

## Smartprix Product Search Scraper: Extract Electronics Pricing Data

***

### What Is Smartprix.com?

Smartprix.com is a leading electronics price comparison platform aggregating thousands of products — smartphones, laptops, tablets, and accessories — across multiple online retailers. It provides real-time pricing, user ratings, specifications, and availability data. Manually tracking price changes and competitor offerings is inefficient; the **Smartprix Product Search Scraper** automates product data collection at scale, enabling data-driven pricing and market intelligence strategies.

***

### Overview

The **Smartprix Product Search Scraper** extracts product listings from Smartprix search and category pages, capturing essential pricing, specification, and availability metadata. It is designed for:

- **E-commerce businesses** monitoring competitor prices and market positioning
- **Price aggregators** building comprehensive product databases
- **Market researchers** analyzing electronics pricing trends
- **Retailers** tracking product availability and consumer ratings
- **Data analysts** feeding pricing data into forecasting models

The scraper excels at high-volume collection with configurable limits, flexible URL handling, and graceful failure management — ensuring continuous data pipeline operation even when some listings become unavailable.

***

### Input Format

The scraper accepts a JSON configuration object with three core parameters:

```json
{
  "urls": [
    "https://www.smartprix.com/mobiles",
    "https://www.smartprix.com/laptops",
    "https://www.smartprix.com/search?q=iphone"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 200
}
```

#### Configuration Fields Explained

| Parameter | Type | Purpose | Example |
|---|---|---|---|
| `urls` | Array of strings | Product search or category page URLs to scrape | `["https://www.smartprix.com/mobiles"]` |
| `ignore_url_failures` | Boolean | If `true`, continues scraping if some URLs fail; if `false`, stops the entire run on first failure | `true` or `false` |
| `max_items_per_url` | Integer | Maximum number of products to extract per URL (1–500, typically 20–200) | `200` |

#### URL Types You Can Use

- **Category pages:** `https://www.smartprix.com/mobiles`, `https://www.smartprix.com/laptops`
- **Search results:** `https://www.smartprix.com/search?q=samsung`
- **Filtered pages:** `https://www.smartprix.com/mobiles?price_min=10000&price_max=50000`
- **Brand pages:** `https://www.smartprix.com/mobiles/apple`

> **Tip:** Use `ignore_url_failures: true` for bulk runs to prevent a single broken URL from halting the entire job.

***

### Output Format

**Sample output**

```json
{
  "type": "Product",
  "id": "pd11xf05zc2",
  "name": "Realme P4R 5G",
  "price_drop": 0,
  "rating": 83,
  "stock": "ON_SALE",
  "category": {
    "id": 13,
    "can_compare": true
  },
  "brand_id": 7096,
  "price": 18999,
  "fe_price": "₹18,999",
  "image_id": "leY1NFLm",
  "url": "/mobiles/realme-p4r-5g-ppd11xf05zc2",
  "specs_score": 57,
  "features": [
    {
      "text": "Dual Sim, 5G, VoLTE, Wi-Fi"
    },
    {
      "text": "Dimensity 6300, Octa Core, 2.4 GHz Processor"
    },
    {
      "text": "4 GB RAM, 128 GB inbuilt"
    },
    {
      "text": "8000 mAh Battery with 45W Fast Charging"
    },
    {
      "text": "6.81 inches, 720 x 1570 px, 144 Hz Display with Punch Hole"
    },
    {
      "text": "50 MP Rear & 8 MP Front Camera"
    },
    {
      "text": "Android v16"
    },
    {
      "text": "No FM Radio",
      "style": "no"
    }
  ],
  "best_store": {
    "stock": "IN_STOCK",
    "tracking_link": "https://l.smartprix.com/l?k=12eB0idvQ0iRit-K8dWiyAxAhrhAgTYBOr3Uh73arTnacBH3c4WcUYUruYCncWTr3ac5oXcW6h-hDh86HoraZXXA5agbhmBYihkpkRSpfvZJ-..p-wVhrhhaFhrhrhhacBrWahrhrBi55DgP4yAohrFB5ZKKaYVV9upxw",
    "store": {
      "image_square_id": "1jV84HS1",
      "slug": "flipkart"
    }
  },
  "from_url": "https://www.smartprix.com/mobiles"
}
```

Each product record contains 15 essential fields capturing pricing, availability, specifications, and retail data:

#### Product Identity & Metadata

| Field | Description | Example |
|---|---|---|
| `ID` | Unique Smartprix product identifier | `"12345abcd"` |
| `Name` | Full product name and variant | `"iPhone 15 Pro Max 256GB"` |
| `Type` | Product category/type | `"Smartphone"` |
| `Category` | Subcategory classification | `"Flagship"` |
| `Brand ID` | Unique identifier for the brand | `"apple_id"` |
| `URL` | Direct link to the product on Smartprix | `"https://www.smartprix.com/mobiles/..."` |

#### Pricing Intelligence

| Field | Description | Example |
|---|---|---|
| `Price` | Current lowest retail price across all stores | `"129999"` (in local currency) |
| `FE Price` | Estimated floor or final market price | `"119999"` |
| `Price Drop` | Discount amount or percentage from original | `"10000"` or `"7%"` |
| `Best Store` | Retailer offering the lowest price | `"Amazon.in"` or `"Flipkart"` |

#### Product Performance & Stock

| Field | Description | Example |
|---|---|---|
| `Rating` | User rating on Smartprix (typically 1–5 or 1–10 scale) | `"4.5"` |
| `Stock` | Availability status across retailers | `"In Stock"`, `"Low Stock"`, `"Out of Stock"` |
| `Specs Score` | Overall specification rating or performance index | `"8.2"` |

#### Features & Media

| Field | Description | Example |
|---|---|---|
| `Features` | Key technical features as array or comma-separated list | `"6.7\" AMOLED, 120Hz, 5G, IP68"` |
| `Image ID` | Identifier for the product image asset | `"img_12345xyz"` |

***

### How to Use

1. **Identify target pages** — Navigate to Smartprix.com and open the category or search page you want to monitor (e.g., `/mobiles` for smartphones).
2. **Copy the URL** — Paste the full URL into the `urls` array. Add multiple URLs for broader scrapes.
3. **Set item limits** — Adjust `max_items_per_url` based on needs (e.g., 50 for quick snapshots, 200 for comprehensive datasets).
4. **Enable resilience** — Set `ignore_url_failures: true` to continue if a page temporarily becomes unavailable.
5. **Execute the scraper** — Start the actor and monitor progress in the run log.
6. **Export and analyze** — Download results as JSON, CSV, or Excel; integrate into pricing dashboards or databases.

**Best practices:**

- Run scrapes during off-peak hours to minimize server load.
- Re-scrape weekly or monthly to track price trends over time.
- Use filtering parameters (price range, brand) in URLs to reduce noise.
- Store historical snapshots to calculate price elasticity.

***

### Use Cases & Business Value

- **Dynamic pricing strategies:** Adjust your prices based on competitor rates in real-time
- **Price tracking:** Monitor product discounts, flash sales, and seasonal price swings
- **Market intelligence:** Identify emerging products and discontinuing items
- **Consumer insights:** Analyze rating trends and feature demand
- **Inventory optimization:** Prioritize stock based on price and availability data

The Smartprix Product Search Scraper transforms raw web data into structured, actionable intelligence — critical for staying competitive in fast-moving electronics retail.

***

### Conclusion

The **Smartprix Product Search Scraper** delivers reliable, large-scale product pricing data from one of India's most comprehensive electronics platforms. With flexible URL handling, detailed pricing fields, and robust error management, it enables real-time market monitoring and data-driven decision-making. Start scraping today and unlock competitive advantages through data intelligence.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped.

## `max_items_per_url` (type: `integer`):

The maximum number of items to scrape per URL.

## Actor input object example

```json
{
  "urls": [
    "https://www.smartprix.com/mobiles"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}
```

# 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 = {
    "urls": [
        "https://www.smartprix.com/mobiles"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("stealth_mode/smartprix-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 = {
    "urls": ["https://www.smartprix.com/mobiles"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("stealth_mode/smartprix-product-search-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.smartprix.com/mobiles"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}' |
apify call stealth_mode/smartprix-product-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=stealth_mode/smartprix-product-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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