# Myntra Listings Scraper (`piotrv1001/myntra-listings-scraper`) Actor

The Myntra Listings Scraper extracts products from Myntra.com categories and search results, capturing names, brands, prices, discounts, ratings, images, and optional full details like descriptions, size availability, and sellers — ideal for price monitoring and fashion market research.

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

## Pricing

from $1.00 / 1,000 product listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Scraper

Easily extract **product data from Myntra.com**, India's largest fashion e-commerce platform. The **Myntra Scraper** lets you gather structured product data from any category, search query, or filtered listing — perfect for **price monitoring, competitor analysis, fashion trend research, and dropshipping**.

### ✨ Features

- 🏷️ **Comprehensive product data**: name, brand, price, MRP, discount, rating, review count, sizes, images, and product URL.
- 🔍 **Search & category support**: scrape by keywords (e.g. `nike running shoes`) or paste any Myntra category/search URL — filters and sorting in the URL are respected.
- 📦 **Optional deep product details**: flip one switch to also get the full description, all product images, size-level stock availability, seller name, country of origin, and detailed attributes.
- 🚀 **Fast & scalable**: fetches up to 100 products per request and automatically splits large categories into smaller slices, so even categories with 300,000+ products can be scraped.
- 💰 **Transparent pay-per-result pricing**: you pay only for the products you get — no charge for starting the Actor.

### 🛠️ How It Works

1. **Enter a category URL or search keywords** – e.g. `https://www.myntra.com/men-tshirts` or `nike running shoes`.
2. **Set the maximum number of products** – the default is 50.
3. **(Optional) Enable product details** – to fetch the full description, images, and size availability for every product.
4. **Run the scraper** – and download the results as JSON, CSV, Excel, or HTML.

### ⚙️ Input

| Field | Type | Description |
| --- | --- | --- |
| `startUrls` | array | Myntra category or search result URLs (filters in the URL are respected) |
| `searchQueries` | array | Keywords to search for, e.g. `nike running shoes` |
| `maxItems` | integer | Maximum number of products to scrape (default: 50) |
| `scrapeDetails` | boolean | Also fetch full product details for every result (default: false) |
| `proxyConfiguration` | object | Proxy settings — residential proxies are recommended |

```json
{
    "startUrls": [{ "url": "https://www.myntra.com/men-tshirts" }],
    "searchQueries": ["nike running shoes"],
    "maxItems": 50,
    "scrapeDetails": false
}
````

### 📊 Sample Output Data

The scraper provides structured JSON output with key product details. Example (with `scrapeDetails: true`):

```json
{
    "productId": 40504439,
    "name": "Nike Quest 5 Women's Road Running Shoes",
    "brand": "Nike",
    "price": 3148,
    "mrp": 6295,
    "discount": "(50% OFF)",
    "currency": "INR",
    "rating": 4.08,
    "ratingCount": 13,
    "category": "Sports Shoes",
    "gender": "Women",
    "primaryColour": "Black",
    "sizes": ["3", "4", "5", "6", "7", "8", "9"],
    "image": "http://assets.myntassets.com/assets/images/2026/MARCH/6/mva1ihVW_2f650a667e3f402193ca0b0fc01cab14.jpg",
    "url": "https://www.myntra.com/Sports-Shoes/Nike/Nike-Quest-5-Womens-Road-Running-Shoes/40504439/buy",
    "description": "You lace up in pursuit of new personal goals. Let the Nike Quest 5 help you reach those aspirations...",
    "materialAndCare": "Upper material: Mesh Outer material: PU Wipe with a clean, dry cloth to remove the dust",
    "articleType": "Sports Shoes",
    "masterCategory": "Footwear",
    "baseColour": "Black",
    "countryOfOrigin": "Vietnam",
    "seller": "Nike India Private Limited",
    "images": [
        "https://assets.myntassets.com/v1/assets/images/2026/MARCH/6/mva1ihVW_2f650a667e3f402193ca0b0fc01cab14.jpg",
        "https://assets.myntassets.com/v1/assets/images/2026/MARCH/6/Ef4noiX8_20988dc989a3498aa03fc114e4eb17ab.jpg"
    ],
    "sizesDetail": [
        { "size": "3", "available": true, "skuId": 129607057 },
        { "size": "4", "available": true, "skuId": 129607058 }
    ],
    "articleAttributes": {
        "Ankle Height": "Regular",
        "Cushioning": "Medium",
        "Fastening": "Lace-Ups",
        "Materials": "Mesh"
    }
}
```

The fields `description`, `materialAndCare`, `seller`, `countryOfOrigin`, `images`, `sizesDetail`, and `articleAttributes` are only included when **Scrape product details** is enabled.

### 💰 How much does it cost to scrape Myntra?

You pay per product scraped — nothing for starting the Actor:

| Event | Price | What you get |
| --- | --- | --- |
| Product listing | **$1.00 / 1,000 products** | Name, brand, price, discount, rating, image, URL |
| Product detail | **$4.00 / 1,000 products** | Everything above + description, all images, size-level stock, seller, attributes |

For example, scraping 10,000 products from a category costs **$10**, or **$40** with full product details.

### 💡 Tips

- **Use category URLs with filters** — apply brand, price, or discount filters on Myntra first, then paste the filtered URL to scrape exactly what you need.
- **Keep `scrapeDetails` off** when you only need prices and ratings — it's 4× cheaper and much faster.
- **Large categories work fine** — the scraper automatically splits categories with hundreds of thousands of products into price slices and walks through them.
- **Set `maxItems`** to control your costs precisely; the scraper stops as soon as the limit is reached.

### ❓ FAQ

**Is it legal to scrape Myntra?**
This scraper only collects publicly available product data. Always review Myntra's Terms of Service and consult a legal professional regarding your specific use case.

**Can I schedule runs or connect the data to my own systems?**
Yes — the Apify platform lets you schedule runs, set up integrations (Google Sheets, webhooks, Make, Zapier), and access all results via API.

**Something not working?**
Open an issue in the **Issues** tab of the Actor and we'll take a look. Custom solutions are available on request.

Optimize your fashion market research with **Myntra Scraper** today! 🚀

# Actor input Schema

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

Myntra category or search result URLs to scrape, e.g. `https://www.myntra.com/men-tshirts`. Filters and sorting in the URL are respected.

## `searchQueries` (type: `array`):

Keywords to search for on Myntra, e.g. `nike running shoes`. Used in addition to Start URLs.

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

Maximum number of products to scrape across all queries and URLs.

## `scrapeDetails` (type: `boolean`):

Also fetch each product's detail page to get the description, all images, size availability, and product attributes. Slower and costs more per product.

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

Proxies to use for scraping. Residential proxies are required for reliable results.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.myntra.com/men-tshirts"
    }
  ],
  "searchQueries": [],
  "maxItems": 50,
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.myntra.com/men-tshirts"
        }
    ],
    "searchQueries": [],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/myntra-listings-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 = {
    "startUrls": [{ "url": "https://www.myntra.com/men-tshirts" }],
    "searchQueries": [],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/myntra-listings-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 '{
  "startUrls": [
    {
      "url": "https://www.myntra.com/men-tshirts"
    }
  ],
  "searchQueries": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call piotrv1001/myntra-listings-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Myntra Listings Scraper",
        "description": "The Myntra Listings Scraper extracts products from Myntra.com categories and search results, capturing names, brands, prices, discounts, ratings, images, and optional full details like descriptions, size availability, and sellers — ideal for price monitoring and fashion market research.",
        "version": "0.0",
        "x-build-id": "SFjSXUkrXgesYJQH3"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~myntra-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-myntra-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~myntra-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-myntra-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~myntra-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-myntra-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Myntra category or search result URLs to scrape, e.g. `https://www.myntra.com/men-tshirts`. Filters and sorting in the URL are respected.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Keywords to search for on Myntra, e.g. `nike running shoes`. Used in addition to Start URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of products to scrape across all queries and URLs.",
                        "default": 50
                    },
                    "scrapeDetails": {
                        "title": "Scrape product details",
                        "type": "boolean",
                        "description": "Also fetch each product's detail page to get the description, all images, size availability, and product attributes. Slower and costs more per product.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxies to use for scraping. Residential proxies are required for reliable results.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
