# Myntra Product Scraper (`sian.agency/myntra-product-scraper`) Actor

Scrape Myntra products — price, MRP, discount %, ratings, reviews, sizes, colour variants, images & specs. Keyword, category or URL search with full detail enrichment. Clean JSON/CSV, no code.

- **URL**: https://apify.com/sian.agency/myntra-product-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** E-commerce, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.10 / 1,000 overview product extracteds

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/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 Product Scraper — Prices, Sizes, Reviews & Specs 👗

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Flipkart Product Scraper](https://img.shields.io/badge/Store-Flipkart%20Product%20Scraper-2874F0)](https://apify.com/sian.agency/flipkart-product-scraper?fpr=sian) [![AliExpress Product Scraper](https://img.shields.io/badge/Store-AliExpress%20Product%20Scraper-E62E04)](https://apify.com/sian.agency/aliexpress-product-scraper?fpr=sian) [![Google Shopping Price Tracker](https://img.shields.io/badge/Store-Google%20Shopping%20Prices-4285F4)](https://apify.com/sian.agency/google-shopping-price-scraper?fpr=sian)

#### 🎉 Turn any Myntra search into a clean product dataset — price, MRP, discount %, ratings, sizes, colour variants, images & full specs
##### Built for price-monitoring teams, fashion e-commerce analysts, and catalog researchers who need Myntra data without writing a single line of code

---

### 📋 Overview

**Myntra Product Scraper pulls clean, structured product data from Myntra** — India's leading online fashion and lifestyle marketplace — straight into a spreadsheet-ready dataset. Search by keyword, browse a whole category, or paste a Myntra URL, and get back every product with its price, discount, ratings, sizes, colours, images and full specifications.

**Why teams choose this scraper:**
- ✅ **Complete product records**: style id, name, brand, price, MRP, discount %, rating, rating count, sizes, colour variants and image gallery — all in one row
- ⚡ **Two speeds, one dataset**: fast **Overview** for wide catalog sweeps, deep **Detail** for the full spec sheet, description, reviews count, seller and country of origin
- 🎯 **Myntra's own filters**: brand, gender, colour, size and price band mirror the site's real facets, so you get exactly what shoppers see
- 💰 **Pay-per-result**: you're charged only for products you actually receive — no wasted spend
- 💎 **No code, no account, no API key**: paste a search term and press Start
- ✨ **URL & category friendly**: drop in any Myntra listing or product URL and it just works

---

### ✨ Features

- 👕 **Full product catalog extraction** — name, brand, style id, article type, gender, master & sub category
- 💵 **Complete pricing** — selling price, MRP, discount amount and discount %, all in INR
- ⭐ **Ratings & reviews** — average rating, rating count, review count and the full star-rating breakdown
- 📏 **Sizes & colour variants** — every available size plus the style ids of sibling colour variants
- 📸 **Image galleries** — the search card image plus the full product gallery in detail mode
- 📋 **Full specifications** — the complete product specification table (fabric, fit, pattern, care and more)
- 🏬 **Seller & origin** — seller name and manufacturing country of origin
- 🔃 **Native sorting** — recommended, popularity, price, newest, discount or customer rating
- 🎛️ **Powerful filtering** — brand, gender, colour, size and a client-side price band
- 🔗 **Flexible inputs** — keyword search, category slug, listing URL or direct product URL

---

### 🎬 Quick Start

Provide a search term (or a Myntra URL), choose Overview or Detail, press **Start** — results stream into the dataset as JSON, CSV or Excel.

```bash
curl -X POST https://api.apify.com/v2/acts/sian.agency~myntra-product-scraper/runs?token=YOUR_TOKEN \
-H 'Content-Type: application/json' \
-d '{"queries": ["men-tshirts"], "scrapeMode": "overview", "brand": "Nike"}'
````

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Enter what to scrape

Add a search term or category slug (e.g. `tshirts`, `men-tshirts`, `women-dresses`), or paste a Myntra listing/product URL.

#### Step 2: Choose your depth & filters

Pick **Overview** (fast) or **Detail** (full specs + reviews + seller), then optionally set brand, gender, colour, size, price band and sort.

#### Step 3: Press Start

Watch the products stream into your dataset.

**That's it! In under a minute, you'll have:**

- A clean, spreadsheet-ready product dataset
- Every price, discount, rating, size and image
- One-click export to JSON, CSV or Excel

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `queries` | array | No | Search terms or Myntra category slugs (e.g. `men-tshirts`, `tshirts`) |
| `scrapeMode` | string | No | `overview` (fast) or `detail` (full specs, reviews, seller) |
| `sort` | string | No | `recommended`, `popularity`, `price_asc`, `price_desc`, `newest`, `discount`, `rating` |
| `brand` | string | No | Restrict to one brand (e.g. `Nike`) — Myntra's own brand facet |
| `gender` | string | No | `men`, `women`, `boys`, `girls` or `unisex` |
| `colour` | string | No | Restrict to a colour (e.g. `Black`) |
| `size` | string | No | Restrict to a size (e.g. `M`, `9`) |
| `minPrice` / `maxPrice` | integer | No | Client-side price band in INR |
| `searchUrls` | array | No | Paste Myntra listing/search URLs to scrape verbatim |
| `productUrls` | array | No | Paste Myntra product URLs to enrich directly (always full detail) |
| `maxResults` | integer | No | Cap on total products returned |

**Example — overview by category + brand:**

```json
{
  "queries": ["men-tshirts"],
  "scrapeMode": "overview",
  "brand": "Nike",
  "sort": "popularity",
  "maxResults": 100
}
```

**Example — full detail with a price band:**

```json
{
  "queries": ["women-dresses"],
  "scrapeMode": "detail",
  "minPrice": 500,
  "maxPrice": 2000
}
```

***

### 📤 Output

Results are saved to the Apify dataset with **30+ fields** per product, including:

| Field | Type | Description |
|-------|------|-------------|
| `style_id` | integer | Myntra product style id |
| `product_name` | string | Full product name |
| `brand` | string | Brand name |
| `price` / `mrp` | integer | Selling price and list price (INR) |
| `discount_percent` | number | Discount off the MRP |
| `rating` / `rating_count` | number | Average rating and number of ratings |
| `reviews_count` | integer | Number of written reviews (detail) |
| `rating_breakdown` | object | Star histogram `{ "5": n, "4": n, ... }` (detail) |
| `sizes` | array | Available sizes |
| `colour_variants` | array | Sibling colour-variant style ids |
| `images` | array | Full image gallery |
| `specifications` | object | Full spec table — fabric, fit, pattern, care… (detail) |
| `seller_name` | string | Seller fulfilling the item (detail) |
| `country_of_origin` | string | Manufacturing country (detail) |
| `url` | string | Product page link |

**Example:**

```json
{
  "style_id": 30242288,
  "product_name": "Decathlon Domyos - Kids Black Moisture Management T-shirt",
  "brand": "Decathlon",
  "price": 299,
  "mrp": 599,
  "discount_percent": 50.1,
  "rating": 3.96,
  "rating_count": 28,
  "reviews_count": 6,
  "gender": "Unisex Kids",
  "article_type": "Tshirts",
  "sizes": ["7-8Y", "8-9Y", "10-11Y", "12-13Y", "14-15Y"],
  "colour_variants": [30242290],
  "images": ["https://assets.myntassets.com/…-1.jpg"],
  "seller_name": "Decathlon Sports India Pvt Ltd",
  "country_of_origin": "India",
  "url": "https://www.myntra.com/Tshirts/Decathlon/…/30242288/buy"
}
```

***

### 💼 Use Cases & Examples

#### 1. Price & Discount Monitoring

**E-commerce teams tracking competitor prices and promotions across Myntra.**
**Input:** A category slug or brand · **Output:** Price, MRP and discount % per product · **Use:** Spot price drops and flash-sale depth in a daily run.

#### 2. Fashion Catalog & Assortment Research

**Merchandisers mapping what's on sale, in which sizes and colours.**
**Input:** `women-dresses` in detail mode · **Output:** Sizes, colour variants and article types · **Use:** Understand assortment breadth and gap-spot your own catalog.

#### 3. Competitor Pricing Intelligence

**Analysts benchmarking a brand's Myntra pricing.**
**Input:** `brand: "Nike"` · **Output:** Every Nike product with price and discount · **Use:** Build a live competitor price index.

#### 4. Product Feed & Spec Extraction

**Teams building product feeds that need the full spec sheet.**
**Input:** Detail mode · **Output:** Full specifications table, description and image gallery · **Use:** Populate marketplaces or comparison sites.

#### 5. Size & Availability Tracking

**Ops teams watching which sizes and colours are live.**
**Input:** A product URL list · **Output:** Sizes and colour variants per style · **Use:** Track stock breadth over time.

#### 6. Seller & Sourcing Research

**Sourcing teams checking who sells what and where it's made.**
**Input:** Detail mode · **Output:** Seller name and country of origin · **Use:** Map sellers and manufacturing origins across a category.

***

### 🔗 Integration Examples

#### JavaScript/Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/myntra-product-scraper').call({
  queries: ['men-tshirts'],
  scrapeMode: 'overview',
  brand: 'Nike',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/myntra-product-scraper').call(
    run_input={'queries': ['women-dresses'], 'scrapeMode': 'detail'}
)

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~myntra-product-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"queries": ["handbags"], "scrapeMode": "overview"}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: Schedule (e.g. daily price check) or webhook
2. **HTTP Request**: Call the actor API
3. **Process**: Handle the JSON product results
4. **Action**: Save to a sheet, alert on price drops, or sync to your feed

***

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **25 products** per run — full feature access, same data quality
- No credit card required
- Perfect for testing and small projects

#### PAID Tier (Production Ready)

- **Unlimited** products per run
- Sweep entire categories in a single run
- Pay-per-result: only charged for products actually returned

💰 **Transparent pay-per-result pricing** — the fast Overview event is the cheapest, so wide catalog sweeps stay affordable.

🔗 [View current pricing](https://apify.com/sian.agency/myntra-product-scraper?fpr=sian)

***

### ❓ Frequently Asked Questions

**Q: How many products can I scrape?**
A: FREE tier: 25 per run. PAID tier: unlimited across all your searches and URLs.

**Q: What's the difference between Overview and Detail?**
A: Overview is the fast search view (name, brand, price, MRP, discount, rating, sizes, colour variants, images). Detail adds the full description, specifications table, whole image gallery, star-rating breakdown, review count, seller and country of origin — merged into the same record.

**Q: Can I filter by brand, size or price?**
A: Yes — brand, gender, colour and size use Myntra's own facets, and a client-side price band trims by selling price.

**Q: What output formats are available?**
A: JSON, CSV and Excel — export directly from the Apify dataset.

**Q: Can I scrape a specific product?**
A: Yes — paste product URLs (or style ids) into `productUrls` and each is returned with full detail enrichment.

**Q: Is this legal?**
A: Yes — the actor only extracts publicly available product data. See the legal note below.

***

### 🐛 Troubleshooting

**No products returned**

- Check the search term or category slug — try a broad term like `tshirts` first
- Loosen filters (a very narrow brand + size + price band can return nothing)

**Fewer results than expected**

- FREE tier caps at 25 products per run — raise `maxResults` on a PAID plan
- A tight price band filters out products client-side

**A pasted URL isn't recognized**

- Make sure it's a `myntra.com` listing or product URL
- For products, the URL should contain the style id (the long number before `/buy`)

***

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what has been chosen to be shared publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

> **Trademark notice:** Myntra is a trademark of its respective owner. This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Myntra. It accesses only publicly available product information.

***

### 🤝 Support

[![Telegram Support](https://img.shields.io/badge/Telegram-Support%20Group-0088cc?logo=telegram)](https://t.me/+vyh1sRE08sAxMGRi)

**Join our active support community**

- For issues or questions, open an issue in the actor's repository
- Check the [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Actor input Schema

## `queries` (type: `array`):

🔍 **KEYWORD OR CATEGORY SEARCH:** What you'd type into Myntra's search bar, or a Myntra category slug.

📝 **EXAMPLES:** `tshirts` · `men-tshirts` · `women-dresses` · `running shoes` · `men-casual-shoes` · `handbags`

💡 **TIP:** A category slug (e.g. `men-tshirts`, `women-kurtas`) is the part of a Myntra listing URL before the `?` — it returns that whole category. A plain keyword (e.g. `sneakers`) runs a free-text search.

🖊️ **BULK EDIT:** Add one term per line — each runs as its own search and all results land in the same dataset.

✅ **IMPORTANT:** Provide search terms/category slugs, Myntra listing URLs, OR product URLs (at least one is needed to have something to scrape).

## `scrapeMode` (type: `string`):

⚙️ **SCRAPE DEPTH:** Choose how much data to pull per product.

⚡ **Overview (fast):** Search results only — style id, product name, brand, price, MRP, discount %, rating (+ rating count), sizes, colour variants, images and URL. Fastest and cheapest path.

🔬 **Detail (enriched specs + reviews + seller):** Everything in Overview PLUS the full product description, the complete specifications table, the whole image gallery, size & colour variants, the star-rating breakdown, review count, seller name and country of origin — scraped from each product page.

💡 **TIP:** Start with Overview to scope a catalog, then switch to Detail when you need the full spec sheet for feeds or comparisons.

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

🔃 **RESULT ORDERING:** Order search results using Myntra's own native sort options — so you get the same ranking real shoppers see.

🏆 **Popularity** surfaces the most popular products first · 💲 **Price** sorts ascending or descending · 🆕 **Newest** prioritizes the latest arrivals · 🔖 **Discount** leads with the biggest price cuts · ⭐ **Customer Rating** leads with the best-rated.

## `brand` (type: `string`):

™️ **BRAND FILTER:** Restrict results to a single brand (e.g. `Nike`, `Puma`, `Roadster`, `H&M`, `Levis`). Uses Myntra's own brand facet, so it mirrors the site's brand filter.

💡 **TIP:** Leave blank to include every brand.

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

🚻 **GENDER FILTER:** Restrict results to a gender/audience using Myntra's own facet: `men`, `women`, `boys`, `girls` or `unisex`.

💡 **TIP:** Leave blank for all. Most useful with a broad keyword like `tshirts` or `shoes`.

## `colour` (type: `string`):

🎨 **COLOUR FILTER:** Restrict results to a colour (e.g. `Black`, `Blue`, `White`, `Red`). Uses Myntra's own colour facet.

💡 **TIP:** Leave blank for all colours.

## `size` (type: `string`):

📏 **SIZE FILTER:** Restrict results to a size (e.g. `M`, `L`, `XL`, `32`, `9`). Uses Myntra's own size facet.

💡 **TIP:** Leave blank for all sizes.

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

💵 **MINIMUM PRICE:** Only return products at or above this selling price (INR). Applied as a clean client-side filter. Leave blank for no lower bound.

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

💰 **MAXIMUM PRICE:** Only return products at or below this selling price (INR). Applied as a clean client-side filter. Leave blank for no upper bound.

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

🔗 **PASTE LISTING URLs:** Paste full Myntra search or category listing-page URLs to scrape them verbatim — the brand / gender / colour / sort facets you already set in the URL are preserved.

📝 **EXAMPLE:** `https://www.myntra.com/men-tshirts?f=Brand:Nike::gender:men&sort=new`

🖊️ **BULK EDIT:** Add one URL per line to sweep several pages in a single run.

## `productUrls` (type: `array`):

📦 **PASTE PRODUCT-PAGE URLs:** Paste full Myntra product URLs (or bare style ids) to fetch each product directly — always returned with full **Detail** enrichment (description, specs, gallery, variants, ratings breakdown, seller, country of origin) regardless of scrape mode.

📝 **EXAMPLE:** `https://www.myntra.com/tshirts/roadster/x/30242288/buy`

🖊️ **BULK EDIT:** Add one product URL per line.

## `maxResults` (type: `integer`):

🔢 **RESULT CAP:** Maximum number of products to return across all searches and URLs combined.

🎁 **TIER-BASED LIMITS:**

- **FREE users:** Up to 25 products per run
- **PAID users:** Unlimited — scrape entire catalogs in a single run

💡 **TIP:** Keep this low while you dial in your search terms, then raise it once the output looks right.

## Actor input object example

```json
{
  "queries": [
    "tshirts"
  ],
  "scrapeMode": "overview",
  "sort": "recommended",
  "gender": "",
  "maxResults": 100
}
```

# Actor output Schema

## `myntraProducts` (type: `string`):

Scraped Myntra products with price, MRP, discount, ratings, sizes, colour variants, images, specs, seller and country of origin.

# 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 = {
    "queries": [
        "tshirts"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/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 = { "queries": ["tshirts"] }

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Myntra Product Scraper",
        "description": "Scrape Myntra products — price, MRP, discount %, ratings, reviews, sizes, colour variants, images & specs. Keyword, category or URL search with full detail enrichment. Clean JSON/CSV, no code.",
        "version": "1.0",
        "x-build-id": "41LIoFYJTGDVHaYXK"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/sian.agency~myntra-product-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-sian.agency-myntra-product-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/sian.agency~myntra-product-scraper/runs": {
            "post": {
                "operationId": "runs-sync-sian.agency-myntra-product-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/sian.agency~myntra-product-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-sian.agency-myntra-product-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": {
                    "queries": {
                        "title": "🔍 Search Terms / Category Slugs",
                        "type": "array",
                        "description": "🔍 **KEYWORD OR CATEGORY SEARCH:** What you'd type into Myntra's search bar, or a Myntra category slug.\n\n📝 **EXAMPLES:** `tshirts` · `men-tshirts` · `women-dresses` · `running shoes` · `men-casual-shoes` · `handbags`\n\n💡 **TIP:** A category slug (e.g. `men-tshirts`, `women-kurtas`) is the part of a Myntra listing URL before the `?` — it returns that whole category. A plain keyword (e.g. `sneakers`) runs a free-text search.\n\n🖊️ **BULK EDIT:** Add one term per line — each runs as its own search and all results land in the same dataset.\n\n✅ **IMPORTANT:** Provide search terms/category slugs, Myntra listing URLs, OR product URLs (at least one is needed to have something to scrape).",
                        "default": [
                            "tshirts"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "scrapeMode": {
                        "title": "⚙️ Scrape Mode",
                        "enum": [
                            "overview",
                            "detail"
                        ],
                        "type": "string",
                        "description": "⚙️ **SCRAPE DEPTH:** Choose how much data to pull per product.\n\n⚡ **Overview (fast):** Search results only — style id, product name, brand, price, MRP, discount %, rating (+ rating count), sizes, colour variants, images and URL. Fastest and cheapest path.\n\n🔬 **Detail (enriched specs + reviews + seller):** Everything in Overview PLUS the full product description, the complete specifications table, the whole image gallery, size & colour variants, the star-rating breakdown, review count, seller name and country of origin — scraped from each product page.\n\n💡 **TIP:** Start with Overview to scope a catalog, then switch to Detail when you need the full spec sheet for feeds or comparisons.",
                        "default": "overview"
                    },
                    "sort": {
                        "title": "🔃 Sort Order",
                        "enum": [
                            "recommended",
                            "popularity",
                            "price_asc",
                            "price_desc",
                            "newest",
                            "discount",
                            "rating"
                        ],
                        "type": "string",
                        "description": "🔃 **RESULT ORDERING:** Order search results using Myntra's own native sort options — so you get the same ranking real shoppers see.\n\n🏆 **Popularity** surfaces the most popular products first · 💲 **Price** sorts ascending or descending · 🆕 **Newest** prioritizes the latest arrivals · 🔖 **Discount** leads with the biggest price cuts · ⭐ **Customer Rating** leads with the best-rated.",
                        "default": "recommended"
                    },
                    "brand": {
                        "title": "™️ Brand Filter",
                        "type": "string",
                        "description": "™️ **BRAND FILTER:** Restrict results to a single brand (e.g. `Nike`, `Puma`, `Roadster`, `H&M`, `Levis`). Uses Myntra's own brand facet, so it mirrors the site's brand filter.\n\n💡 **TIP:** Leave blank to include every brand."
                    },
                    "gender": {
                        "title": "🚻 Gender / Audience Filter",
                        "enum": [
                            "",
                            "men",
                            "women",
                            "boys",
                            "girls",
                            "unisex"
                        ],
                        "type": "string",
                        "description": "🚻 **GENDER FILTER:** Restrict results to a gender/audience using Myntra's own facet: `men`, `women`, `boys`, `girls` or `unisex`.\n\n💡 **TIP:** Leave blank for all. Most useful with a broad keyword like `tshirts` or `shoes`.",
                        "default": ""
                    },
                    "colour": {
                        "title": "🎨 Colour Filter",
                        "type": "string",
                        "description": "🎨 **COLOUR FILTER:** Restrict results to a colour (e.g. `Black`, `Blue`, `White`, `Red`). Uses Myntra's own colour facet.\n\n💡 **TIP:** Leave blank for all colours."
                    },
                    "size": {
                        "title": "📏 Size Filter",
                        "type": "string",
                        "description": "📏 **SIZE FILTER:** Restrict results to a size (e.g. `M`, `L`, `XL`, `32`, `9`). Uses Myntra's own size facet.\n\n💡 **TIP:** Leave blank for all sizes."
                    },
                    "minPrice": {
                        "title": "💵 Min Price (INR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "💵 **MINIMUM PRICE:** Only return products at or above this selling price (INR). Applied as a clean client-side filter. Leave blank for no lower bound."
                    },
                    "maxPrice": {
                        "title": "💰 Max Price (INR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "💰 **MAXIMUM PRICE:** Only return products at or below this selling price (INR). Applied as a clean client-side filter. Leave blank for no upper bound."
                    },
                    "searchUrls": {
                        "title": "🔗 Myntra Listing URLs (Advanced)",
                        "type": "array",
                        "description": "🔗 **PASTE LISTING URLs:** Paste full Myntra search or category listing-page URLs to scrape them verbatim — the brand / gender / colour / sort facets you already set in the URL are preserved.\n\n📝 **EXAMPLE:** `https://www.myntra.com/men-tshirts?f=Brand:Nike::gender:men&sort=new`\n\n🖊️ **BULK EDIT:** Add one URL per line to sweep several pages in a single run.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "productUrls": {
                        "title": "📦 Myntra Product URLs (Advanced)",
                        "type": "array",
                        "description": "📦 **PASTE PRODUCT-PAGE URLs:** Paste full Myntra product URLs (or bare style ids) to fetch each product directly — always returned with full **Detail** enrichment (description, specs, gallery, variants, ratings breakdown, seller, country of origin) regardless of scrape mode.\n\n📝 **EXAMPLE:** `https://www.myntra.com/tshirts/roadster/x/30242288/buy`\n\n🖊️ **BULK EDIT:** Add one product URL per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "🔢 Max Results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "🔢 **RESULT CAP:** Maximum number of products to return across all searches and URLs combined.\n\n🎁 **TIER-BASED LIMITS:**\n- **FREE users:** Up to 25 products per run\n- **PAID users:** Unlimited — scrape entire catalogs in a single run\n\n💡 **TIP:** Keep this low while you dial in your search terms, then raise it once the output looks right.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
