# Sweetcare Actor (`getdataforme/sweetcare-actor`) Actor

Effortlessly scrape product data from Sweetcare.com with the Sweetcare Actor. Extract details like name, SKU, brand, description, price, and availability from Sweetcare product pages. Perfect for e-commerce analysis or research. Enable proxies for seamless scraping and avoid blockages.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Sweetcare Actor Documentation

### Apify Actor: Sweetcare Actor

**Scrape sweetcare data from web pages effortlessly!**

This actor enables you to extract detailed product data from the Sweetcare website. It takes a list of Sweetcare product page URLs as input and returns structured JSON data containing product information such as name, SKU, image URL, brand, description, price, and availability.

***

#### How Sweetcare Actor Works

1. **Input:** Provide a list of Sweetcare product page URLs you want to scrape.
2. **Processing:** The actor fetches data from the specified URLs, including product details like name, SKU, price, and availability.
3. **Output:** The actor returns the extracted data in JSON format.

***

#### Input Example

The input format for the actor is a JSON object with the following structure:

```json
{
    "title": "Scrape sweetcare data from web pages",
    "type": "object",
    "schemaVersion": 1,
    "properties": {
        "urls": {
            "title": "List of URLs of the sweetcare pages",
            "type": "array",
            "description": "A list of URLs of the web pages you want to scrape data from.",
            "editor": "stringList",
            "prefill": [
                "https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=03"
            ]
        }
    },
    "required": ["urls"]
}
```

***

#### Output Example

Once the actor runs successfully, it returns the following structured JSON data:

```json
[
    {
        "url": "https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=01",
        "name": "Transdermic Hfsc Complete Treatment Ampoules for Women ",
        "sku": "015292CE_01_RU",
        "image": "https://static.sweetcare.com/img/prd/160/v-504911232000000000/crescina-015292ce_01.jpg",
        "brand": "Crescina",
        "description": "Transdermic Hfsc Complete Treatment Vials for Women is a topical preparation with a dual function: helps physiological hair growth and helps stop hair loss.Complete hair loss treatment!The package contains two types of ampoules:Ampoules containing Crescina Transdermic Re-Growth HFSC, and other ampoules, containing Crescina Transdermic Anti-Hair Loss, which combines the basic active ingredients (Hydroxyproline, Aspartic Acid, Enzyme Activator and Taurine) with Hydrolyzed Yeast Protein and Acetyl-3 Tetrapeptide to strengthen the root and 3 vasodilators to facilitate its penetration (Transdermal Technology) into the capillary system and scalp. The formulation is enriched with the HSSC Complex.Due to their low molecular weight and the presence of vasodilators, the main active ingredients are facilitated in their penetration and performance.Available in three concentrations:200 - For early states: Moderate weakened hair in men and women.500 - For intermediate stage: Advanced weakened hair for men and women1300 - For advanced stages: Incipient baldness in men and women",
        "priceCurrency": "RUB",
        "itemCondition": "http://schema.org/NewCondition",
        "availability": "http://schema.org/InStock",
        "price": "6617.47"
    }
]
```

***

#### Key Features

- **Input Flexibility:** Easily provide a list of Sweetcare product page URLs.
- **Detailed Output:** Extract essential product details such as:
  - Product name
  - SKU
  - Brand
  - Description
  - Price
  - Availability status
  - Image URL
- **JSON Format:** The output is structured in JSON format for seamless integration with other tools and workflows.

***

#### Notes

- **Proxy Usage:**
  - To ensure smooth data extraction, always enable proxies while running the Sweetcare Actor.
  - Running without a proxy may lead to request blockages.

***

#### Support

For questions, bug reports, or custom output requirements, please contact us:

- Email: support@getdataforme.com
- Contact Form: <https://getdataforme.com/contact/>

Please include "Sweetcare Actor Support" in the email subject. Thank you!

# Actor input Schema

## `urls` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "urls": [
    "https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=03"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "urls": [
        "https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=03"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/sweetcare-actor").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 = {
    "urls": ["https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=03"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/sweetcare-actor").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 '{
  "urls": [
    "https://www.sweetcare.com/ru/crescina-transdermic-hfsc-complete-treatment-vials-women-p-015292ce?st=03"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/sweetcare-actor --silent --output-dataset

```

## MCP server setup

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

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/qNg3XiSEtuiRiDl81/builds/mLDkelVBh75BgrHrw/openapi.json
