{
  "openapi": "3.0.1",
  "info": {
    "title": "Myntra Scraper: Prices, Sizes, Sellers, Coupons & Reviews",
    "description": "Scrape Myntra products by keyword, category or link: price, MRP, discount, coupon best price, rating, sizes with per-seller stock, sellers, specifications, reviews and similar products, in INR. Filter by brand, gender, category, colour, size, price and discount; reads past 500 results.",
    "version": "0.0",
    "x-build-id": "nka0LyyXhEp135x4p"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~myntra-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-myntra-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/memo23~myntra-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-myntra-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/memo23~myntra-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-myntra-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": {
          "searchTerms": {
            "title": "Search terms or categories",
            "type": "array",
            "description": "Words as a shopper types them on myntra.com (sneakers, kurta set, white shirt), or a Myntra category name from a link (men-tshirts, women-kurtas-kurtis-suits). Each term is searched with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Myntra links or product ids",
            "type": "array",
            "description": "myntra.com search, category or brand links (their filters and sort are kept), product links, or product ids (the number before /buy in a product link, e.g. 29553912).",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerInput": {
            "title": "Max products per input",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each search term or link after this many products. Above 500, the search is read price band by price band to go past Myntra's own limit.",
            "default": 100
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "popularity",
              "new",
              "price_asc",
              "price_desc",
              "discount",
              "rating"
            ],
            "type": "string",
            "description": "Order of search results.",
            "default": "recommended"
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Only these brands (Puma, Roadster, HRX by Hrithik Roshan). Spelling and capitals do not matter; a name Myntra does not list for the search is reported in the log.",
            "items": {
              "type": "string"
            }
          },
          "genders": {
            "title": "Gender",
            "type": "array",
            "description": "Men and women include Myntra's unisex products.",
            "items": {
              "type": "string",
              "enum": [
                "men",
                "women",
                "boys",
                "girls"
              ],
              "enumTitles": [
                "Men",
                "Women",
                "Boys",
                "Girls"
              ]
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Myntra categories within the search (Tshirts, Casual Shoes, Kurtas, Sports Shoes).",
            "items": {
              "type": "string"
            }
          },
          "colours": {
            "title": "Colours",
            "type": "array",
            "description": "Colours as Myntra names them (Black, Navy Blue, Off White).",
            "items": {
              "type": "string"
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Only products offered in one of these sizes (M, XL, 32, UK8). A bare shoe size such as 8 is read as UK8.",
            "items": {
              "type": "string"
            }
          },
          "priceFrom": {
            "title": "Price from (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price paid, in Indian rupees."
          },
          "priceTo": {
            "title": "Price up to (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price paid, in Indian rupees."
          },
          "minDiscount": {
            "title": "Minimum discount",
            "enum": [
              "0",
              "10",
              "20",
              "30",
              "40",
              "50",
              "60",
              "70",
              "80",
              "90"
            ],
            "type": "string",
            "description": "Only products at least this much off MRP.",
            "default": "0"
          },
          "includeDetails": {
            "title": "Full product page",
            "type": "boolean",
            "description": "Adds every size with each seller's price and stock, all sellers, the cheapest and dearest price, coupon codes with their price, description, specifications, return window, cash on delivery and country of origin. One extra page per product. Product links always come with it.",
            "default": false
          },
          "includeReviews": {
            "title": "Customer reviews",
            "type": "boolean",
            "description": "Adds each product's reviews as their own rows: stars, text, author, date, helpful votes, size bought, photos.",
            "default": false
          },
          "reviewsPerProduct": {
            "title": "Reviews per product",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Most reviews read for each product.",
            "default": 20
          },
          "reviewOrder": {
            "title": "Review order",
            "enum": [
              "helpful",
              "recent"
            ],
            "type": "string",
            "description": "Most helpful first (Myntra's default) or newest first.",
            "default": "helpful"
          },
          "reviewStars": {
            "title": "Reviews with this star rating only",
            "enum": [
              "all",
              "5",
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "For example 1 to read only complaints.",
            "default": "all"
          },
          "includeSimilar": {
            "title": "Similar products",
            "type": "boolean",
            "description": "Adds the products Myntra shows next to each product, as their own rows with price, MRP, discount and rating.",
            "default": false
          },
          "similarPerProduct": {
            "title": "Similar products per product",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Most similar products kept for each product.",
            "default": 20
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}