# Myntra Product Scraper 🛍️ (`easyapi/myntra-product-scraper`) Actor

Extract detailed product information from Myntra.com search results. Get comprehensive data including prices, discounts, inventory, images, and more. Perfect for price monitoring, market research, and e-commerce analytics. 🛍️

- **URL**: https://apify.com/easyapi/myntra-product-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Integrations
- **Stats:** 260 total users, 7 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 1.18 out of 5 stars

## Pricing

from $4.99 / 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?

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

## Myntra Product Scraper 🛍️

Scrape detailed product information from Myntra.com search results, including prices, discounts, inventory, images, and more.

### Features ✨

- Extract comprehensive product details from Myntra search results
- Support for pagination and dynamic loading
- Built-in stealth and anti-detection mechanisms
- Configurable proxy support
- Rate limiting and random delays for reliable scraping
- Efficient resource handling by filtering unnecessary requests

### Input Parameters 📝

| Field | Type | Description |
|-------|------|-------------|
| searchUrls | array | List of Myntra search URLs to scrape |
| maxItems | integer | Maximum number of items to scrape (optional) |
| proxyConfiguration | object | Proxy settings (optional) |

### Output Dataset 📊

The actor extracts detailed product information including:

- Product details (name, brand, ID)
- Pricing information (MRP, discounted price)
- Available sizes and inventory
- Product images
- Color variants
- Product categories and attributes
- Discount details and coupon information
- Rating and review counts
- Product metadata and system attributes

### Usage Tips 💡

1. Use search URLs from Myntra.com with desired filters applied
2. Adjust maxItems to control the number of products scraped
3. Configure proxy settings for better reliability
4. Monitor the actor's console for progress updates

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.myntra.com/shirts?f=Color%3AWhite_f2f2f2%3A%3AGender%3Amen%20women%2Cwomen"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "landingPageUrl": "shirts/showoff/showoff-women-comfort-floral-opaque-casual-shirt/31724176/buy",
        "loyaltyPointsEnabled": false,
        "adId": "",
        "isPLA": true,
        "productId": 31724176,
        "product": "SHOWOFF Women Comfort Floral Opaque Casual Shirt",
        "productName": "SHOWOFF Women Comfort Floral Opaque Casual Shirt",
        "rating": 0,
        "ratingCount": 0,
        "isFastFashion": false,
        "futureDiscountedPrice": 0,
        "futureDiscountStartDate": "",
        "discount": 2204,
        "brand": "SHOWOFF",
        "searchImage": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/TjYjyxLF_cf4dc676ec644e18821d42e2fa84478c.jpg",
        "effectiveDiscountPercentageAfterTax": 0,
        "effectiveDiscountAmountAfterTax": 0,
        "buyButtonWinnerSkuId": 102200122,
        "buyButtonWinnerSellerPartnerId": 12212,
        "relatedStylesCount": 0,
        "relatedStylesType": "",
        "productVideos": [],
        "inventoryInfo": [
            {
                "skuId": 102200122,
                "label": "XL",
                "inventory": 58,
                "available": true,
                "brandSizeLabel": "XL"
            }
        ],
        "colourVariants": [],
        "sizes": "XS,S,M,L,XL",
        "images": [
            {
                "view": "default",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/TjYjyxLF_cf4dc676ec644e18821d42e2fa84478c.jpg"
            },
            {
                "view": "right",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/RFD35rh9_4525a3a4013e48c389c6621c91d3e7f0.jpg"
            },
            {
                "view": "search",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/TjYjyxLF_cf4dc676ec644e18821d42e2fa84478c.jpg"
            },
            {
                "view": "back",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/4ScVPRQw_98c43ab8c0184c22aa156a5091bf235c.jpg"
            },
            {
                "view": "bottom",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/K5Og2BAp_d4ec88c40f31404ea71456713c1cff9b.jpg"
            },
            {
                "view": "top",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/Eyay5xnT_0725b99d4fbd435abd319f48b92e9d6b.jpg"
            },
            {
                "view": "front",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/JWatuKhl_d7b8bca98a414d3c9dd77eed0ad7c91a.jpg"
            },
            {
                "view": "size_representation",
                "src": ""
            },
            {
                "view": "left",
                "src": "http://assets.myntassets.com/assets/images/2024/NOVEMBER/23/dqlWy3Jx_97c47bc5061f440fa9f393e9c9a21ab6.jpg"
            }
        ],
        "gender": "Women",
        "primaryColour": "White",
        "discountLabel": "Flat_Search_Percent",
        "discountDisplayLabel": "(63% OFF)",
        "additionalInfo": "Opaque Casual Shirt",
        "category": "Shirts",
        "mrp": 3498,
        "price": 1294,
        "advanceOrderTag": "",
        "colorVariantAvailable": false,
        "productimagetag": "",
        "listViews": 0,
        "discountType": "1",
        "tdBxGyText": "",
        "catalogDate": "1732147200000",
        "season": "Summer",
        "year": "2024",
        "isPersonalised": false,
        "eorsPicksTag": "",
        "personalizedCoupon": "",
        "personalizedCouponValue": 0,
        "productMeta": "",
        "systemAttributes": [
            {
                "attribute": "SA_XT_DEAL_OF_THE_DAY",
                "value": "Deal of the Day",
                "metaInfo": ""
            },
            {
                "attribute": "SA_XT_MYNTRA_UNIQUE",
                "value": "Myntra Unique",
                "metaInfo": ""
            }
        ],
        "attributeTagsPriorityList": [],
        "preferredDeliveryTag": "",
        "deliveryPromise": "",
        "expressTags": [],
        "couponData": {
            "couponDiscount": 300,
            "endDate": "1740767340000",
            "tagLink": "https://www.myntra.com/myntra?f=Coupons:MYNTRA300_119006",
            "couponDescription": {
                "description": "{bestPriceText} {bestPrice} with coupon",
                "couponCode": "MYNTRA300",
                "bestPrice": 994,
                "bestPriceText": "Best Price",
                "templateInfo": {
                    "templateName": "template1",
                    "attributes": {
                        "couponDiscount": "",
                        "couponCode": "identifier1",
                        "bestPrice": "identifier1",
                        "bestPriceText": "identifier1"
                    }
                }
            }
        },
        "productMetaData": {
            "plaSlot": true,
            "plaSlotType": "",
            "plaReason": "",
            "plaRank": 0,
            "adSource": "FCC",
            "adsMeta": {
                "position": 0,
                "skuId": "31724176_12212",
                "productId": "31724176",
                "tracking": {
                    "click_url": "https://in1.data.cloud.flipkart.net/v1/spa/tr/click?pl=BLG8uSTuU8rAF8evpfKtM6WrF3c9OtWsh5S8FBxFPVrLzb9VKu8A8rDaFeHAswyXWnLaJYtwrGMkp24rMcYI0KOOyHKLsE_S5m-4t1vmnch3OnpECs5mnFokvwxaoBPjZ09zxrAXaaqesyXTQS_Zjk7LQprfOj_OAjzBhH-i24puGcxKWb0RYvuZh4L4_8I0&cet=[EVENTTIME]&adType=SPA",
                    "view_url": "https://in1.data.cloud.flipkart.net/v1/spa/tr/view?pl=BLG8uSTuU8rAF8evpfKtM6WrF3c9OtWsh5S8FBxFPVrLzb9VKu8A8rDaFeHAswyXWnLaJYtwrGMkp24rMcYI0KOOyHKLsE_S5m-4t1vmnch3OnpECs5mnFokvwxaoBPjZ09zxrAXaaqesyXTQS_Zjk7LQprfOj_OAjzBhH-i24puGcxKWb0RYvuZh4L4_8I0&vst=[STARTTIME]&vet=[ENDTIME]&adType=SPA",
                    "impression_url": "https://in1.data.cloud.flipkart.net/v1/spa/tr/impression?pl=BLG8uSTuU8rAF8evpfKtM6WrF3c9OtWsh5S8FBxFPVrLzb9VKu8A8rDaFeHAswyXWnLaJYtwrGMkp24rMcYI0KOOyHKLsE_S5m-4t1vmnch3OnpECs5mnFokvwxaoBPjZ09zxrAXaaqesyXTQS_Zjk7LQprfOj_OAjzBhH-i24puGcxKWb0RYvuZh4L4_8I0&adType=SPA"
                },
                "sellerId": "12212",
                "bannerId": "MY8AGN6OFN22OR",
                "campaignId": "MYARW2FJV5ADHZ",
                "isCrossBrandAd": false,
                "crossBrandFallback": "SEARCH",
                "crossBrandInfo": null
            },
            "lmsMetadata": "",
            "isUld": false,
            "organicMeta": {
                "metasrcDsExplore": "",
                "metasrcDsCohort": "",
                "metasrcDsFwdCohort": "",
                "exploreReason": "",
                "exploreSlot": false,
                "isExplore": false
            }
        },
        "virtualTryOn": {
            "vtrPartner": ""
        },
        "vtrApplicable": false,
        "articleType": {
            "typeName": "Shirts"
        },
        "subCategory": {
            "typeName": "Topwear"
        },
        "masterCategory": {
            "typeName": "Apparel"
        },
        "mediaData": [],
        "hasMultipleSizes": true,
        "relatedColoursCount": 0,
        "styleTagEntry": {
            "tagGroups": {
                "attributeTags": {},
                "miscTags": {},
                "pricing": {},
                "selection": {
                    "tagInfos": [
                        {
                            "name": "Deal of the Day",
                            "tagId": "Deal_of_the_Day"
                        },
                        {
                            "name": "Myntra Unique",
                            "tagId": "Myntra_Unique"
                        }
                    ]
                },
                "trends": {},
                "trust": {}
            }
        },
        "brandLogo": "https://assets.myntassets.com/assets/images/2023/7/21/b551e012-84fd-4888-becb-bdf3aec029a11689936101755-croppedImage-1689936101496.jpg",
        "rankingSource": null,
        "searchUrl": "https://www.myntra.com/shirts?f=Color%3AWhite_f2f2f2%3A%3AGender%3Amen%20women%2Cwomen"
    },
    ...
]
```

### Related Actors

- 🛍️ [Flipkart Product Scraper](https://apify.com/easyapi/flipkart-product-scraper) - Extract product data from India's leading e-commerce platform Flipkart
- 🛍️ [AJIO Product Scraper](https://apify.com/easyapi/ajio-product-scraper) - Scrape detailed product information from AJIO's fashion marketplace
- 🛍️ [Meesho Product Search Scraper](https://apify.com/easyapi/meesho-product-search-scraper) - Extract product listings from Meesho search results
- 🛍️ [Zara Product Scraper](https://apify.com/easyapi/zara-product-scraper) - Extract detailed product information from Zara's online store
- 🛒 [Costco Product Search Scraper](https://apify.com/easyapi/costco-product-search-scraper) - Scrape product data from Costco.com search results
- 🛍️ [Nike Product Scraper](https://apify.com/easyapi/nike-product-scraper) - Extract product data from Nike.com search results
- 🛍️ [Hobby Lobby Products Scraper](https://apify.com/easyapi/hobby-lobby-products-scraper) - Scrape product data from Hobby Lobby's website
- 🛍️ [Lidl Product Scraper](https://apify.com/easyapi/lidl-product-scraper) - Extract product data from Lidl's online store
- 🏥 [Netmeds Product Scraper](https://apify.com/easyapi/netmeds-product-scraper) - Scrape detailed product information from Netmeds.com
- 📊 [Myntra Reviews Scraper](https://apify.com/easyapi/myntra-reviews-scraper) - Extract detailed product reviews from Myntra.com
- 🛍️ [Meesho Product Detail Scraper](https://apify.com/easyapi/meesho-product-detail-scraper) - Scrape detailed product information from Meesho.com
- 🛍️ [Flipkart Review Scraper](https://apify.com/easyapi/flipkart-review-scraper) - Extract comprehensive product reviews from Flipkart
- 🛍️ [Noon.com Reviews Scraper](https://apify.com/easyapi/noon-com-reviews-scraper) - Scrape product reviews from Noon.com
- 🛍️ [Tokopedia Product Scraper](https://apify.com/easyapi/tokopedia-product-scraper) - Extract product data from Tokopedia search results
- 🛒 [Woolworths Product Scraper](https://apify.com/easyapi/woolworths-product-scraper) - Scrape detailed product data from Woolworths Australia

# Actor input Schema

## `searchUrls` (type: `array`):

List of Myntra search URLs to scrape

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

Maximum number of items to scrape

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

Proxy settings for the crawler

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.myntra.com/shirts?f=Color%3AWhite_f2f2f2%3A%3AGender%3Amen%20women%2Cwomen"
  ],
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/myntra-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/myntra-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 '{}' |
apify call easyapi/myntra-product-scraper --silent --output-dataset

```

## MCP server setup

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