Myntra Product API
Scrape any Myntra product page by URL to retrieve product name, brand, MRP, pricing, available sizes, color options, ratings, images, seller details, and available offers. Each successful request costs 5 API credits.
Endpoint:
https://api.scrapingdog.com/myntra/productAPI Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
📦
Product
urlRequiredURL of the Myntra product page to scrape (e.g.,https://www.myntra.com/jeans/powerlook/.../31076617/buy).
Type: String
⚙
️ Advanced
htmlOptionalSet totrueto return the full HTML of the Myntra page instead of parsed JSON. Default:false.
Type: Boolean
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/myntra/product?api_key=APIKEY&url=https://www.myntra.com/jeans/powerlook/powerlook-men-baggy-fit-mildly-distressed-jeans/31076617/buy"
import requests params = { "api_key": "APIKEY", "url": "https://www.myntra.com/jeans/powerlook/powerlook-men-baggy-fit-mildly-distressed-jeans/31076617/buy" } response = requests.get("https://api.scrapingdog.com/myntra/product", params=params) print(response.json())
const params = new URLSearchParams({ api_key: "APIKEY", url: "https://www.myntra.com/jeans/powerlook/powerlook-men-baggy-fit-mildly-distressed-jeans/31076617/buy" }); const response = await fetch(`https://api.scrapingdog.com/myntra/product?${params}`); const data = await response.json(); console.log(data);
<?php $url = 'https://api.scrapingdog.com/myntra/product?' . http_build_query([ 'api_key' => 'APIKEY', 'url' => 'https://www.myntra.com/jeans/powerlook/powerlook-men-baggy-fit-mildly-distressed-jeans/31076617/buy', ]); echo file_get_contents($url);
API Response
{
"product_results": {
"productId": 31076617,
"name": "Powerlook Men Baggy Fit Mildly Distressed Jeans",
"brand": "Powerlook",
"mrp": 2899,
"country_of_origin": "India",
"material": "100% Cotton",
"fit": "Baggy Fit",
"overall_rating": 4.17,
"ratings_count": 1164,
"images": [
"https://assets.myntassets.com/assets/images/31076617/2024/1/15/powerlook-jeans-1.jpg",
"https://assets.myntassets.com/assets/images/31076617/2024/1/15/powerlook-jeans-2.jpg"
],
"sizes": [
{
"label": "28",
"mrp": 2899,
"discounted_price": 1159,
"discount_percent": 60,
"available": true,
"seller": "POWERLOOK",
"stock": 45
},
{
"label": "30",
"mrp": 2899,
"discounted_price": 1159,
"discount_percent": 60,
"available": true,
"seller": "POWERLOOK",
"stock": 62
},
{
"label": "32",
"mrp": 2899,
"discounted_price": 1159,
"discount_percent": 60,
"available": true,
"seller": "POWERLOOK",
"stock": 38
}
],
"offers": [
{ "type": "Bank Offer", "description": "10% off on ICICI Bank Credit Cards" },
{ "type": "Bank Offer", "description": "5% cashback on Paytm UPI" }
],
"product_details": [
{ "section": "Product Description", "content": "Elevate your streetwear game with these baggy fit distressed jeans from Powerlook." },
{ "section": "Material & Care", "content": "100% Cotton. Machine wash cold." },
{ "section": "Size & Fit", "content": "The model (height 6') is wearing a size 32." }
],
"reviews": [
{
"rating": 5,
"title": "Perfect fit",
"comment": "Great quality jeans. The baggy fit is exactly what I wanted.",
"reviewer": "Arjun K.",
"helpful_count": 18
},
{
"rating": 4,
"title": "Good product",
"comment": "Comfortable and looks stylish. Delivery was fast.",
"reviewer": "Vikram S.",
"helpful_count": 9
}
]
}
}