logo

Myntra Scraper – Scrape Myntra Product Data

RealdataAPI / myntra-scraper

Unlock seamless data extraction with our Myntra Scraper, designed to fetch product details, pricing, and reviews efficiently. Real Data API supports Web Scraping Myntra APIs, Myntra Scraping API, and Myntra Product Scraper for comprehensive insights. Extract data effortlessly across Australia, Canada, Germany, France, Singapore, USA, UK, UAE, and India. Whether you need to Scrape Myntra Product Data or analyze trends, our tool ensures precision and reliability for your e-commerce needs.

Myntra Scraper

Extract detailed product information, pricing, and reviews effortlessly with our Myntra Scraper.

  • Leverage advanced Web Scraping Myntra APIs and the robust Myntra Scraping
  • API for seamless and accurate data extraction.
  • The powerful Myntra Product Scraper enables you to Scrape Myntra Product Data efficiently for e-commerce analytics, competitor research, and market trend analysis.
  • Our solution ensures precision, scalability, and reliability to meet all your data extraction requirements.

Myntra Specific

Don't be concerned if you encounter different products while browsing the page—Myntra tailors its product selection to each individual user.

Updates, Bugs, Fixes, and Change Log

This API is currently under development. If you have any suggestions or feature requests, feel free to email us! We are continuously working to improve and update the system.

Input Parameters

Efficiently extract data from Myntra using these input parameters, ensuring accurate and customized results tailored to your requirements.

Field Type Description
Product ID String Unique identifier for the product.
Category String Specifies the product category to scrape.
Brand String Filters data by the brand name.
Price Range String Sets the minimum and maximum price range.
Size String Specifies the size of the product, if any.
Color String Filters products based on available colors.
Sorting Order String Defines the sorting preference (e.g., price).
Currency String Sets the desired currency for pricing data.
Page Number Integer Indicates the page number for pagination.
Results Limit Integer Limits the number of products per request.
Timestamp String Captures the time of the API request.
Language String Sets the preferred language for the results.

To access this solution efficiently, it's recommended to use proxy servers. You can either use your own proxies or try proxies provided by Real Data API.

Example

When scraping a specific URL, use it as the startUrl. For category links, configure the startUrls with start and end page parameters and implement subcategory logic to ensure the scraper retrieves data from all relevant subcategories.

Unit Consumption Calculation

The scraper is designed for high-volume data extraction. If the API experiences minimal blocking, you can extract up to 100 listings within 120 seconds.

Myntra Scraper Input Example

{
 "startUrls":[
  "https://www.myntra.com/men-tshirts",
  "https://www.myntra.com/women-dresses"
 ],
 "parameters": {
  "category": "men-tshirts",
  "brand": "Nike",
  "priceRange": "500-2000",
  "color": "black",
  "size": "M",
  "sortingOrder": "price_low_to_high",
  "currency": "INR",
  "pageNumbr: 1,
  "resultsLimit: 50,
  "language": "en",
 }
}

During Execution

As the API runs, results are stored in a custom dataset, with each product saved as a separate entry. Outputs can be handled in multiple programming languages. For detailed instructions on retrieving data, refer to our API documentation or FAQs.

Myntra Export

During execution, the API organizes results into a structured dataset, treating each product as an individual record. You can process outputs in various programming languages. For further guidance on accessing data, consult our API reference or FAQs.

Scraped Myntra Products

The format for each product in Myntra looks as follows:

{
 "scrapedProducts":[
 {
  "productId": "12345",
  "productName": "Nike Running Shoes",
  "category": "Footwear",
  "brand": "Nike",
  "price": "4999",
  "currency": "INR",
  "size": "9",
  "color": "Black",
  "availability: "In Stock",
  "productUrl: "https://www.myntra.com/nike-running-shoes",
  "imageUrl": "https://assets.myntra.com/products/12345/image.jpg"
 },
 {
  "productId": "67890",
  "productName": "Adidas T-Shirt",
  "category": "Clothing",
  "brand": "Adidas",
  "price": "1999",
  "currency": "INR",
  "size": "M",
  "color": "White",
  "availability: "In Stock",
  "productUrl: "https://www.myntra.com/adidas-t-shirt",
  "imageUrl": "https://assets.myntra.com/products/67890/image.jpg"
  }
 ]
}

Industries

Check out how industries are using Myntra Scraper around the world.

saas-btn.webp

E-commerce & Retail

You should have a Real Data API account to execute the program examples. Replace < YOUR_API_TOKEN> in the program using the token of your actor. Read about the live APIs with Real Data API docs for more explanation.

import { RealdataAPIClient } from 'RealdataAPI-client';

// Initialize the RealdataAPIClient with API token
const client = new RealdataAPIClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "productUrls": [
        {
            "url": "https://www.amazon.com/Apple-iPhone-64GB-Midnight-Green/dp/B08BHHSB6M"
        }
    ],
    "maxReviews": 100,
    "proxyConfiguration": {
        "useRealdataAPIProxy": true
    },
    "extendedOutputFunction": ($) => { return {} }
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("junglee/amazon-reviews-scraper").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
from RealdataAPI_client import RealdataAPIClient

# Initialize the RealdataAPIClient with your API token
client = RealdataAPIClient("<YOUR_API_TOKEN>")

# Prepare the actor input
run_input = {
    "productUrls": [{ "url": "https://www.amazon.com/Apple-iPhone-64GB-Midnight-Green/dp/B08BHHSB6M" }],
    "maxReviews": 100,
    "proxyConfiguration": { "useRealdataAPIProxy": True },
    "extendedOutputFunction": "($) => { return {} }",
}

# Run the actor and wait for it to finish
run = client.actor("junglee/amazon-reviews-scraper").call(run_input=run_input)

# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare actor input
cat > input.json <<'EOF'
{
  "productUrls": [
    {
      "url": "https://www.amazon.com/Apple-iPhone-64GB-Midnight-Green/dp/B08BHHSB6M"
    }
  ],
  "maxReviews": 100,
  "proxyConfiguration": {
    "useRealdataAPIProxy": true
  },
  "extendedOutputFunction": "($) => { return {} }"
}
EOF

# Run the actor
curl "https://api.RealdataAPI.com/v2/acts/junglee~amazon-reviews-scraper/runs?token=$API_TOKEN" /
  -X POST /
  -d @input.json /
  -H 'Content-Type: application/json'

Place the Amazon product URLs

productUrls Required Array

Put one or more URLs of products from Amazon you wish to extract.

Max reviews

maxReviews Optional Integer

Put the maximum count of reviews to scrape. If you want to scrape all reviews, keep them blank.

Mention personal data

includeGdprSensitive Optional Boolean

Personal information like name, ID, or profile pic that GDPR of European countries and other worldwide regulations protect. You must not extract personal information without legal reason.

Reviews sort

sort Optional String

Choose the criteria to scrape reviews. Here, use the default HELPFUL of Amazon.

Options:

"RECENT","HELPFUL"

Proxy configuration

proxyConfiguration Required Object

You can fix proxy groups from certain countries. Amazon displays products to deliver to your location based on your proxy. No need to worry if you find globally shipped products sufficient.

Extended output function

extendedOutputFunction Optional String

Enter the function that receives the JQuery handle as the argument and reflects the customized scraped data. You'll get this merged data as a default result.

{
  "productUrls": [
    {
      "url": "https://www.amazon.com/Apple-iPhone-64GB-Midnight-Green/dp/B08BHHSB6M"
    }
  ],
  "maxReviews": 100,
  "includeGdprSensitive": false,
  "sort": "helpful",
  "proxyConfiguration": {
    "useRealdataAPIProxy": true
  },
  "extendedOutputFunction": "($) => { return {} }"
}
INQUIRE NOW