{
  "openapi": "3.0.1",
  "info": {
    "title": "Myntra Fashion Catalog Finder by Category & Brand",
    "description": "Search Myntra's fashion catalog by keyword, category, or brand, or fetch specific products, for MRP, price, discount, ratings, sizes, colors, and category detail.",
    "version": "2.0",
    "x-build-id": "1mGy2E6jqPmXqgRby"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~myntra-fashion-catalog-finder-by-category/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-myntra-fashion-catalog-finder-by-category",
        "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/dataspryva~myntra-fashion-catalog-finder-by-category/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-myntra-fashion-catalog-finder-by-category",
        "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/dataspryva~myntra-fashion-catalog-finder-by-category/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-myntra-fashion-catalog-finder-by-category",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "browseByCategory",
              "browseByBrand",
              "byUrl",
              "byProductIds"
            ],
            "type": "string",
            "description": "What to fetch. Each mode has its own input list below.",
            "default": "search"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "One or more keyword searches (mode=search), e.g. `tshirts`, `printed kurtas`, `nike running shoes`. Each query is fetched separately and duplicates are removed.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "One or more category listings (mode=browseByCategory).",
            "items": {
              "type": "string",
              "enum": [
                "tshirts",
                "shirts",
                "jeans",
                "trousers",
                "shorts",
                "trackpants",
                "sweatshirts",
                "sweaters",
                "jackets",
                "blazers",
                "coats",
                "kurtas",
                "kurtis",
                "sarees",
                "dresses",
                "tops",
                "skirts",
                "leggings",
                "innerwear",
                "socks",
                "swimwear",
                "shoes",
                "sneakers",
                "sports-shoes",
                "sandals",
                "flats",
                "heels",
                "boots",
                "slippers",
                "bags",
                "backpacks",
                "clutches",
                "wallets",
                "watches",
                "sunglasses",
                "belts",
                "caps",
                "scarves",
                "jewellery",
                "earrings",
                "rings",
                "bracelets",
                "chains",
                "dupattas",
                "stoles",
                "lehengas",
                "mens-grooming",
                "beauty"
              ],
              "enumTitles": [
                "T-shirts",
                "Shirts",
                "Jeans",
                "Trousers",
                "Shorts",
                "Track pants",
                "Sweatshirts",
                "Sweaters",
                "Jackets",
                "Blazers",
                "Coats",
                "Kurtas",
                "Kurtis",
                "Sarees",
                "Dresses",
                "Tops",
                "Skirts",
                "Leggings",
                "Innerwear",
                "Socks",
                "Swimwear",
                "Shoes",
                "Sneakers",
                "Sports shoes",
                "Sandals",
                "Flats",
                "Heels",
                "Boots",
                "Slippers",
                "Bags",
                "Backpacks",
                "Clutches",
                "Wallets",
                "Watches",
                "Sunglasses",
                "Belts",
                "Caps",
                "Scarves",
                "Jewellery",
                "Earrings",
                "Rings",
                "Bracelets",
                "Chains",
                "Dupattas",
                "Stoles",
                "Lehengas",
                "Men's grooming",
                "Beauty"
              ]
            },
            "default": []
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "One or more brands to browse (mode=browseByBrand), e.g. `nike`, `levis`, `tommy hilfiger`. Spaces and punctuation are normalized automatically.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "startUrls": {
            "title": "Listing or product URLs",
            "type": "array",
            "description": "Myntra listing, search, category, brand, or product URLs (mode=byUrl). Product URLs are fetched as products; everything else is fetched as a listing.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "Numeric Myntra product IDs or product URLs (mode=byProductIds), e.g. `36674095`.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "",
              "men",
              "women",
              "boys",
              "girls"
            ],
            "type": "string",
            "description": "Restrict listing results to one gender segment. Applied on Myntra's side.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "",
              "new",
              "popularity",
              "price_asc",
              "price_desc",
              "discount",
              "customer_rating"
            ],
            "type": "string",
            "description": "How Myntra orders listing results.",
            "default": ""
          },
          "minPrice": {
            "title": "Min price (INR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only products whose selling price is at least this amount. 0 means no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (INR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only products whose selling price is at most this amount. 0 means no maximum.",
            "default": 0
          },
          "minDiscount": {
            "title": "Min discount (%)",
            "minimum": 0,
            "maximum": 90,
            "type": "integer",
            "description": "Only products discounted by at least this percentage. 0 means no minimum.",
            "default": 0
          },
          "minRating": {
            "title": "Min rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only products rated at least this value (0-5). Products without a rating are excluded when this is above 0.",
            "default": 0
          },
          "containsKeyword": {
            "title": "Keyword in product name",
            "type": "string",
            "description": "Only products whose name contains this keyword (case-insensitive). Leave empty for all products.",
            "default": ""
          },
          "includeDetails": {
            "title": "Fetch product details",
            "type": "boolean",
            "description": "Open each product page to add sellers, addresses, per-size stock and measurements, specifications, rating breakdown, policies, videos, and tags. Slower but much richer. URL and product-ID modes always fetch details.",
            "default": true
          },
          "includeReviews": {
            "title": "Include written reviews",
            "type": "boolean",
            "description": "Emit one row per written review with recordType `review`, in addition to product rows.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Review rows to fetch for each product when written reviews are enabled (1-2000).",
            "default": 20
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Total product rows to save across all queries, categories, brands, and URLs (1-10000). Review rows are additional.",
            "default": 100
          },
          "splitLargeSearches": {
            "title": "Split large searches",
            "type": "boolean",
            "description": "Go past the per-filter result cap by fetching gender, price-band, and sort slices, then removing duplicates. Recommended for deep exports.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional override. Leave untouched and the actor selects a working connection automatically.",
            "default": {}
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}