# Ulta Beauty Scraper - Products, Prices, Shades, Reviews (`teodor_banea/ulta-beauty-scraper`) Actor

Scrape Ulta Beauty products from category, brand and sale pages or product URLs. Prices and sale prices, ratings, review counts, shades and sizes with stock, ingredients, images and attributes as clean rows. No browser, no account.

- **URL**: https://apify.com/teodor_banea/ulta-beauty-scraper.md
- **Developed by:** [Banea Teodor](https://apify.com/teodor_banea) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.60 / 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?

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

## Ulta Beauty Scraper — Products, Prices, Shades, Reviews

### What does Ulta Beauty Scraper do?

It extracts products from [ulta.com](https://www.ulta.com): give it category, brand or sale
page URLs and it returns one clean row per product — name, brand, list and sale prices,
rating, review count, badges, promotion, image and position in the listing. Turn on
**product details** (or pass product URLs) and each row also carries the description,
how-to-use text, ingredients, every shade or size with its own price and stock status,
all images, the GTIN/UPC, availability and attributes such as coverage, finish and skin
type. No browser, no account, no API key: the Actor reads the data Ulta embeds in its
pages.

### Why use this Actor?

- **Complete price data** — list price, sale price, price ranges for multi-size products,
  per-shade prices and an `isOnSale` flag, all as numbers.
- **Shades and sizes with stock** — every variant of a product with its SKU, name,
  description, image and availability (Ulta prices the selected variant; the others carry
  a price only when the site lists one).
- **Any listing page** — categories, subcategories with filters and sorting, brand pages,
  the sale page, "new arrivals": if it is a product listing on ulta.com, it works.
- **Reliable** — a run that is migrated or aborted and resurrected continues where it was,
  never writes a product twice, and a product page that cannot be read still yields the
  listing row (marked `detailsStatus: "failed"`).
- **Honest reporting** — the run's status message says exactly how many products each URL
  delivered and why a listing stopped early; unreachable pages are listed under the
  `ERRORS` key.

### How much does it cost?

**$2.50 per 1,000 products.** No per-run fee, no proxy or compute charges on top.

| Run | Products | Cost |
|---|---|---|
| One category, first 50 products (prefilled input) | 50 | $0.13 |
| A brand's whole catalogue (~300 products) | 300 | $0.75 |
| Five categories × 200 products with product details | 1,000 | $2.50 |

Product details do not change the price per row; they only make the run slower (one page
request per product: expect roughly 10–20 products per minute, so 1,000 detail rows take
about an hour, against seconds for a listing-only run).

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | — | Category, brand or sale page URLs, e.g. `https://www.ulta.com/shop/makeup/eyes/eyeshadow`, `https://www.ulta.com/brand/clinique`, `https://www.ulta.com/promotion/sale`. Filters and sorting in the URL are kept. |
| `productUrls` | array | — | Product page URLs (`https://www.ulta.com/p/<slug>-pimprod<id>?sku=<sku>`); each returns a full detail row. |
| `maxProductsPerUrl` | integer | 100 | Products to take from each listing URL (64 per page request). |
| `maxTotalProducts` | integer | 0 | Run-wide cap across all URLs; 0 = none. |
| `includeProductDetails` | boolean | false | Open every product page from the listings for description, ingredients, variants, images, GTIN, availability and attributes. |
| `includeReviews` | boolean | false | Add the reviews shown on the product page (needs product details). |

At least one of `startUrls` or `productUrls` is required. Keyword search pages
(`/search?search=…`) are not supported yet — Ulta renders them in the browser — so open the
matching category instead.

```json
{
    "startUrls": [{ "url": "https://www.ulta.com/shop/skin-care/treatment-serums?sort=bestsellers" }],
    "maxProductsPerUrl": 200,
    "includeProductDetails": true
}
```

### Output

One row per product in the default dataset. Every row has every field; values that do not
apply are `null` (or `[]` / `{}`). Fields marked *details* are filled only when the product
page was read (`includeProductDetails: true` or a product URL).

```json
{
    "productId": "pimprod2057355",
    "skuId": "2651970",
    "url": "https://www.ulta.com/p/double-wear-stay-in-place-longwear-matte-foundation-pimprod2057355?sku=2651970",
    "name": "Double Wear Stay-in-Place Longwear Matte Foundation",
    "brand": "Estée Lauder",
    "brandUrl": "https://www.ulta.com/brand/estee-lauder",
    "price": 52,
    "priceMax": 52,
    "listPrice": 52,
    "listPriceMax": 52,
    "salePrice": null,
    "salePriceMax": null,
    "currency": "USD",
    "isOnSale": false,
    "discountText": null,
    "promoText": "Free Gift with purchase",
    "badges": [],
    "isSponsored": false,
    "rating": 4.3,
    "reviewCount": 10193,
    "imageUrl": "https://media.ulta.com/i/ulta/2651970",
    "availability": "InStock",
    "gtin": "887167494855",
    "description": "Flawless, full-of-life matte. This buildable, breathable longwear foundation is made for more…",
    "details": "Features\n\n- 36-hour wear…",
    "howToUse": "Apply with a foundation brush…",
    "ingredients": "Water\\Aqua\\Eau, Methyl Trimethicone, …",
    "restrictions": null,
    "variantType": "Color",
    "variantName": "0N1 Alabaster",
    "variantCount": 57,
    "variants": [
        { "skuId": "2651970", "name": "0N1 Alabaster", "description": "lightest with neutral undertones", "listPrice": 52, "salePrice": null, "isAvailable": true, "url": "https://www.ulta.com/p/double-wear-stay-in-place-longwear-matte-foundation-pimprod2057355?sku=2651970", "imageUrl": "https://media.ultainc.com/i/ulta/2651970" }
    ],
    "images": ["https://media.ulta.com/i/ulta/2651970", "https://media.ulta.com/i/ulta/2651970_alt01"],
    "categoryPath": ["Makeup", "Face", "Foundation"],
    "attributes": { "Face Coverage": "Medium", "Face Finish": "Natural", "Face Form": "Liquid", "Skin Type": "Combination, Dry, Normal, Oily, Sensitive" },
    "reviews": [],
    "sourceUrl": "https://www.ulta.com/shop/makeup/face/foundation",
    "sourceTitle": "Foundation",
    "sourceTotalProducts": 250,
    "position": 1,
    "detailsStatus": "full",
    "scrapedAt": "2026-10-08T20:15:00.000Z"
}
```

Field notes:

- `price` is what a shopper pays now: the sale price when there is one, else the list
  price. Multi-size products show a range; `price`/`listPrice`/`salePrice` hold the lower
  bound and the `…Max` fields the upper bound.
- `skuId`, `gtin`, `availability` and `variantName` describe the selected SKU (the one in
  the URL, or the listing tile's). The full list of shades and sizes is in `variants`;
  Ulta prices only the selected variant, so the other entries have `listPrice: null`
  unless the site lists a price for them.
- A URL that is not a live ulta.com page (for example the old `/shop/sale`) is answered by
  Ulta with its generic "Our Apologies" page; the run reports it as failed with that
  explanation and continues with the other URLs.
- `detailsStatus`: `full` = product page read; `not_fetched` = listing data only;
  `failed` = the product page could not be read, listing data only.
- `position` and `sourceTotalProducts` come from the listing; rows from product URLs have
  them `null`.

The `details` dataset view shows the detail fields with `attributes` flattened into
columns. Pages that could not be scraped are listed under the **`ERRORS`** key of the run's
key-value store (URL, reason, timestamp).

### Tips and tricks

- **Filter and sort in the URL.** Open the category on ulta.com, apply filters (brand,
  price, rating, "on sale") and a sort order, then paste the resulting URL. The Actor keeps
  the query string, so `?sort=bestsellers` or a brand filter narrows the run.
- **Listing rows first, details later.** A listing run is one request per 64 products and
  finishes in seconds. Add `includeProductDetails` only when you need ingredients,
  variants or GTINs — it adds one request per product.
- **Track prices.** Schedule the same input daily and compare `price`, `salePrice` and
  `isOnSale` per `productId`.
- **Monitor stock per shade.** With details on, each `variants[]` entry carries
  `isAvailable`; `availability` summarises the selected SKU.
- **Big runs.** Keep `maxProductsPerUrl` at what you need and set `maxTotalProducts` as a
  safety cap. The Actor fetches three pages at a time and at most 40 per minute on purpose:
  Ulta answers bursts with a waiting room, and slow and steady is faster than retrying.

### Integrations

- **Google Sheets / Excel** — export the dataset as CSV (nested fields are JSON in their
  column) or use the Apify Google Sheets integration.
- **Zapier / Make** — trigger on run success and read the dataset items.
- **API** — `GET https://api.apify.com/v2/datasets/<datasetId>/items?clean=true&format=json`.
- **Scheduling** — set a daily schedule in Apify Console for price and stock tracking.

# Changelog

This Actor's version history is a separate document: https://apify.com/teodor_banea/ulta-beauty-scraper/changelog.md

# Actor input Schema

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

Enter ulta.com listing pages to scrape: category pages (https://www.ulta.com/shop/makeup/eyes/eyeshadow), brand pages (https://www.ulta.com/brand/clinique) or the sale page (https://www.ulta.com/promotion/sale). Filters and sorting in the URL are kept. Keyword search pages are not supported yet — open the matching category instead.

## `productUrls` (type: `array`):

Enter product pages to scrape directly (https://www.ulta.com/p/<slug>-pimprod<id>?sku=<sku>). Each one returns a full product row with shades, sizes, ingredients and attributes.

## `maxProductsPerUrl` (type: `integer`):

Stop each category, brand or sale listing after this many products. Listings are read 64 products per page request.

## `maxTotalProducts` (type: `integer`):

Stop the whole run after this many products across all URLs. Set to 0 for no run-wide limit.

## `includeProductDetails` (type: `boolean`):

Open every product page found in a listing to add the description, how-to-use text, ingredients, every shade or size with its own price and stock, all images, GTIN, availability and attributes. One extra page request per product (slower, same price per row). Rows from product URLs always carry the details.

## `includeReviews` (type: `boolean`):

Add the reviews Ulta shows on the product page (the first few, with title, text, rating, author and date) to each product row. Needs product details.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ulta.com/shop/makeup/eyes/eyeshadow"
    }
  ],
  "productUrls": [
    "https://www.ulta.com/p/gloom-eyeshadow-palette-pimprod2062173?sku=2661038"
  ],
  "maxProductsPerUrl": 50,
  "maxTotalProducts": 0,
  "includeProductDetails": false,
  "includeReviews": false
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product with prices, rating, review count, images and (with product details) shades, ingredients and attributes.

## `productsCsv` (type: `string`):

The same rows as CSV; nested fields (variants, images, attributes, reviews) are JSON-encoded in their column.

## `errors` (type: `string`):

Pages that could not be scraped (not found, blocked, failed), with the URL and reason.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.ulta.com/shop/makeup/eyes/eyeshadow"
        }
    ],
    "maxProductsPerUrl": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("teodor_banea/ulta-beauty-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 = {
    "startUrls": [{ "url": "https://www.ulta.com/shop/makeup/eyes/eyeshadow" }],
    "maxProductsPerUrl": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("teodor_banea/ulta-beauty-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 '{
  "startUrls": [
    {
      "url": "https://www.ulta.com/shop/makeup/eyes/eyeshadow"
    }
  ],
  "maxProductsPerUrl": 50
}' |
apify call teodor_banea/ulta-beauty-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,teodor_banea/ulta-beauty-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/42zfnWJtFCBllk81V/builds/Kzqbh7gwggFCfQvm8/openapi.json
