# Meesho Product Scraper (`scrapeai/meesho-product-scraper`) Actor

This Apify scraper extracts detailed product data from Meesho, including titles, prices, images, ratings, and categories. Perfect for market research, price monitoring, and e-commerce analytics with structured JSON or CSV output for easy data analysis.

- **URL**: https://apify.com/scrapeai/meesho-product-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Security:** Full permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

🧠 Meesho Product API Scraper

This Apify actor scrapes product listings from Meesho using their official API endpoint. It extracts structured product data such as name, price, discount, image, seller, rating, and more — perfect for e-commerce data collection and market research.

✅ Use Cases

🛍️ Collect product listings and prices via API

📊 Perform market research and competitor analysis

💰 Monitor pricing and discounts

🏷️ Build product catalogs for various categories

📥 Input Configuration

You can customize the actor using the following input fields:

```json
{
  "search": "saree",
  "maxItems": 100,
  "enableCaching": true,
  "debugMode": false
}
```

🧾 Fields Explained
Field	Type	Description
search	string	Product search term (e.g., 'saree', 'kurti', 'dress')
maxItems	number	Maximum number of products to scrape (0 for unlimited)
enableCaching	boolean	Enable duplicate prevention by product name
debugMode	boolean	Enable detailed logging for debugging

📤 Output

The actor returns a dataset containing an array of structured product listings fetched directly from Meesho's API.
Each record includes key details about the product, suitable for e-commerce analysis and data collection.

🧩 Sample Output

```json
[
  {
    "name": "Jivika Sensational Sarees",
    "price": "₹246",
    "originalPrice": "₹272",
    "discount": "10% off",
    "image": "https://images.meesho.com/images/products/537360366/i1q8t_512.webp?width=360",
    "seller": "",
    "rating": "3.9",
    "reviews": "4774 Reviews",
    "shared_url": "https://www.meesho.com/white-lehriya-sareeholi-specialleheriya-saree/p/8vxhwu",
    "success": true
  }
]
```

🚀 How to Use

Open the actor in Apify Console

Click "Try actor" or create a new task

Enter your desired search term

Set maximum items to scrape (optional)

Run the actor

Download your product data in JSON, CSV, or Excel format

⚙️ Advanced Input Example

```json
{
  "search": "kurti",
  "maxItems": 500,
  "enableCaching": true,
  "debugMode": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "IN"
  }
}
```

🛠️ Tech Stack

🧩 Apify SDK — for actor and data handling

🕷️ Crawlee — for robust data processing

🌐 Fetch API — for direct API communication

⚙️ Node.js — fast, scalable backend environment

🔄 API-Based Approach

This actor uses Meesho's official API endpoint (`https://www.meesho.com/api/v1/products/search`) for:

⚡ Faster data collection (no browser rendering)

🎯 More reliable extraction (structured API responses)

🔧 Easier maintenance (API changes are easier to handle)

📊 Higher success rates (no DOM parsing issues)

# Actor input Schema

## `search` (type: `string`):

Product search term (e.g., 'saree', 'kurti', 'dress')

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

Maximum number of products to scrape (0 for unlimited)

## `enableCaching` (type: `boolean`):

Enable caching to prevent duplicate products by name

## `debugMode` (type: `boolean`):

Enable detailed logging for debugging

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

Use residential proxies to bypass API blocking

## Actor input object example

```json
{
  "search": "saree",
  "maxItems": 100,
  "enableCaching": true,
  "debugMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# 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 = {
    "search": "saree",
    "maxItems": 100,
    "enableCaching": true,
    "debugMode": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/meesho-product-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 = {
    "search": "saree",
    "maxItems": 100,
    "enableCaching": True,
    "debugMode": False,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/meesho-product-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 '{
  "search": "saree",
  "maxItems": 100,
  "enableCaching": true,
  "debugMode": false
}' |
apify call scrapeai/meesho-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/meesho-product-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/ieBlkzFwOEsOIlWQ0/builds/MND39ohBmGKGPSgSQ/openapi.json
