# Stylevana Sale Scraper (`nmanerikar/stylevana-sale`) Actor

Stylevana is an online shop that sells trendy Asian fashion and beauty products.

The Stylevana Sale Scraper helps you get all the products that are on sale or part of a flash sale, on a country/region specific Stylevana website.

- **URL**: https://apify.com/nmanerikar/stylevana-sale.md
- **Developed by:** [Nishad Manerikar](https://apify.com/nmanerikar) (community)
- **Categories:** E-commerce
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$6.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?

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

## What does Stylevana Sale Scraper do?

Stylevana is an online shop that sells trendy Asian fashion and beauty products.

The Stylevana Sale Scraper helps you get all the products from the Stylevana website that are on sale or part of flash deals.

With this scraper you can

- Pick a specific country/region where Stylevana operates, OR all regions.
- Get a list of products on sale in that region, with all the relevant details and links.

## How to scrape Stylevana with Stylevana Sale Scraper

1. Create a free Apify account using your email
2. Open Stylevana Sale Scraper
3. Select the Country/Region of interest (EU is the default selection)
4. Click the "Start" button and wait for the data to be extracted.
5. Download your data in JSON, XML, CSV, Excel, or HTML.

## Input

There is just one input: the Country/Region of interest, which you can select from the dropdown. The Stylevana Sale Scraper will select the starting URLs automatically based on your selection. Stylevana currently operates in the following locations and has separate product selections for each:
| Country/Region | Code for JSON input |
|:-----------------|:-----------------------------|
| Europe | eu |
| USA | us |
| United Kingdom | uk |
| Canada | ca |
| Hong Kong | hk |
| Malaysia | my |
| UAE | ae |
| Australia | au |
| New Zealand | nz |
| Mexico | mx |

You can select the "All" option to scrape all the locations.

As part of the input, you should also specify the maximum number of products that the Actor should scrape. This is a simple numerical input.

You can specify the input in JSON, which looks like this (for example, for Hong Kong and a maximum of 20 products):

```JSON
{
    "country": "hk",
    "maxProducts": 20
}
```

or, for all regions and a maximum of 100 products:

```JSON
{
    "country": "all",
    "maxProducts": 100
}
```

## Output

After the Actor finishes its run, you'll get a dataset with the output. The length of the dataset depends on the amount of results retrieved. You can download those results as an Excel, HTML, XML, JSON, and CSV document.

Here is a sample record of a product retrieved by the scraper:

```JSON
{
    "url": "https://www.stylevana.com/en_MY/medicube-azelaic-acid-16-bb-calming-serum-30ml109185.html",
    "title": "medicube - Azelaic Acid 16 BB Calming Serum - 30ml",
    "brandName": "medicube",
    "brandUrl": "https://www.stylevana.com/en_MY/brands/medicube.html",
    "oldPrice": 143.24,
    "discountedPrice": 80.05,
    "discountPercent": 44.11477240994136,
    "currency": "MYR",
    "description": "Highly Concentrated and Powerful Soothing Formula - A 3-step care system that exfoliates to refine skin texture, removes excess sebum, and soothes troubled skin. Formulated with a high concentration of Azelaic Acid Complex, Niacinamide, and Pantothenic Acid, this powerful blend helps calm troubled skin, refine skin texture, and provide targeted after spot care for a clearer, more balanced complexion. Help quickly soothe and comfort troubled skin while delivering deep hydration and long-lasting moisture. This powerful duo leaves the skin feeling calm, dewy, and refreshed.",
    "imageUrl": "https://sv3-cdn.stylevana.com/media/catalog/product/cache/580db3a7cbde0de3c3f2ca86b28c80a4/m/e/medicube-azelaic-acid-16-bb-calming-serum-30ml-319.jpg",
    "stockLabel": "In Stock",
    "sku": "BSSEMEC00020"
}

```

## Can I use the Stylevana Sale Scraper with the Apify API?

Yes!

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details.

## Is it legal to scrape Stylevana with the Stylevana Sale Scraper?

The Stylevana Sale Scraper extracts only product data that is available publicly on the sale pages of Stylevana. It does not extract any private or personal user data or anything that is not publicly visible.

# Actor input Schema

## `country` (type: `string`):

Select your country

## `maxProducts` (type: `integer`):

Maximum number of products to scrape

## Actor input object example

```json
{
  "country": "eu",
  "maxProducts": 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 = {
    "country": "eu",
    "maxProducts": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("nmanerikar/stylevana-sale").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 = {
    "country": "eu",
    "maxProducts": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("nmanerikar/stylevana-sale").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 '{
  "country": "eu",
  "maxProducts": 5
}' |
apify call nmanerikar/stylevana-sale --silent --output-dataset

```

## MCP server setup

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

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/f4Gx78La36wXJhbPW/builds/T7bxjOZuNmqQBuzeJ/openapi.json
