# Lululemon Scraper (`autofacts/lululemon-scraper`) Actor

Lululemon scraper to fetch product or products of category.

- **URL**: https://apify.com/autofacts/lululemon-scraper.md
- **Developed by:** [Richard Feng](https://apify.com/autofacts) (community)
- **Categories:** E-commerce, Developer tools
- **Stats:** 43 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Lululemon Scraper

**Lululemon Scraper** provide a way to crawl product details of site Lululemon.

### Features

1. Support fetch products of category;
2. Support fetch product detail with prices,descriptions,images and sku info;

> The price values are multiplied by 100 to avoiding floating point calculations.

### Input Parameters

The input of this scraper shoule be JSON formated. Fields are:

| Field          | Type   | Description                                                                                                                |
| :------------- | :----- | :----------------------------------------------------------------------------------------------------|
| startUrls      | Array  | Start URLs of Lululemon site to start the scraper. Category page, product page urls are all supported. |
| proxy          | Object | Select proxies to be used by your crawler.                                                           |
| maxConcurrency | Object | Actor running max concurrency, which helps you to not getting blocked.                               |

Here is the example:

```json
{
  "startUrls": [
    { "url": "https://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm" }
  ],
  "proxy": { "useApifyProxy": true },
  "maxConcurrency": 5
}
````

#### Input Examples

- fetch products of category

```json
{
  "startUrls": [
    { "url": "https://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm" }
  ],
  "proxy": { "useApifyProxy": true }
}
```

- fetch product detail

```json
{
  "startUrls": [
    { "url": "https://shop.lululemon.com/p/mens-jackets-and-outerwear/New-Venture-Blazer/_/prod9960766?color=20111" }
  ],
  "proxy": { "useApifyProxy": true }
}
```

### Data storage

Lululemon scraper stores the product data to default data set in JSON format.

```json
{
	"source": {
		"id": "prod10370104",
		"crawlUrl": "https://shop.lululemon.com/p/mens-jackets-and-outerwear/Expeditionist-Jacket/_/prod10370104",
		"canonicalUrl": "https://shop.lululemon.com/p/mens-jackets-and-outerwear/Expeditionist-Jacket/_/prod10370104",
		"retailer": "lululemon",
		"currency": "USD"
	},
	"brand": "",
	"title": "Expeditionist Jacket",
	"description": {
		"text": "You won't want to leave the house without it. With clean lines that pair with anything, this jacket features the performance details you need for everyday excursions."
	},
	"categories": [
		"Coats & Jackets",
		"What's New"
	],
	"variants": [
		{
			"id": "146301124",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "146301123",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "146301122",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "146301121",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "146301120",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "146301119",
			"sku": "LM4AJ3S-060349",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"60349",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376106",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376103",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376101",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376098",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376094",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145376090",
			"sku": "LM4AJ3S-047870",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"47870",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476086",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476085",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476084",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476083",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476082",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "145476081",
			"sku": "LM4AJ3S-032894",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"32894",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503359",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503357",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503354",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503352",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503350",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "143503348",
			"sku": "LM4AJ3S-0001",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "InStock"
			},
			"options": [
				"0001",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AJ3S"
			}
		},
		{
			"id": "142500586",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "142500583",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "142500580",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "142500577",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "142500574",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "142500571",
			"sku": "LM4AHFS-0002",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"0002",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AHFS"
			}
		},
		{
			"id": "132326129",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"XXL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		},
		{
			"id": "132326121",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"XS"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		},
		{
			"id": "132326112",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"XL"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		},
		{
			"id": "132326095",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"M"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		},
		{
			"id": "132326103",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"S"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		},
		{
			"id": "132326087",
			"sku": "LM4AEKS-020111",
			"price": {
				"current": 14800,
				"original": 14800,
				"stockStatus": "OutOfStock"
			},
			"options": [
				"20111",
				"L"
			],
			"extraInfo": {
				"in-store": false,
				"style-number": "LM4AEKS"
			}
		}
	],
	"options": [
		{
			"type": "Size",
			"values": [
				{
					"id": "XS",
					"name": "XS"
				},
				{
					"id": "S",
					"name": "S"
				},
				{
					"id": "M",
					"name": "M"
				},
				{
					"id": "L",
					"name": "L"
				},
				{
					"id": "XL",
					"name": "XL"
				},
				{
					"id": "XXL",
					"name": "XXL"
				}
			]
		},
		{
			"type": "Colour",
			"values": [
				{
					"id": "60349",
					"name": "Finch Yellow",
					"icon": "https://images.lululemon.com/is/image/lululemon/60349",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_4",
							"type": "Image",
							"index": 3
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_5",
							"type": "Image",
							"index": 4
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_060349_6",
							"type": "Image",
							"index": 5
						}
					]
				},
				{
					"id": "47870",
					"name": "Night Sea",
					"icon": "https://images.lululemon.com/is/image/lululemon/47870",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_4",
							"type": "Image",
							"index": 3
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_5",
							"type": "Image",
							"index": 4
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_047870_6",
							"type": "Image",
							"index": 5
						}
					]
				},
				{
					"id": "32894",
					"name": "Vapor",
					"icon": "https://images.lululemon.com/is/image/lululemon/32894",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_4",
							"type": "Image",
							"index": 3
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_5",
							"type": "Image",
							"index": 4
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_032894_6",
							"type": "Image",
							"index": 5
						}
					]
				},
				{
					"id": "0001",
					"name": "Black",
					"icon": "https://images.lululemon.com/is/image/lululemon/0001",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_0001_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_0001_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_0001_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AJ3S_0001_4",
							"type": "Image",
							"index": 3
						}
					]
				},
				{
					"id": "0002",
					"name": "White",
					"icon": "https://images.lululemon.com/is/image/lululemon/0002",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_4",
							"type": "Image",
							"index": 3
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_5",
							"type": "Image",
							"index": 4
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_6",
							"type": "Image",
							"index": 5
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_0002_7",
							"type": "Image",
							"index": 6
						}
					]
				},
				{
					"id": "20111",
					"name": "classic navy",
					"icon": "https://images.lululemon.com/is/image/lululemon/20111",
					"medias": [
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_1",
							"type": "Image",
							"index": 0
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_2",
							"type": "Image",
							"index": 1
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_3",
							"type": "Image",
							"index": 2
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_4",
							"type": "Image",
							"index": 3
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_5",
							"type": "Image",
							"index": 4
						},
						{
							"url": "https://images.lululemon.com/is/image/lululemon/LM4AHFS_020111_6",
							"type": "Image",
							"index": 5
						}
					]
				}
			]
		}
	],
	"price": {
		"current": 14800,
		"stockStatus": "InStock",
		"stockCount": 1
	},
	"stats": {
		"reviewCount": 50,
		"rating": 3.86
	}
}
```

# Actor input Schema

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

Start URLs of Lululemon to start the actor. Category page, product page urls are all supported.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## `maxConcurrency` (type: `integer`):

Actor running max concurrency, which helps you to not getting blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm"
    }
  ],
  "proxy": {
    "useApifyProxy": true
  },
  "maxConcurrency": 5
}
```

# 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://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm"
        }
    ],
    "proxy": {
        "useApifyProxy": true
    },
    "maxConcurrency": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("autofacts/lululemon-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://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm" }],
    "proxy": { "useApifyProxy": True },
    "maxConcurrency": 5,
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://shop.lululemon.com/c/mens-jackets-and-outerwear/_/N-8rm"
    }
  ],
  "proxy": {
    "useApifyProxy": true
  },
  "maxConcurrency": 5
}' |
apify call autofacts/lululemon-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=autofacts/lululemon-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Lululemon Scraper",
        "description": "Lululemon scraper to fetch product or products of category.",
        "version": "0.1",
        "x-build-id": "1rTdZNMzfj5LxkmwN"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/autofacts~lululemon-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-autofacts-lululemon-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/autofacts~lululemon-scraper/runs": {
            "post": {
                "operationId": "runs-sync-autofacts-lululemon-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/autofacts~lululemon-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-autofacts-lululemon-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",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Lululemon start urls",
                        "type": "array",
                        "description": "Start URLs of Lululemon to start the actor. Category page, product page urls are all supported.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "proxy": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by your crawler."
                    },
                    "maxConcurrency": {
                        "title": "Actor max concurrency",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Actor running max concurrency, which helps you to not getting blocked.",
                        "default": 5
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
