Myntra Search API
Scrape Myntra search result pages by passing any Myntra search URL. Returns product IDs, names, brands, prices, discounts, ratings, and images. Each successful request costs 5 API credits.
Endpoint: https://api.scrapingdog.com/myntra/search
API Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
🔍
Search
urlRequiredURL of the Myntra search page to scrape (e.g.,https://www.myntra.com/nike-shoes?rawQuery=nike%20shoes).
Type: String
⚙
️ Advanced
htmlOptionalSet totrueto return the full HTML of the Myntra page instead of parsed JSON. Default:false.
Type: Boolean
API Examples
curl "https://api.scrapingdog.com/myntra/search?api_key=APIKEY&url=https://www.myntra.com/nike-shoes?rawQuery=nike%20shoes"
import requests params = { "api_key": "APIKEY", "url": "https://www.myntra.com/nike-shoes?rawQuery=nike%20shoes" } response = requests.get("https://api.scrapingdog.com/myntra/search", params=params) print(response.json())
const params = new URLSearchParams({ api_key: "APIKEY", url: "https://www.myntra.com/nike-shoes?rawQuery=nike%20shoes" }); const response = await fetch(`https://api.scrapingdog.com/myntra/search?${params}`); const data = await response.json(); console.log(data);
<?php $url = 'https://api.scrapingdog.com/myntra/search?' . http_build_query([ 'api_key' => 'APIKEY', 'url' => 'https://www.myntra.com/nike-shoes?rawQuery=nike shoes', ]); echo file_get_contents($url);
{
"search_results": [
{
"productId": 25503840,
"product": "Nike Men Legend Essential 3 Next Nature Workout Shoes",
"productName": "Nike Men Legend Essential 3 Next Nature Workout Shoes",
"brand": "Nike",
"rating": 4.06,
"ratingCount": 3659,
"mrp": 4995,
"price": 4995,
"discount": 0,
"gender": "Men",
"primaryColour": "Black",
"category": "Sports Shoes",
"sizes": "5,6,7,8,9,10,11,12",
"landingPageUrl": "sports-shoes/nike/nike-men-legend-essential-3-next-nature-workout-shoes/25503840/buy",
"searchImage": "http://assets.myntassets.com/assets/images/25503840/2023/10/16/db142f36-9011-4774-8799-08f7685025b81697471896207NikeLegendEssentialMenWorkoutShoes1.jpg",
"images": [
{
"view": "default",
"src": "http://assets.myntassets.com/assets/images/25503840/2023/10/16/db142f36-9011-4774-8799-08f7685025b81697471896207NikeLegendEssentialMenWorkoutShoes1.jpg"
},
{
"view": "front",
"src": "http://assets.myntassets.com/assets/images/25503840/2023/10/16/45d20348-4dbf-49ce-ba07-74eec4dffdae1697471896187NikeLegendEssentialMenWorkoutShoes2.jpg"
},
{
"view": "back",
"src": "http://assets.myntassets.com/assets/images/25503840/2023/10/16/9cbbb013-eaeb-4a44-b27a-6b39155e7a2b1697471896197NikeLegendEssentialMenWorkoutShoes3.jpg"
}
],
"inventoryInfo": [
{
"skuId": 82270480,
"label": "UK6",
"inventory": 1371,
"available": true
}
],
"couponData": {
"couponDiscount": 300,
"couponDescription": {
"couponCode": "MYNTRA300",
"bestPrice": 4695
}
},
"articleType": {
"typeName": "Sports Shoes"
},
"masterCategory": {
"typeName": "Footwear"
}
}
]
}