{
  "openapi": "3.0.1",
  "info": {
    "title": "Nykaa Scraper | Products, Prices and Reviews",
    "description": "Nykaa scraper for beauty products: price, MRP, discount, best price after coupons, coupon codes, stock per shade, ingredients, ratings and verified reviews you can filter by skin tone or topic. Search, category, brand, link or id. 20 products and reviews in 10 seconds, up to 68 fields per row.",
    "version": "1.0",
    "x-build-id": "sUQEecUaDZ0aJtWb9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~nykaa-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-nykaa-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/silentflow~nykaa-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-nykaa-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/silentflow~nykaa-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-nykaa-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 words",
            "type": "array",
            "description": "Words to search on Nykaa, one per line, such as <code>vitamin c serum</code> or <code>sunscreen spf 50</code>. A brand or category word (<code>lipstick</code>, <code>maybelline</code>) opens the page Nykaa sends it to, read with that page's own filters.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Nykaa links",
            "type": "array",
            "description": "Links copied from nykaa.com: a category page (<code>/makeup/lips/lipstick/c/249</code>), a brand page (<code>/brands/lakme/c/604</code>), a search page or a product page. The filters, sort and page number in the link are kept, and a product link with <code>skuId</code> returns that shade.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "productIds": {
            "title": "🆔 Product ids",
            "type": "array",
            "description": "Nykaa product ids (the number after <code>/p/</code> in a product link, such as <code>683166</code>) or product links, one per line. Every id returns its product row, whatever the product cap says; ids Nykaa does not have are named in the log.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "📂 Categories",
            "type": "array",
            "description": "Whole Nykaa categories: a name from Nykaa's menu (<code>Lipstick</code>, <code>Serums &amp; Essence</code>), a path (<code>Lips > Lipstick</code>) or a category id (<code>249</code>). Nykaa serves up to 10,000 products per category, filter set and order.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max products per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many products to read from each search word, category or listing link. Product ids are never cut. Reviews come on top, capped per product below.",
            "default": 100
          },
          "sort": {
            "title": "↕️ Sort by",
            "enum": [
              "default",
              "customer_top_rated",
              "new_arrival",
              "discount",
              "price_low_to_high",
              "price_high_to_low"
            ],
            "type": "string",
            "description": "The order products are read in. Default is popularity on categories and relevance on searches.",
            "default": "default"
          },
          "brands": {
            "title": "🏷️ Brands",
            "type": "array",
            "description": "Keep only these brands, written as Nykaa's brand filter lists them (<code>Lakme</code>, <code>Maybelline New York</code>, <code>Nykaa Cosmetics</code>) or as brand ids. A brand a page does not list is named in the log.",
            "items": {
              "type": "string"
            }
          },
          "filters": {
            "title": "🧪 Nykaa filters",
            "type": "array",
            "description": "Any other filter of Nykaa's panel, written <code>Name: Value</code>: <code>Skin type: Oily</code>, <code>Concern: Acne &amp; Blemishes</code>, <code>Finish: Matte</code>, <code>Ingredient: Niacinamide</code>, <code>Gender: Female</code>, <code>Preference: Vegan</code>. The same name twice matches either value.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "💰 Min price (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest selling price in rupees, such as <code>200</code>."
          },
          "maxPrice": {
            "title": "💰 Max price (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest selling price in rupees, such as <code>1000</code>."
          },
          "minDiscount": {
            "title": "🏷️ Min discount (%)",
            "minimum": 0,
            "maximum": 99,
            "type": "integer",
            "description": "Keep products at least this much off the MRP, such as <code>30</code>."
          },
          "minRating": {
            "title": "⭐ Min rating",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Keep products rated at least this many stars by customers, from <code>1</code> to <code>4</code>."
          },
          "excludeSponsored": {
            "title": "🚫 Leave out paid placements",
            "type": "boolean",
            "description": "Skip the products brands pay to place in the results, for an organic ranking.",
            "default": false
          },
          "expandSubcategories": {
            "title": "🌳 Expand subcategories",
            "type": "boolean",
            "description": "When a category or brand page has more products than one walk reads (your cap or Nykaa's 10,000), also read each of its subcategories with the same filters and cap.",
            "default": false
          },
          "startPage": {
            "title": "📄 Start page",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The listing page to start from (20 products a page), to resume a long walk.",
            "default": 1
          },
          "includeDetails": {
            "title": "📄 Full product page",
            "type": "boolean",
            "description": "Read each product's page: every shade or size with its own price, MRP, stock, barcode and expiry, the best price after coupons with the coupon codes, ingredients, how to use, highlights, manufacturer, packer, importer, origin, seller, rating per star, review summary and topics, bestseller rank, return and delivery terms, videos. Product ids are always read this way.",
            "default": true
          },
          "pincode": {
            "title": "📍 Delivery pincode",
            "type": "string",
            "description": "An Indian pincode such as <code>400001</code>: each row says whether Nykaa delivers there, the city, the state, cash on delivery and Nykaa's delivery messages."
          },
          "includeReviews": {
            "title": "⭐ Reviews",
            "type": "boolean",
            "description": "Add each product's verified buyer reviews as rows: rating, title, text, reviewer name, the reviewer's skin tone, skin type and hair type, photos, likes and date.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "🔢 Max reviews per product",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many reviews to read per product. Nykaa serves 2,000 per order; past that the walk goes on star by star.",
            "default": 20
          },
          "reviewsSort": {
            "title": "↕️ Review order",
            "enum": [
              "most_useful",
              "most_helpful",
              "most_recent",
              "positive_first",
              "negative_first"
            ],
            "type": "string",
            "description": "The order reviews are read in.",
            "default": "most_useful"
          },
          "reviewsRating": {
            "title": "⭐ Review stars",
            "enum": [
              "all",
              "5",
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "Only reviews with this many stars.",
            "default": "all"
          },
          "reviewsWithPhotosOnly": {
            "title": "📷 Reviews with photos only",
            "type": "boolean",
            "description": "Only reviews where the buyer added photos.",
            "default": false
          },
          "reviewerProfile": {
            "title": "🎨 Reviewer skin and hair",
            "type": "array",
            "description": "Only reviews written by buyers with this skin tone, skin type or hair type, as they set it in their Nykaa beauty profile: how a foundation does on dusky skin, a serum on oily skin. Several values of one trait match either.",
            "items": {
              "type": "string",
              "enum": [
                "skin_tone_fair",
                "skin_tone_light",
                "skin_tone_medium",
                "skin_tone_medium_dark",
                "skin_tone_dark",
                "skin_tone_deep",
                "skin_type_dry",
                "skin_type_balanced",
                "skin_type_oily",
                "hair_type_curly",
                "hair_type_straight",
                "hair_type_wavy"
              ],
              "enumTitles": [
                "Skin tone: fair",
                "Skin tone: light",
                "Skin tone: medium",
                "Skin tone: medium dark",
                "Skin tone: dark",
                "Skin tone: deep",
                "Skin type: dry",
                "Skin type: balanced",
                "Skin type: oily",
                "Hair type: curly",
                "Hair type: straight",
                "Hair type: wavy"
              ]
            }
          },
          "reviewsMentioning": {
            "title": "💬 Reviews that mention",
            "type": "array",
            "description": "Only reviews that talk about these topics, as Nykaa's \"Read reviews that mention\" lists them on each product: <code>Staying Power</code>, <code>Fragrance</code>, <code>Sensitive Skin</code>, <code>Pigmentation</code>, <code>Value For Money</code>. Each review row then quotes the sentence about the topic with its sentiment. A word matches every topic that contains it (<code>lasting</code>); each topic gets up to the max reviews per product. A product without the topic gives no review.",
            "items": {
              "type": "string"
            }
          },
          "reviewsStartDate": {
            "title": "📅 Reviews since",
            "type": "string",
            "description": "Only reviews posted on or after this date: <code>2026-10-01</code>, or an age such as <code>30 days</code> for a monthly schedule. Reviews are then read newest first, unless you pick another order than Most useful. Leave empty for every date."
          },
          "reviewsStartPage": {
            "title": "📄 Review start page",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "The review page to start from (as many reviews a page as the cap, 50 at most; newest first reads 50 a page), to resume a long read.",
            "default": 1
          },
          "includePersonalData": {
            "title": "👤 Reviewer picture and id",
            "type": "boolean",
            "description": "Add the reviewer's profile picture link and Nykaa's pseudonymous reviewer id to review rows. Off by default.",
            "default": false
          },
          "monitorName": {
            "title": "🔁 Monitor name",
            "type": "string",
            "description": "Any name, such as <code>lipstick-prices</code>. The run remembers what it delivered under that name, in a store of your account."
          },
          "monitorMode": {
            "title": "🔁 Monitor mode",
            "enum": [
              "new_only",
              "changes"
            ],
            "type": "string",
            "description": "<b>New only</b>: each run delivers only products and reviews no earlier run delivered. <b>Changes</b>: each run delivers every product with what changed since the last run (price, MRP, discount, stock, and every shade's price and stock with the product page on).",
            "default": "new_only"
          },
          "resetMonitor": {
            "title": "🧽 Reset the monitor",
            "type": "boolean",
            "description": "Forget what earlier runs of this monitor delivered and start over.",
            "default": false
          },
          "debugMode": {
            "title": "🐞 Debug log",
            "type": "boolean",
            "description": "Write detailed progress to the log.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}