# Myntra Scraper & Price Tracker (Prices, Ratings, History) (`himanshu-data/myntra-scraper-price-tracker`) Actor

Scrape Myntra search results, categories, brands and product pages: price, MRP, discount, coupon price, rating, rating count, sizes in stock, seller and specs. Tracks every product's price over time and draws price charts.

- **URL**: https://apify.com/himanshu-data/myntra-scraper-price-tracker.md
- **Developed by:** [Himanshu Agrawal](https://apify.com/himanshu-data) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 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 & Price Tracker (Prices, Ratings, History)

Get **Myntra product data and track prices over time**: price, MRP, discount, **best price with coupon**, rating, rating count, sizes in stock, units per size, category and images. Search by keyword, paste any category, brand or filtered list link, or add product links. Every run also records each product's price, so a daily schedule gives you **price history, lowest and highest price, price-drop alerts and price charts**. No login.

### What you can use it for

- **Price tracking and deal alerts:** schedule it daily and see which products dropped in price, by how much, and whether today is the lowest price tracked.
- **Brands and sellers:** monitor your own and competitors' prices, discounts, coupons, ratings and stock per size.
- **Market research:** discount levels, bestsellers and new launches by category or brand.
- **Affiliate and deal sites:** a fresh feed of the biggest discounts with coupon prices.
- **Analysts and AI:** clean JSON or CSV for Sheets, dashboards, Make, n8n, Zapier or the API.

### Input

| Field | What it does |
|---|---|
| Search keywords | What you would type in Myntra's search box, e.g. `levis jeans`, `kurta sets`. |
| Myntra links | Category, brand, search or filtered list pages (set filters on Myntra and paste the link), product pages or product IDs. |
| Max products per keyword or list link | Myntra shows 50 per page. |
| Sort by | Recommended, popularity, what's new, discount, price low to high or high to low, customer rating. |
| Open each product page for full details | Adds rating breakdown, description, specifications, seller, bank offers, offer end time, return policy, colour variants and all images. |
| Include sponsored products | Off keeps only organic results with their true rank. |
| Track price history / Draw price charts | On by default. See below. |
| Price history name | Runs with the same name share one history. Use another name for a separate watchlist. |

```json
{
  "searchTerms": ["levis jeans"],
  "startUrls": ["https://www.myntra.com/men-tshirts?f=Brand%3ANike", "https://www.myntra.com/12027436"],
  "maxItemsPerSearch": 60,
  "sort": "popularity"
}
```

### Output

One row per product (real output, October 2026; shortened):

```json
{
  "productId": 27368026,
  "url": "https://www.myntra.com/jeans/levis/levis-men-511-slim-tapered-fit-jeans/27368026/buy",
  "title": "Levis Men 511 Slim Tapered Fit Jeans",
  "brand": "Levis",
  "price": 1439,
  "mrp": 2999,
  "discountPercent": 52,
  "bestPriceWithCoupon": 1089,
  "couponCode": "BFFEXCLUSIVE35",
  "rating": 4.3,
  "ratingCount": 35818,
  "category": "Jeans",
  "gender": "Men",
  "sizes": ["30", "32", "34", "36", "38"],
  "sizesInStock": ["32"],
  "tags": ["Bestseller in Jeans", "New Buyers Choice"],
  "rank": 1,
  "lowestPrice": 1439,
  "highestPrice": 1439,
  "priceChange": null,
  "trackedSince": "2026-10-18",
  "priceChartUrl": null
}
```

With full details you also get, for example: `ratingBreakdown` (`{"5": 9, "4": 0, ...}`), `seller` ("Nike India Private Limited"), `offerEndsAt`, `returnPeriodDays` (14), `countryOfOrigin`, `specifications`, `stockBySize` with units, `bankOffers` and all images.

### Price history and charts

Myntra does not publish price history, so this Actor builds it for you:

1. Every run saves each product's price for the day in a price history stored in **your own Apify account**.
2. From the second day on, each row shows `priceHistory` (date, price, MRP), `previousPrice`, `priceChange` and `priceChangePercent`, `lowestPrice` and `highestPrice` with dates, and `isLowestPrice`.
3. Each product with 2 or more days gets a **price chart** image (`priceChartUrl`), and every run creates one **HTML price report** with all products, biggest drops first (Output tab, "Price report").

Schedule the Actor daily (Apify Console > Schedules) with the same input to watch a list of products or searches.

### Pricing

Pay per product: **$1.50 per 1,000 products** from search and list pages, or **$3 per 1,000 with full details**, on paid Apify plans (less on Scale and Business). Price history, charts and the report are included. Products that fail to load are not charged.

### Tips

- Set filters (brand, size, price, colour) on myntra.com and paste the link: they are kept.
- Use the same price history name in every scheduled run, or the history starts again.
- The Actor collects public product information only, no personal data.

# Actor input Schema

## `searchTerms` (type: `array`):

What you would type in Myntra's search box, e.g. men tshirts, nike running shoes, kurta sets. One per line.

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

Category, brand, search or filtered list pages (e.g. https://www.myntra.com/men-tshirts?f=Brand%3ALevis) and product pages or product IDs (e.g. 12027436). One per line.

## `maxItemsPerSearch` (type: `integer`):

Myntra shows 50 products per page. Product links are always scraped in full.

## `sort` (type: `string`):

Order of the results. It also decides which products you get when a search has more products than your limit.

## `fullDetails` (type: `boolean`):

Adds rating breakdown (1 to 5 stars), description, specifications, units in stock per size, seller, bank offers, offer end time, return policy, colour variants and all images. Slower, and charged as 'Product with details'.

## `includeSponsored` (type: `boolean`):

Myntra mixes ad listings into results. Off keeps only organic results with their true rank.

## `trackPriceHistory` (type: `boolean`):

Remembers each product's price on every run (one point per day) and adds price history, lowest and highest price, and the change since the last run. Schedule the Actor daily to build the history.

## `priceCharts` (type: `boolean`):

Saves a price chart image for every product with at least 2 days of history, plus one HTML price report for the whole run.

## `historyName` (type: `string`):

Runs with the same name share one price history, stored in your own Apify account. Use a different name for a separate watchlist.

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

Indian residential proxies are used by default, because Myntra is an Indian store and blocks most data-center traffic.

## Actor input object example

```json
{
  "searchTerms": [
    "levis jeans"
  ],
  "maxItemsPerSearch": 20,
  "sort": "recommended",
  "fullDetails": false,
  "includeSponsored": false,
  "trackPriceHistory": true,
  "priceCharts": true,
  "historyName": "myntra-price-history",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

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

No description

## `report` (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 = {
    "searchTerms": [
        "levis jeans"
    ],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "IN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("himanshu-data/myntra-scraper-price-tracker").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 = {
    "searchTerms": ["levis jeans"],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "IN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("himanshu-data/myntra-scraper-price-tracker").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 '{
  "searchTerms": [
    "levis jeans"
  ],
  "maxItemsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}' |
apify call himanshu-data/myntra-scraper-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,himanshu-data/myntra-scraper-price-tracker"
        }
    }
}
```

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/huENvXw7d2R8acyva/builds/bHSbN9IJNYh8UsEKv/openapi.json
