Scraper APIMyntra
myntra.product
One product on Myntra: name, brand, price, MRP and reduction, rating, sizes with availability, every picture, description, attributes, seller and country of origin.
- Id
myntra.product- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/myntra.product/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
productrequired | string | Myntra's id of the product, e.g. 1700944, or the address of its page.Limit: at least 4 characters, at most 500 characters. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer or null | The product's place on its results page, from 1. Null for myntra.product. |
page | integer or null | The results page it is on. Null for myntra.product. |
product_id | string | Myntra's id of the product (its style id), e.g. 1700944. |
url | string | The product's page. |
title | string | The product's name as Myntra shows it. |
brand | string or null | The brand. |
category | string or null | Myntra's kind of article, e.g. Tshirts, Lounge Tshirts. |
gender | string or null | Who it is for, as Myntra says: Men, Women, Boys, Girls, Unisex. |
color | string or null | Its main colour, as Myntra names it. |
price | number or null | The price Myntra shows, in Indian rupees. |
mrp | number or null | The maximum retail price printed beside it, in Indian rupees. |
discount_percent | integer or null | The reduction Myntra prints beside the price, in percent. Null where it prints none, or prints it as an amount in rupees. |
rating | number or null | The average of the product's ratings, out of 5. |
rating_count | integer or null | How many ratings it has. |
sizes | array of object | The sizes Myntra lists, with whether each is available. |
label (in sizes[]) | string | The size as Myntra lists it, e.g. M, 32, UK8. |
available (in sizes[]) | boolean or null | True when Myntra shows the size as available to buy. A results card states it only for some sizes; null for the others. |
image | string or null | The product's main picture. |
images | array of string | Every picture of the product. From myntra.product, and the search's own set for myntra.search. |
description | string or null | The product's description. From myntra.product only. |
attributes | array of object | The product's attributes as its page lists them. From myntra.product only. |
name (in attributes[]) | string | What the attribute is, as Myntra names it, e.g. Fabric, Fit, Neck. |
value (in attributes[]) | string | Its value, e.g. Cotton, Regular Fit. |
seller | string or null | The business selling it on Myntra. From myntra.product only. |
country_of_origin | string or null | Where it was made, as the page states. From myntra.product only. |
fetched_at | string (date-time) | When the page was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/myntra.product/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"product":"1700944"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("myntra.product", {"product": "1700944"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("myntra.product", { product: "1700944" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "myntra.product", map[string]any{"product": "1700944"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("myntra.product", Map.of("product", "1700944"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run myntra.product --input-json '{"product":"1700944"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"product": "1700944"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "myntra.product",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"product": "1700944"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": null,
"page": null,
"product_id": "1700944",
"url": "https://www.myntra.com/tshirts/roadster/roadster-men-black-cotton-pure-cotton-t-shirt/1700944/buy",
"title": "HRX by Hrithik Roshan Men Yellow Printed Cotton Cotton T-shirt",
"brand": "HRX by Hrithik Roshan",
"category": "Tshirts",
"gender": "Men",
"color": "Yellow",
"price": 295,
"mrp": 699,
"discount_percent": 58,
"rating": 4.21,
"rating_count": 85832,
"sizes": [
{
"label": "S",
"available": true
},
{
"label": "M",
"available": true
},
{
"label": "L",
"available": true
}
],
"image": "https://assets.myntassets.com/assets/images/2026/JULY/17/nHr9BXlb_027c7db1d1e94a07bb21dd08e34097d6.jpg",
"images": [
"https://assets.myntassets.com/assets/images/2026/JULY/17/nHr9BXlb_027c7db1d1e94a07bb21dd08e34097d6.jpg",
"https://assets.myntassets.com/assets/images/2026/JULY/17/ypQr2Rav_1b7b7ed1b06a4f4a95a4968269ed4864.jpg",
"https://assets.myntassets.com/assets/images/2026/JULY/17/ws3ks7BY_85ac839c8c7b468f82dcad0a7caba8c8.jpg"
],
"description": "Keep this hip this season with the HRX Men's Athleisure T-shirt. This versatile T-shirt can be styled any way you like for the ultimate gym-to-street look.\nFeatures\nAthleisure T-shirt can be paired with tracks, khakis or jeans\nStyle: Round … [truncated]",
"attributes": [
{
"name": "Body or Garment Size",
"value": "Garment Measurements in"
},
{
"name": "Fabrics",
"value": "Cotton"
},
{
"name": "Fashion Trends",
"value": "Typography or Slogan Print"
}
],
"seller": "GURKIRPA LIFESTYLE COMPANY",
"country_of_origin": "India",
"fetched_at": "2026-11-19T18:47:20.973409Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
sizes: 5 items, the first 3 shown. - Shortened:
images: 7 items, the first 3 shown. - Shortened:
description: 312 characters, the first 239 shown. - Shortened:
attributes: 19 items, the first 3 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Myntra scrapers are in their own section there.