# Cvs Scraper (`getdataforme/cvs-scraper`) Actor

Apify Actor that scrapes CVS product data—names, prices, descriptions, images— from multiple URLs. Delivers reliable, fast JSON output for market research, price monitoring, competitive intelligence, and business automation. User-friendly, scalable, and no coding needed.

- **URL**: https://apify.com/getdataforme/cvs-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce
- **Features:** Full permissions
- **Stats:** 40 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

## Cvs Scraper

### Introduction

The Cvs Scraper is a powerful Apify Actor designed to extract detailed product data from CVS web pages efficiently and reliably. It automates the scraping of key information such as product names, prices, descriptions, and images, enabling users to gather valuable insights without manual effort. Ideal for businesses and researchers needing up-to-date CVS data for analysis, monitoring, or integration into applications.

### Features

- **Multi-URL Support**: Scrape data from multiple CVS product pages in a single run, handling lists of URLs seamlessly.
- **Structured Data Extraction**: Retrieves comprehensive product details including titles, prices, descriptions, images, and availability.
- **High Reliability**: Built with robust error handling to ensure consistent data quality even on dynamic web pages.
- **Fast Performance**: Optimized for speed, processing pages quickly while respecting rate limits to avoid bans.
- **JSON Output**: Delivers clean, structured JSON data ready for export to databases, spreadsheets, or APIs.
- **Scalable**: Suitable for small tasks or large-scale scraping projects with Apify's cloud infrastructure.
- **User-Friendly**: Simple input configuration with no coding required, making it accessible to non-technical users.

### Input Parameters

| Parameter | Type   | Required | Description | Example |
|-----------|--------|----------|-------------|---------|
| urls      | array  | Yes      | A list of URLs of the CVS web pages you want to scrape data from. Each URL should point to a product page on cvs.com. | \["https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484", "https://www.cvs.com/shop/another-product-prodid-123456"] |

### Example Usage

#### Input

```json
{
  "urls": [
    "https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484"
  ]
}
```

#### Output

```json
[
  {
    "url": "https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484",
    "productName": "Blossom Moisturizing Lip Gloss Set",
    "price": "$12.99",
    "description": "A set of hydrating lip glosses in various shades.",
    "imageUrl": "https://www.cvs.com/.../image.jpg",
    "availability": "In Stock",
    "rating": "4.5",
    "reviewsCount": 150
  }
]
```

### Use Cases

- **Market Research and Analysis**: Gather product data to analyze trends, pricing strategies, and consumer preferences in the retail sector.
- **Competitive Intelligence**: Monitor CVS product offerings to compare with competitors and identify market gaps.
- **Price Monitoring**: Track price changes on CVS items to optimize purchasing or reselling strategies.
- **Content Aggregation**: Collect product information for building e-commerce databases or comparison websites.
- **Academic Research**: Extract data for studies on consumer goods, retail economics, or product availability.
- **Business Automation**: Integrate scraped data into inventory management systems or automated reporting tools.

### Installation and Usage

1. Search for "Cvs Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters by providing the list of URLs.
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 in JSON format, with each item representing a scraped product. Key fields include:

- `url`: The source URL.
- `productName`: The name of the product.
- `price`: Current price as a string.
- `description`: Product description.
- `imageUrl`: Link to the product image.
- `availability`: Stock status.
- `rating`: Average customer rating.
- `reviewsCount`: Number of reviews.

Data is structured as an array of objects for easy parsing and integration.

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

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

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

## Actor input object example

```json
{
  "urls": [
    "https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484"
  ]
}
```

# 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.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/cvs-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 = { "urls": ["https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484"] }

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/cvs-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 '{
  "urls": [
    "https://www.cvs.com/shop/blossom-moisturizing-lip-gloss-set-prodid-689484"
  ]
}' |
apify call getdataforme/cvs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/cvs-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/hdG6WbamBfcNaNfzd/builds/2aWE3zAyZcrcwzdOP/openapi.json
