# Sears Reviews Scraper (`muhammetakkurtt/sears-reviews-scraper`) Actor

This Apify actor automatically collects customer reviews from Sears product pages. By entering the product URL, it obtains detailed review data such as title, comment, rating, user information and number of upvotes. The collected data is stored in a structured format in the Apify data store.

- **URL**: https://apify.com/muhammetakkurtt/sears-reviews-scraper.md
- **Developed by:** [Muhammet Akkurt](https://apify.com/muhammetakkurtt) (community)
- **Categories:** E-commerce, AI
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.49 / 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

![Sears Product Review Scraper](https://github.com/user-attachments/assets/a0ca3e40-739a-4907-9b12-08985026b0e8)

## Sears Product Review Scraper

This project is an Apify actor designed to scrape product reviews from Sears. It collects detailed information about product reviews, including ratings, comments, and reviewer details.

### Features

- Fetches review data from specific Sears product URLs.
- Collects information such as review ID, headline, comments, rating, and reviewer details.
- Provides detailed data on review creation and update dates.
- Offers information on review helpfulness and verification status.
- Saves the collected data to the Apify dataset.

### Usage

1. Run this actor in the Apify console.
2. Provide the desired input:
   - **productUrl**: The Sears product URL you want to collect reviews from.

#### Example Input

```json
{
"productUrl": "https://www.sears.com/samsung-ww25b6900aw-a2-2.5-cu-ft-compact-front-load/p-A119240811"
}
```

### Output

The collected data is saved to the Apify dataset. The output data includes the following fields:

- `review_id`: Unique identifier for the review
- `headline`: Review title
- `comments`: Full text of the review
- `rating`: Product rating given by the reviewer
- `nickname`: Reviewer's nickname
- `location`: Reviewer's location
- `created_date`: Date when the review was created
- `updated_date`: Date when the review was last updated
- `is_verified_buyer`: Whether the reviewer is a verified buyer
- `helpful_votes`: Number of helpful votes for the review
- `not_helpful_votes`: Number of not helpful votes for the review
- `helpful_score`: Overall helpfulness score of the review
- `brand_name`: Name of the product brand
- `brand_url`: URL of the brand's page
- `product_page_id`: Identifier for the product page

### Example Output

```json
{
    "review_id": 516359579,
    "headline": "See above! It's  not what I expected from Samsung!",
    "comments": "I bought this compact Samsung  Washer @  26 March 2024 . The  clothes Washer is extremely loud, vibrates, and sounds like a 1970 Diesel engine. I'm disappointed and will ask for a refund or a motor that doesn't rock the home.   \n\n2.5 cu. ft. Compact Front Load Washer in White with AI Smart Dial and Super Speed Wash\nItem #: 320703807 | Model #: WW25B6900AW | ENERGY STAR Most Efficient",
    "rating": 2,
    "nickname": "JD Reiviewer",
    "location": "Bradenton,  Fl",
    "created_date": "2024-04-04 02:27:31",
    "updated_date": "2024-09-19 05:13:45",
    "is_verified_buyer": false,
    "helpful_votes": 1,
    "not_helpful_votes": 1,
    "helpful_score": 2733,
    "brand_name": "Samsung - BV",
    "brand_url": "https://www.samsung.com",
    "product_page_id": "A119240811"
}
```

This example output shows the structured data of a single review. The actual output will be a list of similar objects for all reviews of the specified product.

### Notes

- The collected data is stored in Apify’s default data store.

# Actor input Schema

## `productUrl` (type: `string`):

Sears product URL you want to scrape information for

## Actor input object example

```json
{
  "productUrl": "https://www.sears.com/samsung-ww25b6900aw-a2-2.5-cu-ft-compact-front-load/p-A119240811"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammetakkurtt/sears-reviews-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("muhammetakkurtt/sears-reviews-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 '{}' |
apify call muhammetakkurtt/sears-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammetakkurtt/sears-reviews-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/sAKjpXJdLFTcWPoaz/builds/GKZd49yrXyDq7YOTj/openapi.json
