# Myntra Scraper - Products, Prices, Ratings, Sizes & Reviews (`get_anything/myntra-scraper`) Actor

Scrape Myntra India fashion by keyword (English/Hindi) or listing URL: price, MRP, discount, coupon best price, brand, rating, sizes, gender, category, tags, images. Optional details: 1-5 star breakdown, reviews, specs, size-level stock, seller. Price monitor. No login.

- **URL**: https://apify.com/get_anything/myntra-scraper.md
- **Developed by:** [Get Anything](https://apify.com/get_anything) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 products

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

## Myntra Scraper - Products, Prices, Ratings, Sizes & Reviews

Scrape **Myntra India fashion products** by keyword or listing URL and get every product as clean data:

- 💰 **Selling price, MRP, discount %, discount amount** and the **best price with coupon** (plus the coupon code).
- ⭐ **Rating and rating count** on every product; with details on, the full **1-5 star breakdown**, review count and top reviews.
- 👕 **Sizes available**, gender, category, sub-category, colour, season, and Myntra tags like *Bestseller in Kurtas* or *Deal of the Day*.
- 📦 **Product details (optional):** description, material & care, specifications, **size-level stock count**, seller, manufacturer, country of origin, returnable / COD.
- 🔁 **Monitor mode:** schedule it and get only **new products and price drops/increases** since the last run.

Search in **English or Hindi** (`sneakers`, `kurta for women`, `कुर्ता`), sort by popularity, newest, discount, price or rating, filter by gender, price band, discount and rating, or paste a Myntra listing URL to keep the brand and size filters you set on Myntra. Up to 500 products per search. No login, no cookies, no API key.

**हिंदी में:** Myntra से फ़ैशन प्रोडक्ट डेटा निकालें: कीमत, MRP, डिस्काउंट, कूपन के साथ बेस्ट प्राइस, ब्रांड, रेटिंग, साइज़, कैटेगरी और इमेज। डिटेल्स मोड में 1-5 स्टार ब्रेकडाउन, रिव्यू, स्पेसिफिकेशन, साइज़ के अनुसार स्टॉक और सेलर भी मिलते हैं। लॉगिन की ज़रूरत नहीं।

### What you can do with it

- **Price monitoring for fashion brands and sellers:** track your and your competitors' Myntra prices and discounts daily.
- **Discount and sale tracking:** find the deepest discounts in a category during sales (End of Reason Sale, Diwali).
- **Fashion market research:** which brands, price bands, colours and categories dominate a search, and how they are rated.
- **Stock and size availability:** see how many units are left per size (with details on).
- **Review analysis:** star breakdown and top reviews show product quality beyond the average rating.
- **AI agents and LLMs:** ask an assistant for the best-rated men's sneakers under ₹2,000 and it calls this Actor for live data.

### Input

| Field | Description |
|---|---|
| `searchKeywords` | What to search, one per line. English or Hindi. |
| `startUrls` | Optional Myntra listing URLs (`myntra.com/men-tshirts`, `myntra.com/sneakers?f=Brand%3ANike`). Filters in the URL are kept. |
| `maxResultsPerSearch` | Default 50, up to 500. `0` = all 500. |
| `sortBy` | `relevance`, `popularity`, `newest`, `discount`, `price-low`, `price-high`, `rating`. |
| `gender` | `any`, `men`, `women`, `boys`, `girls`. |
| `minPrice` / `maxPrice` | Price band in rupees. |
| `minDiscount` | Skip products discounted less than this percent. |
| `minRating` | Skip products rated below 3, 3.5, 4 or 4.5 stars. |
| `includeDetails` | Open each product page for star breakdown, reviews, specs, size stock and seller (extra event). |
| `onlyChanges` | Monitor mode: return only new products and price changes since the last run. |

```json
{
  "searchKeywords": ["sneakers", "kurta for women"],
  "sortBy": "popularity",
  "gender": "women",
  "minPrice": 500,
  "maxPrice": 2000,
  "minRating": "4",
  "maxResultsPerSearch": 100
}
```

### Output

```json
{
  "resultType": "product",
  "productId": 33539319,
  "title": "Anouk Women Floral Embroidered Flared Sleeves Thread Work Kurta",
  "brand": "Anouk",
  "url": "https://www.myntra.com/Kurtas/Anouk/Anouk-Women-Floral-Embroidered-Flared-Sleeves-Thread-Work-Kurta/33539319/buy",
  "price": 560,
  "mrp": 1999,
  "discountPercent": 72,
  "discountAmount": 1439,
  "bestPriceWithCoupon": 392,
  "couponCode": "MYNTRAEXCLUSIVE1",
  "currency": "INR",
  "rating": 4.29,
  "ratingCount": 10635,
  "sizes": ["S", "M", "L", "XL", "XXL", "3XL"],
  "gender": "Women",
  "category": "Kurtas",
  "subCategory": "Topwear",
  "masterCategory": "Apparel",
  "colour": "Maroon",
  "tags": ["Bestseller in Kurtas", "Best Seller", "Deal of the Day"],
  "sponsored": false,
  "image": "https://assets.myntassets.com/assets/images/...jpg",
  "searchQuery": "कुर्ता",
  "position": 1,
  "totalResults": 179462,
  "ratingBreakdown": { "1star": 671, "2star": 360, "3star": 807, "4star": 2163, "5star": 6634 },
  "reviewCount": 1539,
  "materialAndCare": "Poly Rayon Fabric Machine Wash",
  "sizeStock": [{ "size": "S", "available": true, "inventory": 96, "price": 560 }],
  "seller": "Astitva Creations Private Limited",
  "countryOfOrigin": "India",
  "detailsScraped": true
}
```

The last block of fields (`ratingBreakdown` onwards) is only filled when `includeDetails` is on. In monitor mode each item also has `changeTypes` (`new`, `price_drop`, `price_increase`) and `previousPrice`.

### Use it from ChatGPT, Claude & AI agents

This Actor works as a tool for AI assistants through the **Apify MCP server**:

- **Claude, ChatGPT, Cursor, VS Code, Windsurf:** add this MCP server URL as a connector and sign in with your Apify account:

  ```
  https://mcp.apify.com/?tools=get_anything/myntra-scraper
  ```

- **Claude Desktop / Cursor config:**

  ```json
  { "mcpServers": { "apify": { "url": "https://mcp.apify.com/?tools=get_anything/myntra-scraper" } } }
  ```

- **REST / GPT Actions / LangChain:** `POST https://api.apify.com/v2/acts/get_anything~myntra-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN`

Then ask, for example: *"Find 20 best-rated men's sneakers on Myntra under ₹2,000 with at least 50% off, and show the coupon price."*

### How much will it cost?

Pay per result, no subscription:

| Event | Price |
|---|---|
| Product | $1.50 per 1,000 products |
| Product details (only with `includeDetails`) | $2.50 per 1,000 products |
| Actor start | $0.001 per run |

1,000 products with prices, ratings and sizes cost about **$1.50**; with full details about **$4.00**. Higher Apify plans get up to 30% off.

### FAQ

**How many products can I get per search?** Myntra serves up to 500 products per search. For more, split by gender, price band or a more specific keyword, or use several listing URLs.

**Does it need a Myntra account?** No. It reads the same public data Myntra shows to any visitor.

**Is the stock count exact?** The `inventory` per size is what Myntra's product page reports for the main seller at the time of the run.

**What are sponsored products?** Myntra mixes a few paid listings into search results; they are marked `sponsored: true` so you can filter them out.

**Can it scrape a single product URL?** Turn on `includeDetails` and search for the product, or paste a listing URL; single product URLs are not a supported input.

### Changelog

- **0.1** - First release: keyword and listing URL search, gender/price/discount/rating filters, optional product details, monitor mode.

### Support

Found a bug or need another field? Open an issue on the Issues tab and it will be looked at quickly.

# Actor input Schema

## `searchKeywords` (type: `array`):

What to search on Myntra, one per line ('sneakers', 'kurta for women', 'nike t-shirt', 'कुर्ता').

## `startUrls` (type: `array`):

Optional. Paste Myntra listing URLs (myntra.com/men-tshirts, myntra.com/sneakers?f=Brand%3ANike) to keep the brand, size or price filters you set on the site. Sort, gender and price inputs below are ignored for these.

## `maxResultsPerSearch` (type: `integer`):

How many products to return per keyword or URL. Myntra serves up to 500 per search (use filters or more specific keywords for more). 0 = all 500.

## `sortBy` (type: `string`):

Order of results for keyword searches.

## `gender` (type: `string`):

Optional. Only products for this gender (unisex products are included for men and women).

## `minPrice` (type: `integer`):

Optional. Only products at or above this price in rupees.

## `maxPrice` (type: `integer`):

Optional. Only products at or below this price in rupees.

## `minDiscount` (type: `integer`):

Optional. Skip products discounted less than this percent off MRP.

## `minRating` (type: `string`):

Optional. Skip products rated below this.

## `includeDetails` (type: `boolean`):

Also open each product page for the 1-5 star rating breakdown, review count, top reviews, description, material & care, specifications, size-level stock, seller, manufacturer and country of origin. Charged as an extra 'product-details' event and slower.

## `onlyChanges` (type: `boolean`):

Remember each search's products and return only products that are new or whose price went up or down (with previousPrice) since the last run. The first run returns everything as 'new'. Schedule it daily for price tracking.

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

Apify Proxy keeps runs reliable: if Myntra does not serve a page, it is retried from a fresh IP.

## Actor input object example

```json
{
  "searchKeywords": [
    "sneakers"
  ],
  "maxResultsPerSearch": 20,
  "sortBy": "relevance",
  "gender": "any",
  "minDiscount": 0,
  "minRating": "0",
  "includeDetails": false,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One item per Myntra product from the searches.

# 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 = {
    "searchKeywords": [
        "sneakers"
    ],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("get_anything/myntra-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 = {
    "searchKeywords": ["sneakers"],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("get_anything/myntra-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 '{
  "searchKeywords": [
    "sneakers"
  ],
  "maxResultsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call get_anything/myntra-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,get_anything/myntra-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/XPzsPXG0yNdJC8uTM/builds/aAnJlLEsrOfDQVcgQ/openapi.json
