# Nykaa Scraper - Beauty Products, Prices & Ratings (`scrapewise/nykaa-scraper`) Actor

Scrape Nykaa beauty and skincare products by keyword, category, brand or product link: price, MRP, discount, stock, rating, ratings count, brand, category and images. Optional details: variants (shades, sizes) with stock, review count, ingredients and attributes. Error rows are free.

- **URL**: https://apify.com/scrapewise/nykaa-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.52 / 1,000 product delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Nykaa Scraper: beauty and skincare products with price, MRP, discount, stock and ratings

Nykaa Scraper collects **products from Nykaa**, India's largest online store for beauty, skincare, makeup, haircare
and fragrance. Type a keyword (kajal, niacinamide serum, hair oil), paste a category or brand page, or paste product
links, and every product comes back as one clean row: name, brand, selling price, MRP, discount, stock status and
quantity, star rating, number of ratings, variant count (shades or sizes), category path, images and the product link.
Turn on `includeDetails` to add every shade or size with its own price, MRP and stock, the review count and review
summary, product attributes (skin type, concern, finish, formulation), description, ingredients, how to use, expiry
date, country of origin and seller.

No Nykaa account needed. It is used to track prices and discounts of beauty brands in India, monitor stock and
out-of-stock shades, compare a brand against competitors in a category, watch new launches with `onlyNew` on a
schedule, and build product catalogs for market research, D2C brand analytics and retail intelligence.

### At a glance

| What | Price |
|---|---|
| Product delivered | **US$ 2.00 per 1,000 products** (US$ 0.002 each) on the Free plan, lower on paid plans |
| Product details added (`includeDetails` or a product link) | US$ 1.00 per 1,000 products (US$ 0.001 each) |
| Run start | US$ 0.005 per run |

- 500 products from a search or category = **about US$ 1.01**; the same 500 with full details = about US$ 1.51.
  Paid Apify plans get a lower price per product automatically (Bronze, Silver, Gold and above).
- Error rows, duplicates and products already delivered in earlier runs (`onlyNew`) are never charged; the details
  event only when the product page was read. `maxItems` is a hard cap, and a spending limit set on the run stops it
  cleanly with everything delivered so far.

### Quick start

Kajal and eyeliner products, biggest discount first:

```json
{
  "keywords": ["kajal"],
  "sortBy": "discount",
  "maxItems": 50
}
```

A brand page and a category page copied from the browser, with full product details:

```json
{
  "startUrls": [
    { "url": "https://www.nykaa.com/brands/lakme/c/604" },
    { "url": "https://www.nykaa.com/skin/serums/c/73006" }
  ],
  "includeDetails": true,
  "maxItems": 100
}
```

Daily watch of new launches in a category (schedule it; only products not delivered before come back):

```json
{
  "startUrls": [{ "url": "https://www.nykaa.com/skin/serums/c/73006" }],
  "onlyNew": true,
  "maxItems": 200
}
```

### Input

| Field | Type | What it does |
|---|---|---|
| `keywords` | list of text | Words to search on Nykaa, one per line, as you would type them in the site search box. When Nykaa answers a keyword with a whole category (for example kajal or korean skincare), that category's product list is returned. |
| `startUrls` | list of links | Category pages (`/c/<id>`), brand pages (`/brands/<name>/c/<id>`), search pages (`/search/result/?q=...`) or product pages (`/<product>/p/<id>`). Filters and sort already applied on the site are kept. |
| `sortBy` | select | `relevance` (default), `popularity`, `discount`, `top_rated`, `newest`, `price_asc`, `price_desc`. A sort inside a Start URL wins. |
| `maxItems` | number | Hard cap for the whole run. Default 50. 0 = no cap. |
| `maxPages` | number | Results pages per keyword or link (20 products per page). Empty = until the cap or the end. |
| `includeDetails` | checkbox | Opens every product page and adds variants, stock per variant, review count, review summary, attributes, description, ingredients, how to use, expiry, origin and seller. |
| `onlyNew` | checkbox | Remembers what earlier runs of the same keyword or link delivered (in your account) and returns only new products. |
| `proxyConfiguration` | proxy | Apify Proxy by default. Leave as is unless you need your own proxies. |

Common field names from other tools also work: `searchQuery`, `query`, `urls`, `categoryUrls`, `productUrls`,
`maxResults`, `limit`.

### Output

One row per product. Prices are in Indian rupees (INR).

| Field | Example | Notes |
|---|---|---|
| `id` | `15974225` | Nykaa product id |
| `name` | `Pilgrim 10% Niacinamide with Kojic Acid ...` | Full product name as listed |
| `brand` | `Pilgrim` | |
| `productTitle` | `10% Niacinamide with Kojic Acid ...` | Name without the brand |
| `price` | `519` | Selling price in INR |
| `mrp` | `649` | Maximum retail price (MRP) in INR |
| `discountPercent` | `20` | Discount off MRP |
| `inStock` | `true` | |
| `stockQuantity` | `8850` | Units available, as published by Nykaa |
| `rating` | `4.2` | Average stars out of 5 |
| `ratingCount` | `5907` | Number of ratings |
| `variantCount`, `variantLabel`, `variantType` | `2`, `2 sizes`, `size` | Shades or sizes available |
| `category`, `categoryId`, `categoryPath` | `Serums & Essence`, `8397`, `["Skin", "Serums", "Serums & Essence"]` | |
| `offer` | `Offer Available` | Offer text shown on the listing, when there is one |
| `tags` | `["BESTSELLER"]` | Badges such as BESTSELLER, FEATURED, NEW |
| `isLuxe` | `false` | Nykaa Luxe product |
| `sku`, `parentId` | `PILGR00000333` | |
| `imageUrl`, `images` | links | Product photos (links only) |
| `url` | `https://www.nykaa.com/...` | Product page |
| `position`, `sourceInput` | `8`, `niacinamide serum` | Rank in the results and the keyword or link it came from |

With `includeDetails` (or a product link) the row also has:

| Field | Notes |
|---|---|
| `variants` | Every shade or size: `variantId`, `name`, `sku`, `price`, `mrp`, `discountPercent`, `inStock`, `stockQuantity`, `packSize`, `expiry`, `imageUrl` |
| `selectedVariant` | Variant shown by default |
| `reviewCount` | Number of written reviews |
| `reviewSummary`, `reviewTopics` | Summary of what customers say and the topics most mentioned (topic, sentiment, mentions), when Nykaa shows them |
| `attributes` | Skin type, concern, finish, formulation, preference and other highlights |
| `description`, `ingredients`, `howToUse` | Plain text |
| `expiry`, `countryOfOrigin`, `manufacturerName`, `sellerName` | |
| `returnAvailable`, `returnPolicy` | |
| `bestsellerRank` | For example `#8 BESTSELLER` |
| `detailsIncluded` | `true` when the product page was read (and charged) |

Example row with details (from a run on 8 Nov 2026, shortened):

```json
{
  "type": "product",
  "id": "27015242",
  "name": "Renee Cosmetics Midnight XXL Waterproof, Smudge-Proof Kohl With Sharpener",
  "brand": "Renee Cosmetics",
  "price": 510,
  "mrp": 599,
  "discountPercent": 15,
  "currency": "INR",
  "inStock": true,
  "stockQuantity": 1388,
  "rating": 4.3,
  "ratingCount": 1008,
  "reviewCount": 48,
  "variantType": "shade",
  "variantCount": 2,
  "variants": [
    { "variantId": "27015242", "name": "Black", "price": 510, "mrp": 599, "inStock": true, "stockQuantity": 1388, "packSize": "1.5g", "expiry": "15 June 2029" },
    { "variantId": "27015243", "name": "Brown", "price": 510, "mrp": 599, "inStock": true, "stockQuantity": 625, "packSize": "1.5g", "expiry": "15 July 2029" }
  ],
  "category": "Kajal",
  "categoryPath": ["Makeup", "Eyes", "Kajal"],
  "attributes": { "Finish": "Matte", "Formulation": "Pencil", "Preference": "Cruelty-Free" },
  "offer": "Offer Available",
  "tags": ["FEATURED"],
  "url": "https://www.nykaa.com/renee-cosmetics-midnight-xxl-waterproof-smudge-proof-kohl-with-sharpener/p/27015245",
  "sourceInput": "kajal",
  "detailsIncluded": true,
  "scrapedAt": "2026-11-08T11:09:46Z"
}
```

Export the dataset as JSON, CSV, Excel, XML or HTML from the run page or through the Apify API.

### Errors you may see

Error rows are written to the same dataset with `type: "error"`, an `errorCode` and a plain message. They are never
charged.

| errorCode | Meaning |
|---|---|
| `INVALID_INPUT` | A link that is not a Nykaa search, category, brand or product page, or a sort value that does not exist |
| `NO_RESULTS` | Nykaa has no product for the keyword, or sends it to a promotional page without a product list |
| `NOT_FOUND` | The product, category or brand link does not exist (removed, or a typo) |
| `BLOCKED` | Nykaa refused every attempt for that source; run it again in a few minutes |
| `NOT_REACHED` | The run timeout arrived before that source was finished; raise the timeout or lower `maxItems` |

### Integrations, scheduling and AI agents

- **Schedules:** run it daily or weekly from Apify Schedules; with `onlyNew` on, each run returns only products not
  seen before for the same keyword or link, which makes a simple new-launch alert.
- **Export and webhooks:** download as CSV or Excel, or send results to Google Sheets, Slack, email or your database
  with webhooks.
- **Make, n8n and Zapier:** use the Apify app in any of them to start the run and receive the dataset.
- **AI agents:** the Actor works through the Apify MCP server, so assistants such as Claude or ChatGPT can call it to
  answer questions like "which niacinamide serums under 600 rupees have the most ratings on Nykaa".

### FAQ

**Which Nykaa pages work?** Keyword searches, every category and sub-category page, brand pages and product pages on
nykaa.com. Filters you set on the site (brand, price range and the others that appear in the address bar) are kept.

**Why did my keyword return a category?** Nykaa itself sends common keywords (kajal, lipstick, korean skincare) to a
category page; the scraper follows it and returns that category's products, the same list a shopper sees.

**What is the difference between rating count and review count?** `ratingCount` is everyone who gave stars;
`reviewCount` (with details) is the smaller number who also wrote a review.

**Do I get individual reviews?** No. The output has the rating, the counts, the review summary and the topics Nykaa
shows on the product page, not the reviews themselves or who wrote them.

**How fresh is the data?** Every run reads Nykaa live at that moment: prices, discounts and stock are the ones on the
site during the run.

**How many products can I get?** Up to 3,000 per keyword or link (20 per page), within what Nykaa shows. Split very
large categories by sub-category or brand for full coverage.

### Limitations

- Prices are what an anonymous shopper sees; member-only prices and coupon prices applied at checkout are not
  included.
- `stockQuantity` is the quantity Nykaa publishes for the product and can change quickly during sales.
- Review summary and review topics appear only for products where Nykaa shows them.
- Nykaa Fashion (a separate site) is not covered; only nykaa.com.
- Up to 3,000 products per keyword or link (150 pages).

### Changelog

- **8 Nov 2026** First version: keyword search, category, brand and product links, sort, details with variants and
  stock, `onlyNew` for schedules.

# Actor input Schema

## `keywords` (type: `array`):

Words to search on Nykaa, one per line, the same way you type them in the site search box: niacinamide serum, kajal, matte lipstick, hair oil. When Nykaa answers a keyword with a whole category, that category's product list is returned.

## `startUrls` (type: `array`):

Links copied from nykaa.com: a category page (nykaa.com/skin/serums/c/73006), a brand page (nykaa.com/brands/lakme/c/604), a search page (nykaa.com/search/result/?q=kajal) or a product page (nykaa.com/<product>/p/<id>). Filters you applied on the site (brand, price range and the others in the address bar) are kept.

## `sortBy` (type: `string`):

Order of the results, as on Nykaa. A sort already in a Start URL wins over this one.

## `maxItems` (type: `integer`):

Hard cap for the whole run, across all keywords and links. 0 = no cap.

## `maxPages` (type: `integer`):

Results pages to read per keyword or link (20 products per page). Empty or 0 = until the cap or the end of the results.

## `includeDetails` (type: `boolean`):

On: opens every product page and adds all variants (shades or sizes) with price, MRP, stock and quantity, review count, review summary and topics, attributes (skin type, concern, finish...), description, ingredients, how to use, expiry, country of origin and seller. Charged as a separate event per product page read.

## `onlyNew` (type: `boolean`):

On: remembers the products delivered in earlier runs of the same keyword or link (in your account) and delivers only products not seen before. With the default sort, new arrivals come first. Products skipped this way are not charged.

## `proxyConfiguration` (type: `object`):

Apify Proxy is used by default. The default works for almost every run; change it only if you need your own proxies.

## Actor input object example

```json
{
  "keywords": [
    "niacinamide serum"
  ],
  "sortBy": "relevance",
  "maxItems": 50,
  "includeDetails": false,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "niacinamide serum"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/nykaa-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["niacinamide serum"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/nykaa-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "niacinamide serum"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/nykaa-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/nykaa-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5AJzfvc670gMxYCy6/builds/4qUo5apFQHTtKLKR2/openapi.json
