# iHerb Reviews Extractor | Ratings, Text & Photos (`datascraperes/iherb-reviews-extractor`) Actor

Extract public iHerb reviews from product URLs or IDs. Get one row per review with ratings, titles, text, dates, language, verified purchase flags, helpful votes and photo URLs. Set total and per-product limits, filter reviews with photos, and export JSON, CSV or Excel.

- **URL**: https://apify.com/datascraperes/iherb-reviews-extractor.md
- **Developed by:** [DataScraperES](https://apify.com/datascraperes) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 95.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.38 / 1,000 review delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Extract public customer reviews from iHerb product links or IDs. Get **one row per review** with rating, text, date, original language code, helpful votes and customer photo URLs, ready for JSON, CSV or Excel export.

### What this Actor does

The Actor reads the public review pages exposed by iHerb and saves each unique product-and-review pair once per run. It processes products in input order and applies both a total review limit and an individual product limit. Results are saved progressively, so confirmed reviews remain available if collection ends early.

Reviews can include title and text, the source-provided rating normalized to stars, the raw rating, posted date, language, author display name, purchase verification, helpful votes and image URLs. Missing source fields remain null. Image files are not downloaded. Text is returned as supplied by iHerb; the language code identifies the original review language, and the source may supply translated text. `translatedTo` identifies the translation target when supplied.

### Use cases

- Build a customer feedback dataset for product and sentiment analysis.
- Compare recurring complaints and praised features across supplements.
- Collect reviews containing customer photos for manual analysis.
- Export review text and ratings into spreadsheets or data pipelines.

### How to use

1. Paste iHerb product links, review links or numeric product IDs into **Products**.
2. Choose **Maximum reviews in total**. The initial example requests only 2.
3. Optionally set the per-product limit or enable reviews with photos only.
4. Click **Start** and open the Dataset. Inspect the run summary for coverage.

### Input

Provide 1 to 100 products. Duplicate IDs and URLs identifying the same product are combined. Use a positive limit; zero does not mean unlimited. Collection can return fewer reviews than requested when fewer are exposed or the run cannot finish.

| Field | Type | Default | Purpose |
|---|---|---|---|
| `products` | array | none | iHerb product/review URLs or product IDs. |
| `maxReviews` | integer | 100 | Total unique reviews across all products, from 1 to 20000. |
| `maxReviewsPerProduct` | integer | 10000 | Individual product cap, from 1 to 10000. The total limit also applies. |
| `reviewsWithPhotosOnly` | boolean | false | Request reviews containing photos. |

The limits are maximums, not a guarantee of exhaustive retrieval. Setting a large limit does not remove source or execution limits.

```json
{
  "products": [
    "61864"
  ],
  "maxReviews": 2,
  "maxReviewsPerProduct": 2,
  "reviewsWithPhotosOnly": false
}
```

### Output

Each Dataset item represents one review for one product. `reviewId` together with `productId` identifies that result. The key-value store record `RUN_SUMMARY` contains delivered counts, collection status, coverage and reasons for incomplete collection. This is a complete representative item from the small example:

```json
{
  "recordType": "review",
  "productId": 61864,
  "reviewId": "cd2f5459-8c0e-452c-99b4-1aafff050f6f",
  "productUrl": "https://www.iherb.com/pr/61864",
  "scrapedAt": "2026-11-04T11:50:33.342517+00:00",
  "translatedTo": "en-US",
  "rating": 5.0,
  "ratingRaw": 50,
  "title": "Quali®-C from Europe has disappeared.",
  "text": "I bought it because of good caustic vitamin C, and came back to try to buy it, but the raw material seems to have changed. ㅠ\nThe reason for purchasing the iHub House brand is that it is a good \"quality\" for the price, but I think it is a matter of trust to swap the raw materials like this.\nThe other vegetarian vitamin C, Gold-C, is also disappointing that the source of vitamin C is no longer European, Quali®-C.\nLet's not be a child hub.\nIs not credit all the way to consumers?\nWe want quality European quality Quali®-C raw material.\nIt would be great if my late life helped! Please press. I hope that more people will help you with your purchase.\nChris from Korea",
  "date": "2018-02-11T10:30:35.783Z",
  "language": "ko-KR",
  "country": null,
  "verifiedPurchase": true,
  "helpfulYes": 3837,
  "helpfulNo": 144,
  "author": "iHerb customer",
  "images": []
}
```

### Pricing

The approved price schedule below is prepared for this Actor. Check the Pricing tab for the active price before starting.

| Plan | Price per review | Equivalent per 1,000 reviews |
|---|---:|---:|
| FREE | $0.0005 | $0.5 |
| BRONZE | $0.00045 | $0.45 |
| SILVER | $0.0004 | $0.4 |
| GOLD | $0.000375 | $0.375 |
| PLATINUM | $0.000375 | $0.375 |
| DIAMOND | $0.000375 | $0.375 |

The billing unit is a unique review saved and available to you, through the `review-result` pay-per-event event. Check the Pricing tab for the applicable price before starting. Failed requests, duplicate reviews and run summaries do not create review events. Configure a run spending limit to control charges. A collected review remains a result even if later source pages cannot be read.

### Related Actors

| Actor | Best for |
|---|---|
| [iHerb Product Scraper | Prices, Reviews & Q\&A](https://apify.com/datascraperes/iherb-catalog-scraper) | iHerb product discovery, prices, ingredients and review samples in product rows. |
| [Tokopedia Products, Shops & Reviews Scraper](https://apify.com/datascraperes/tokopedia-product-intelligence) | Tokopedia products, shops and customer reviews. |
| [Shopify Products Scraper | Prices & Variants](https://apify.com/datascraperes/shopify-products-scraper) | Shopify catalogs, variants and prices. |

### Limits and data quality

- Only public review content is collected; an iHerb account is not required.
- The current product limit is 10000 requested reviews per product and 20000 per run. Large requests may end with partial results; inspect the run summary for coverage.
- iHerb may reorder, repeat, remove or stop exposing reviews during collection. Reviews returned twice are saved once per product.
- A product's displayed review or rating count may differ from the written reviews available through the source. This Actor does not guarantee every review of a product.
- `complete: true` means the requested limits were reached or the exposed pages were processed without a collection problem. It does not certify a full historical archive.
- With `reviewsWithPhotosOnly`, only the source's photo-review selection is requested. Photos are returned as URLs.
- Incorrect input produces a warning and ends normally with `status: "input_needs_correction"` and `complete: false`, without review rows or review charges.
- If one product cannot be read, the Actor preserves confirmed reviews and continues with the remaining products when access and time permit. The run summary identifies the affected products and reports partial collection. Required storage or unresolved delivery and billing errors stop collection separately; inspect `RUN_SUMMARY` before treating a run as complete.
- A new run creates a new collection. Deduplication and recovery within one run do not make separately requested runs free.

### Frequently asked questions

#### Can I request 10000 reviews from one product?

Yes, set both limits accordingly. Delivery depends on the reviews iHerb exposes and the available execution time. The summary reports incomplete collection when a source or execution limit prevents finishing.

#### Can I combine product URLs and IDs?

Yes. Put both forms in Products. Links from iHerb country subdomains are accepted; the review's own language is preserved as a field.

#### Does it download review photos?

No. It returns photo URLs published with the review.

#### Are reviews deduplicated across separate runs?

No. A separately started run is a new extraction with its own results and charges.

### Responsible use

Use the data lawfully and in accordance with iHerb's terms and applicable privacy requirements. Reviewer display names are public source content; collect and retain only what you need for a legitimate purpose. Do not use reviews to harass or profile individuals or republish content without the necessary rights.

### Support

Open an issue in the Actor's **Issues** tab with the input, run ID and expected behavior. Do not include account credentials or private customer information.

[GitHub: Python, JavaScript and CSV integration examples](https://github.com/datacrawler-edu/iherb-reviews-data-api)

# Actor input Schema

## `products` (type: `array`):

One iHerb product/review URL or numeric product ID per line. Up to 100 products.

## `maxReviews` (type: `integer`):

Total unique reviews to save across all products. Collection may finish earlier if fewer reviews are exposed or access/time limits are reached.

## `maxReviewsPerProduct` (type: `integer`):

Per-product cap, also subject to the total limit. Up to 10000 requested per product; exhaustive coverage is not guaranteed.

## `reviewsWithPhotosOnly` (type: `boolean`):

Request only reviews with customer photo URLs. Image files are not downloaded.

## Actor input object example

```json
{
  "products": [
    "61864"
  ],
  "maxReviews": 2,
  "maxReviewsPerProduct": 2,
  "reviewsWithPhotosOnly": false
}
```

# Actor output Schema

## `runSummary` (type: `string`):

No description

## `reviews` (type: `string`):

No description

# 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 = {
    "products": [
        "61864"
    ],
    "maxReviews": 2,
    "maxReviewsPerProduct": 2,
    "reviewsWithPhotosOnly": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/iherb-reviews-extractor").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 = {
    "products": ["61864"],
    "maxReviews": 2,
    "maxReviewsPerProduct": 2,
    "reviewsWithPhotosOnly": False,
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/iherb-reviews-extractor").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 '{
  "products": [
    "61864"
  ],
  "maxReviews": 2,
  "maxReviewsPerProduct": 2,
  "reviewsWithPhotosOnly": false
}' |
apify call datascraperes/iherb-reviews-extractor --silent --output-dataset

```

## MCP server setup

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

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/fBe0gJaegwyeTI7Uh/builds/Hve5zG7T1Nkc1eSmy/openapi.json
