# Collect Walmart reviews for sentiment analysis

**Use case:** 

Pulls Walmart customer reviews for a list of products, with rating, review text, date and verified-purchase flag, one row per review. Feed the output to a spreadsheet or an AI model for sentiment analysis.

## Input

```json
{
  "itemIds": [
    "19630116077",
    "18611919209"
  ],
  "maxReviewsPerProduct": 20,
  "useCache": true,
  "forceRefresh": false
}
```

## Output

```json
{
  "us_item_id": {
    "label": "Item ID",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "average_rating": {
    "label": "Product overall rating",
    "format": "number"
  },
  "review_count": {
    "label": "Product review count",
    "format": "number"
  },
  "review_rating": {
    "label": "Review rating",
    "format": "number"
  },
  "review_title": {
    "label": "Review title",
    "format": "text"
  },
  "review_text": {
    "label": "Review text",
    "format": "text"
  },
  "review_date": {
    "label": "Review date",
    "format": "text"
  },
  "reviewer_nickname": {
    "label": "Reviewer nickname",
    "format": "text"
  },
  "review_verified_purchase": {
    "label": "Review verified purchase",
    "format": "boolean"
  },
  "review_positive_feedback": {
    "label": "Review positive feedback",
    "format": "text"
  },
  "review_negative_feedback": {
    "label": "Review negative feedback",
    "format": "text"
  },
  "review_seller_name": {
    "label": "Review seller name",
    "format": "text"
  },
  "from_cache": {
    "label": "From cache",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Walmart Reviews Scraper: Customer Ratings & Review Text Actor is ready to run with the inputs already set for "Collect Walmart reviews for sentiment analysis". [Sign up or log in](https://console.apify.com/create-task-from-example/GqdpUc5K79KxR70vo) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Collect Walmart reviews for sentiment analysis" task

The Walmart Reviews Scraper: Customer Ratings & Review Text Actor will start running based on the input automatically. You can also change all the input fields, like walmart item ids, max reviews per product, and more, to match your specific use case.

### 3. Receive the "Collect Walmart reviews for sentiment analysis" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as item id, name, product overall rating, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Collect Walmart reviews for sentiment analysis" task via API](https://apify.com/mjohnson7cd/walmart-reviews-scraper.md).

## FAQ

### Does the Walmart reviews for sentiment analysis task need a login?

No. The Walmart reviews for sentiment analysis task reads public review pages. No account or API key is needed.

## About this Actor

This example demonstrates how to use [Walmart Reviews Scraper: Customer Ratings & Review Text](https://apify.com/mjohnson7cd/walmart-reviews-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mjohnson7cd/walmart-reviews-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mjohnson7cd/walmart-reviews-scraper.md

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`).
