# Sephora (`datasaurus/sephora`) Actor

Scrape products from Sephora US, Canada and UK websites. Includes reviews, Q\&As and ingredients. Fast and efficient.

- **URL**: https://apify.com/datasaurus/sephora.md
- **Developed by:** [datasaurus](https://apify.com/datasaurus) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 20 total users, 7 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 product-pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Sephora Products Scraper

Scrapes Sephora product data for:

- UK (`sephora.co.uk`)

- US (`sephora.com`)

- EU (`sephora.fr`, `sephora.de`, `sephora.it`, etc.) is not supported.

### Example Inputs

#### UK Product With Detailed Page + Reviews

```json
{
  "start_urls": [
    { "url": "https://www.sephora.co.uk/makeup" }
  ],
    "scrape_product_page": true,
    "scrape_reviews": true,
    "scrape_question_answers": true,
    "max_products": 10,
    "max_reviews": 10,
    "max_question_answers": 10,
}
```

### Example Output

```json
{
  "name": "Hyaluronic Acid 2% + B5 Hydrating Serum with Ceramides",
  "brand": "The Ordinary",
  "sku": "2735132",
  "pid": "P427419",
  "price": 9.9,
  "rrp": 9.9,
  "currency": "USD",
  "link": "https://www.sephora.com/product/the-ordinary-hyaluronic-acid-2-b5-hydrating-serum-P427419?skuId=2735132",
  "imageUrl": "https://www.sephora.com/productimages/sku/s2735132-main-zoom.jpg?imwidth=62",
  "description": "A reformulation of our most-loved hydration serum that instantly hydrates and plumps, while smoothing texture and wrinkles.",
  "whatItIs": "A lightweight hydration serum with Ceramides that instantly hydrates and plumps, while smoothing texture and wrinkles.",
  "aboutProduct": "This next generation formulation provides instant and long-term plumping hydration to give softer, smoother, and healthy-looking skin.",
  "size": "1 oz / 30 ml",
  "highlights": ["alcoholFree","Cruelty-Free","Fragrance-Free","hyaluronicAcid","oilFree","Paraben-Free","siliconeFree","Sulfate-Free","Vegan","Bestseller"],
  "highlightedIngredients": [
    {"name": "Five forms of Hyaluronic Acid", "description": "Work different layers of skin’s surface to hold water"},
    {"name": "Ceramides", "description": "Oil-like molecules that support the skin barrier"},
    {"name": "Vitamin B5", "description": "Works within the skin moisture barrier to maintain it"}
  ],
  "reviewRating": 4.3103,
  "reviewCount": 1566,
  "reviews": [
    {
      "text": "if i had to pick one thing to always have it would be Hyaluronic acid!  And The Ordinary added more with it into one bottle.......love this.  This product is something I added to my morning skincare routine about 6 months ago and I would keep it forever.  PLUS its affordable.",
      "rating": 5,
      "title": "Key to having glassy looking skin",
      "author": "mrschristyp",
      "date": "2026-04-12T19:59:25.000+00:00",
      "recommended": true
    },
    {
      "text": "I first bought this way back in 2021, and I’ve used it ever since! I’ve tried different Hyaluronic acid serums since then, but nothing compares to this one. I spray a layer of water on my face before putting this stuff on, and my skin stays hydrated all day! LOVE this serum!!!!!",
      "rating": 5,
      "title": "Been Using Since 2021",
      "author": "MikkiePope",
      "date": "2026-04-11T23:52:40.000+00:00",
      "recommended": true
    },
    {
      "text": "Was looking for an extra OOMPH in my routine for my dry skin, tried this at the store and it had a good consistency and decided to pick it up. And omg I’m OBSESSED!!!!! It’s definitely a holy grail for me now. It doesn’t sit on top of your skin or weigh it down, you can feel literally feel it moisturizing your skin with no oiliness.",
      "rating": 5,
      "title": "New holy grail",
      "author": "EmilyRampulla",
      "date": "2026-04-08T16:16:01.000+00:00",
      "recommended": true
    }
  ],
  "questionsAnswers": [
    {
      "question": "Does this product have an expiration date?",
      "answers": [
        {
          "text": "no. Although it does build up a little on the cap.",
          "author": "saieslay",
          "date": "2026-03-22T20:48:32.000+00:00",
          "is_brand_answer": false
        }
      ]
    },
    {
      "question": "I just started using this after having it for two months. It has a yellowy tint and a weird smell. Is this normal?",
      "answers": [
        {
          "text": "If you read the package, it says it has a yellow tint because of the ceramides..",
          "author": "MistyVP",
          "date": "2026-02-15T04:38:55.000+00:00",
          "is_brand_answer": false
        }
      ]
    }
  ]
}
```

### Pricing (Pay-Per-Event)

This Actor uses pay-per-event billing. You are only charged for what you actually scrape.

| Event | Price | When charged |
|---|---|---|
| `product-listing` | $0.002 | Each product discovered from a category, brand, or search listing (Algolia API) |
| `product-page` | $0.005 | Each product enriched with full detail from the product page (description, ingredients, directions) |
| `review` | $0.0005 | Per individual customer review fetched |
| `question-answer` | $0.0005 | Per individual Q\&A item fetched |

Reviews and Q\&A require the product page to be fetched.

### AI agents and integrations

Connect chat clients such as Claude and ChatGPT to this Apify scrapper through the [Apify MCP server](https://docs.apify.com/integrations/mcp).

# Actor input Schema

## `start_urls` (type: `array`):

UK (sephora.co.uk), US (sephora.com), or EU (sephora.fr/de/it — detected and aborted).
Website: https://www.sephora.co.uk/
Category: https://www.sephora.co.uk/makeup
Brand: https://www.sephora.co.uk/brands/fenty-hair
Product: https://www.sephora.co.uk/p/benefit-cosmetics-benetint-lip-cheek-stain
US category: https://www.sephora.com/shop/foundation
US brand: https://www.sephora.com/brand/fenty

## `scrape_product_page` (type: `boolean`):

Fetch the individual product detail page for every product. Adds full description, ingredients, sizes and review stats to each output item.
Note: automatically enabled when Scrape Reviews or Scrape Q\&As is turned on.

## `scrape_reviews` (type: `boolean`):

Scraping reviews requires fetching the product detail page for every product, so will charge the product-detail event rate per product. Reviews are charged at the review event rate.

## `scrape_question_answers` (type: `boolean`):

Scraping Q\&As requires fetching the product detail page for every product, so will charge the product-detail event rate per product. Q\&As are charged at the question-answer event rate.

## `max_products_per_category` (type: `integer`):

Maximum number of products to scrape per category when scraping the whole site. Use lower numbers for testing. Leave empty to fetch all products.

## `max_products` (type: `integer`):

Maximum number of products to scrape per start URL. Use lower numbers for testing. Leave empty to fetch all products.

## `max_reviews` (type: `integer`):

Total number of reviews to fetch per product. Leave empty to fetch all available reviews. Reviews are charged at the review event rate.

## `max_question_answers` (type: `integer`):

Total number of questions and answers to fetch per product. Leave empty to fetch all available Q\&As. Q\&As are charged at the question-answer event rate.

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.sephora.co.uk/makeup"
    },
    {
      "url": "https://www.sephora.co.uk/skin"
    }
  ],
  "scrape_product_page": true,
  "scrape_reviews": true,
  "scrape_question_answers": true,
  "max_products": 10,
  "max_reviews": 10,
  "max_question_answers": 10
}
```

# Actor output Schema

## `results` (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 = {
    "start_urls": [
        {
            "url": "https://www.sephora.co.uk/makeup"
        },
        {
            "url": "https://www.sephora.co.uk/skin"
        }
    ],
    "max_products": 10,
    "max_reviews": 10,
    "max_question_answers": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasaurus/sephora").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 = {
    "start_urls": [
        { "url": "https://www.sephora.co.uk/makeup" },
        { "url": "https://www.sephora.co.uk/skin" },
    ],
    "max_products": 10,
    "max_reviews": 10,
    "max_question_answers": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("datasaurus/sephora").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 '{
  "start_urls": [
    {
      "url": "https://www.sephora.co.uk/makeup"
    },
    {
      "url": "https://www.sephora.co.uk/skin"
    }
  ],
  "max_products": 10,
  "max_reviews": 10,
  "max_question_answers": 10
}' |
apify call datasaurus/sephora --silent --output-dataset

```

## MCP server setup

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

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/u6gl2aTMgg6Ckz4lO/builds/6OsMzDUUhe4Ypcqh9/openapi.json
