# Sephora Categories Spider (`getdataforme/sephora-categories-spider`) Actor

This Apify actor efficiently scrapes comprehensive product data from Sephora category pages, including IDs, brands, prices, ratings, and reviews....

- **URL**: https://apify.com/getdataforme/sephora-categories-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** AI, Automation, E-commerce
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Description

This Apify actor efficiently scrapes comprehensive product data from Sephora category pages, including IDs, brands, prices, ratings, and reviews....

***

## Sephora Categories Spider

This Apify Actor efficiently scrapes product data from Sephora's category pages, extracting detailed information such as product IDs, brand names, prices, ratings, and reviews. It provides structured, reliable data for e-commerce analysis, making it an essential tool for businesses and researchers. With built-in optimizations, it ensures high-quality results while handling dynamic web content seamlessly.

### Features

- **Comprehensive Data Extraction**: Captures key product details including IDs, names, prices, ratings, and reviews from specified Sephora categories.
- **High-Speed and Reliable Scraping**: Utilizes advanced web scraping techniques for fast, dependable performance with minimal downtime.
- **Customizable Category Selection**: Allows targeting specific categories via slugs for focused data collection.
- **Structured Output Formats**: Supports JSON, CSV, and Excel exports for easy integration into workflows.
- **Error Handling and Monitoring**: Includes robust error recovery and progress tracking through Apify's logging system.
- **Data Quality Assurance**: Ensures accurate, up-to-date information with built-in validations.
- **Scalable for Automation**: Ideal for recurring tasks like price monitoring and competitive intelligence.

### Input Parameters

| Parameter    | Type   | Required | Description                          | Example     |
|--------------|--------|----------|--------------------------------------|-------------|
| CategorySlug | string | No       | The category slug for the spider.    | "skincare" |

### Example Usage

#### Input Configuration

```json
{
  "CategorySlug": "skincare"
}
```

#### Example Output

```json
[
  {
    "product_id": "P519160",
    "brand_name": "rhode",
    "display_name": "Glazing Milk Ceramide Facial Essence",
    "current_sku": "2898419",
    "price": "$20.00 - $32.00",
    "rating": "3.8306",
    "reviews": "2036",
    "product_url": "/product/glazing-milk-P519160?skuId=2898419",
    "actor_id": "y8xLpYiM3B2ZazRfa",
    "run_id": "5BBveljIWF2sDY5xi"
  },
  {
    "product_id": "P427406",
    "brand_name": "The Ordinary",
    "display_name": "Glycolic Acid 7% Exfoliating and Brightening Daily Toner",
    "current_sku": "2031508",
    "price": "$9.00 - $13.50",
    "rating": "4.3555",
    "reviews": "4566",
    "product_url": "/product/the-ordinary-deciem-glycolic-acid-7-toning-solution-P427406?skuId=2031508",
    "actor_id": "y8xLpYiM3B2ZazRfa",
    "run_id": "5BBveljIWF2sDY5xi"
  },
  {
    "product_id": "P517678",
    "brand_name": "Beauty of Joseon",
    "display_name": "Day Dew Sunscreen Lightweight SPF 50",
    "current_sku": "2893485",
    "price": "$18.00",
    "rating": "4.0135",
    "reviews": "371",
    "product_url": "/product/day-dew-sunscreen-exclusive-50ml-P517678?skuId=2893485",
    "actor_id": "y8xLpYiM3B2ZazRfa",
    "run_id": "5BBveljIWF2sDY5xi"
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather data on product trends, pricing, and consumer ratings to inform business strategies.
- **Competitive Intelligence**: Monitor competitors' offerings in specific categories like skincare or makeup.
- **Price Monitoring**: Track price fluctuations and availability for dynamic pricing models.
- **Content Aggregation**: Collect product details for blogs, reviews, or e-commerce platforms.
- **Academic Research**: Analyze consumer behavior and product popularity in beauty markets.
- **Business Automation**: Automate data feeds for inventory management or marketing campaigns.

### Installation and Usage

1. Search for "Sephora Categories Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs data as a JSON array of objects, each representing a product. Key fields include:

- `product_id`: Unique Sephora product identifier.
- `brand_name`: The product's brand.
- `display_name`: Full product name.
- `current_sku`: Current stock-keeping unit.
- `price`: Price range or single price.
- `rating`: Average customer rating.
- `reviews`: Number of reviews.
- `product_url`: Relative URL to the product page.
- `actor_id` and `run_id`: Apify tracking identifiers for the extraction run.

This structure ensures easy parsing and integration into databases or analysis tools.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

# Actor input Schema

## `CategorySlug` (type: `string`):

The category slug for the spider.

## Actor input object example

```json
{
  "CategorySlug": "skincare"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/sephora-categories-spider").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/sephora-categories-spider").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 '{}' |
apify call getdataforme/sephora-categories-spider --silent --output-dataset

```

## MCP server setup

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

```

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/y8xLpYiM3B2ZazRfa/builds/gRk9dnVJs8oC5i3IB/openapi.json
