# iHerb Products & Reviews Scraper (`automation-lab/iherb-products-reviews-scraper`) Actor

Extract iHerb product details, prices, stock, ingredients, supplement facts and full customer reviews from any iHerb country store. Search by keyword, product, category or brand URL. Fast HTTP, no browser.

- **URL**: https://apify.com/automation-lab/iherb-products-reviews-scraper.md
- **Developed by:** [Automation Lab](https://apify.com/automation-lab) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 record saveds

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

## iHerb Products & Reviews Scraper

Extract iHerb product details, prices, stock, ingredients, supplement facts and full customer reviews from any iHerb country store. Add search keywords, product, category or brand URLs, or product IDs, pick a country and currency, and get clean JSON, CSV or Excel rows.

The scraper reads iHerb's own catalog and review data directly, without a browser or residential proxy, so runs are fast and cheap even for thousands of products or reviews.

### What does iHerb Products & Reviews Scraper do?

It collects three kinds of records from [iHerb](https://www.iherb.com):

- **Product details**: price, list price, discount, stock status, rating, review count, sold in the last 30 days, category path, description, ingredients, supplement facts (as text and as nutrient rows), serving size, suggested use, warnings, package size, weight, dimensions, best-by date and image URLs.
- **Search results**: the fast product-card view of a search, category or brand page, with price, rating, stock and position, for price and ranking monitoring at scale.
- **Customer reviews**: every review with rating, title, text, language, reviewer country, date, helpful votes, verified-purchase flag, photos and an English (or store-language) translation when the review was written in another language.

Prices, stock, text and currency follow the iHerb country store you choose: US, UK, Germany, Japan, Korea, Saudi Arabia, Canada, Australia and 40+ more.

### Who is it for?

- **Supplement brands** tracking their own and competitors' prices, discounts, stock and ratings on iHerb in each market.
- **Resellers and distributors** comparing iHerb prices across countries and currencies before buying or listing.
- **Ecommerce and pricing analysts** building daily price and stock snapshots for a category or brand.
- **Product and R\&D teams** studying ingredients, supplement facts and formulations across hundreds of products.
- **Market researchers and review analysts** collecting full review histories to measure sentiment, complaints and trends by country and language.

### Why use this iHerb scraper?

- **Full review history**: page through all reviews of a product, not only the top two shown on the product page. Sort by newest, oldest, most helpful, highest or lowest rating, and filter by language.
- **Any country and currency**: one setting switches prices, stock and product text to another iHerb store.
- **Category and brand pages**: paste an iHerb `/c/...` URL and the Actor lists that whole category or brand.
- **Structured supplement facts**: nutrient name, amount and % daily value as separate fields, ready for spreadsheets.
- **Fast and light**: no browser, no residential proxy, about 30 product details in 10 seconds.
- **Honest failures**: an invalid URL or an unknown product ID fails the run with a clear message and no charge for rows.

### What data can you extract from iHerb?

| Field | Product details | Search results | Reviews |
|---|:---:|:---:|:---:|
| Product ID, URL, title, brand, part number | ✅ | ✅ | ✅ (ID, title, URL) |
| Price, list price, discount %, currency | ✅ | ✅ | |
| Price per serving or unit | ✅ | ✅ | |
| In stock, stock message, back-in-stock date | ✅ | ✅ (in stock) | |
| Rating and review count | ✅ | ✅ | ✅ (review rating) |
| Sold in the last 30 days | ✅ | ✅ | |
| Category, category paths | ✅ | | |
| Description, ingredients, suggested use, warnings | ✅ | | |
| Supplement facts (text and rows), serving size | ✅ | | |
| Package quantity, weight, dimensions, best-by date | ✅ | | |
| Image URLs | ✅ | ✅ (main image) | ✅ (review photos) |
| Review title, text, language, date, helpful votes | | | ✅ |
| Verified purchase, reviewer country and nickname | | | ✅ |
| Translation into the store language | | | ✅ |

### How much does it cost to scrape iHerb products and reviews?

The Actor uses pay-per-event pricing: a small fee per run plus a fee per saved record (one product, one search result or one review). There is no monthly rental, and Apify platform usage is included.

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND |
|---|---:|---:|---:|---:|---:|---:|
| Run start (once per run) | $0.0003 | $0.0003 | $0.0003 | $0.0003 | $0.0003 | $0.0003 |
| Product, search result or review record | $0.00063 | $0.00063 | $0.000567 | $0.000504 | $0.000504 | $0.000504 |

Examples at the BRONZE price:

- Price check of 25 products: about **$0.016**.
- 1,000 product details for a category snapshot: about **$0.63**.
- 10,000 reviews for a sentiment study: about **$6.30**.

The Apify Free plan's $5 monthly credit covers roughly 7,900 records a month at the FREE price. Set **Maximum records** or a run spending limit to control cost; the Actor stops cleanly when it reaches either one.

### How to scrape iHerb

1. Open the Actor in Apify Console and click **Try for free**.
2. Choose **What to collect**: Product details, Search results (fast) or Customer reviews.
3. Add search keywords, iHerb URLs (product, review, search, category or brand pages) or product IDs.
4. Optionally set the **Country store**, currency and language.
5. Set **Maximum records**, then click **Start**.
6. Download the results as JSON, CSV, Excel or HTML, or read them with the API.

### Input parameters

| Field | Type | Description |
|---|---|---|
| `mode` | string | `details` (default), `search` or `reviews`. |
| `searchQueries` | array | Keywords to search, for example `magnesium glycinate` or `now foods`. |
| `startUrls` | array | iHerb URLs: product `/pr/...`, review `/r/...`, search `/search?kw=...`, category or brand `/c/...`, from any country site. |
| `productIds` | array | Numeric product IDs, for example `72886`. |
| `maxItems` | integer | Most records to save in the run (default 50). Search, category and brand inputs share it equally. |
| `country` | string | Country store code, for example `US`, `GB`, `DE`, `JP`, `KR`, `SA` (default `US`). |
| `currency` | string | Currency code such as `USD` or `EUR`. Empty uses the store's currency. |
| `language` | string | Language code such as `en-US` or `de-DE`. Empty uses the store's language. |
| `sortBy` | string | Search order: `relevance`, `featured`, `bestSellers`, `topRated`, `mostRated`, `priceLowToHigh`, `priceHighToLow`, `newest`, `highestDiscount`. |
| `maxReviewsPerProduct` | integer | Reviews mode: most reviews per product (default 100). |
| `reviewsSort` | string | Reviews mode: `default`, `newest`, `oldest`, `mostHelpful`, `highestRating`, `lowestRating`. |
| `reviewLanguage` | string | Reviews mode: keep reviews in one language, for example `en-US`. |
| `proxyConfiguration` | object | Optional. The Actor connects directly and switches to an Apify proxy by itself if needed. |

Example input for a UK price check of a brand and a search:

```json
{
    "mode": "details",
    "startUrls": [{ "url": "https://uk.iherb.com/c/thorne" }],
    "searchQueries": ["magnesium glycinate"],
    "country": "GB",
    "maxItems": 100
}
```

Example input for the newest English reviews of two products:

```json
{
    "mode": "reviews",
    "productIds": ["72886", "16567"],
    "reviewsSort": "newest",
    "reviewLanguage": "en-US",
    "maxReviewsPerProduct": 200,
    "maxItems": 400
}
```

### Output example

A product details record (long text shortened):

```json
{
    "recordType": "product",
    "productId": 72886,
    "url": "https://www.iherb.com/pr/thorne-magnesium-bisglycinate-7-98-oz-226-2-g/72886",
    "title": "Magnesium Bisglycinate, 7.98 oz (226.2 g)",
    "brand": "Thorne",
    "brandCode": "THR",
    "partNumber": "THR-00644",
    "price": 52,
    "listPrice": 52,
    "currency": "USD",
    "priceFormatted": "$52.00",
    "discountPercent": null,
    "pricePerUnit": "$0.87/serving",
    "inStock": true,
    "stockStatus": "In stock",
    "rating": 4.7,
    "reviewCount": 3480,
    "soldLast30Days": 3000,
    "category": "Magnesium",
    "rootCategory": "Supplements",
    "categories": ["Brands A-Z > Thorne", "Categories > Supplements > Minerals > Magnesium"],
    "ingredients": "Citric acid, monk fruit concentrate. ...",
    "supplementFactsRows": [
        { "name": "Magnesium (as Magnesium Bisglycinate)", "amount": "200 mg", "dailyValue": "48%" }
    ],
    "servingSize": "One Scoop (3.77 g)",
    "suggestedUse": "Mix 1 scoop with at least 8 ounces of water daily or as recommended by your health-care practitioner.",
    "packageQuantity": "7.98 oz",
    "countryCode": "US",
    "language": "en-US",
    "scrapedAt": "2026-11-24T07:20:11.512Z"
}
```

A review record:

```json
{
    "recordType": "review",
    "reviewId": "505112b3-1a03-49c6-917d-2ae19e9b5bab",
    "requestedProductId": 72886,
    "productId": 72886,
    "productTitle": "Magnesium Bisglycinate, 7.98 oz (226.2 g)",
    "rating": 5,
    "title": "좋은 제품",
    "text": "항상 구매하여 먹고 있습니다. 포장도 깔끔합니다.",
    "language": "ko-KR",
    "reviewerCountry": "KR",
    "postedAt": "2026-11-24T04:42:22.912Z",
    "helpfulVotes": 0,
    "verifiedPurchase": true,
    "translatedTitle": "Good product",
    "translatedText": "I always buy and eat this. The packaging is neat, too."
}
```

In review records, `title` and `rating` are the review's own title and star rating.

### Tips and limits

- **One record type per run**: the mode decides whether you get products, search cards or reviews. Product URLs in search mode still return full product records.
- **Shared reviews**: iHerb shows one review list for all sizes of a product. `requestedProductId` is the product you asked for; `productId` is the size the reviewer bought.
- **Category and brand URLs** are matched to iHerb's category or brand filter. If no filter has that name, the Actor searches for the words in the URL instead and logs a warning.
- **Search results** cover what iHerb's own search returns for the chosen country; some products are not sold in every country.
- **Prices** are the public prices for an anonymous visitor in that country, before cart-level promo codes.
- **Translations** appear only when the review is in a different language than the store language.

### Integrations and workflows

- **Daily price and stock monitoring**: schedule a details run for your brand URL and send the dataset to Google Sheets, a database or a Slack alert through Apify integrations or webhooks.
- **Cross-country price comparison**: run the same product IDs with `country` set to US, GB, DE and JP, then join on `productId`.
- **Review sentiment pipeline**: collect reviews with `reviewsSort: newest` each week and feed `text` or `translatedText` into your sentiment or LLM tool.
- **Assortment research**: list a category with `mode: search` to get every product's price and rating, then fetch details only for the products you care about.

### Use the iHerb scraper with the API

cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~iherb-products-reviews-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"details","productIds":["72886"],"country":"US"}'
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automation-lab/iherb-products-reviews-scraper').call({
    mode: 'reviews',
    productIds: ['72886'],
    maxReviewsPerProduct: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automation-lab/iherb-products-reviews-scraper").call(run_input={
    "mode": "search",
    "searchQueries": ["vitamin d3"],
    "country": "GB",
    "maxItems": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["price"], item["currency"])
```

### Use with AI agents through MCP

Connect the Actor to Claude Code or any MCP client through the Apify MCP server:

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/iherb-products-reviews-scraper"
```

**Claude Desktop**, **Cursor** and **VS Code** use the same server in their MCP JSON configuration (Claude Desktop: `claude_desktop_config.json`; Cursor: `.cursor/mcp.json`; VS Code: `.vscode/mcp.json`):

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/iherb-products-reviews-scraper"
        }
    }
}
```

The server also adds run, dataset and abort tools. Start one run, keep its run ID, and if it is not finished within the call's wait time, check the same run with `get-actor-run` at growing intervals (for example 2, 4 and 8 seconds, up to a 2-minute deadline) instead of starting a new run. When it succeeds, read results with `get-dataset-items` in small pages (for example 20 rows at a time with only the fields you need) and stop when you have enough.

Example prompts:

- "Get the current US and UK prices and stock for iHerb product 72886."
- "Collect the 200 newest English reviews of iHerb product 16567 and summarize the main complaints."
- "List the 50 best-selling magnesium supplements on iHerb Japan with prices in yen."

### Is it legal to scrape iHerb?

The Actor collects publicly visible product and review information that iHerb shows to any visitor without logging in. It does not log in, bypass paywalls or collect private account data. Review records contain only the public nickname and country that iHerb displays; avoid combining them with other data to identify people, and follow the GDPR and other privacy laws that apply to you. Check iHerb's terms of use for your use case, and use the data responsibly. This Actor is not affiliated with or endorsed by iHerb.

**Data handling**: the Actor uses no AI service. Results, input and logs stay in your Apify storage under your retention settings. If a run fails, a sanitized error report (input without secrets or URL query strings, the error stack and run IDs) goes to our private GlitchTip error tracker and is deleted after 30 days (30-day retention).

### FAQ

**Can I get all reviews of a product, not only the top ones?**
Yes. Reviews mode pages through the complete review list. Set `maxReviewsPerProduct` high enough, for example 5000, and raise `maxItems` to match.

**Why are the prices different from what I see in my browser?**
iHerb sets prices and currency by country. Set `country` (and optionally `currency`) to the store you are looking at. Promo codes applied in the cart are not included.

**The run says "No iHerb products found". What should I check?**
Check the spelling of the keyword and that the product is sold in the chosen country. For a category or brand URL, copy it from the iHerb site exactly; the log tells you if the name could not be matched to a category or brand.

**A product ID failed with "not found or inactive". Why?**
iHerb removed the product or does not sell it anymore. Other inputs in the same run still complete.

**How fresh is the data?**
Each run reads live data from iHerb at run time. Schedule runs to build a history.

### Related scrapers

- [Walmart Scraper](https://apify.com/automation-lab/walmart-scraper): Walmart products and prices.
- [Target Product Reviews Scraper](https://apify.com/automation-lab/target-product-reviews-scraper): Target product reviews.
- [Costco Product Reviews Scraper](https://apify.com/automation-lab/costco-product-reviews-scraper): Costco product reviews.
- [Amazon Reviews Scraper](https://apify.com/automation-lab/amazon-reviews-scraper): Amazon product reviews.
- [Google Shopping Scraper](https://apify.com/automation-lab/google-shopping-scraper): prices across online stores.

### Support

Found a bug or need another field? Open an issue on the Actor's **Issues** tab in Apify Console with your run ID, and we will look into it.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/iherb-products-reviews-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Full product details (price, stock, ingredients, supplement facts, images), fast search-result cards (price, rating, stock), or customer reviews for the products you add or find.

## `searchQueries` (type: `array`):

Keywords to search on iHerb, for example a product, ingredient or brand.

## `startUrls` (type: `array`):

Product pages (/pr/...), review pages (/r/...), search pages (/search?kw=...) or category and brand pages (/c/...) from any iHerb country site.

## `productIds` (type: `array`):

Numeric iHerb product IDs, the number at the end of a product URL (for example 72886).

## `maxItems` (type: `integer`):

The most records to save in this run, counting products or reviews.

## `country` (type: `string`):

Two-letter country code of the iHerb store whose prices, stock and language you want, for example US, GB, DE, JP, KR, SA.

## `currency` (type: `string`):

Three-letter currency code for prices, for example USD or EUR. Empty uses the country store's own currency.

## `language` (type: `string`):

Language for product text, for example en-US, de-DE or ja-JP. Empty uses the country store's own language.

## `sortBy` (type: `string`):

How iHerb orders search and category results.

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

Reviews mode only: the most reviews to save for each product.

## `reviewsSort` (type: `string`):

Reviews mode only: which reviews come first.

## `reviewLanguage` (type: `string`):

Reviews mode only: keep reviews written in one language, for example en-US or ja-JP. Empty returns reviews in every language.

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

Usually not needed: the Actor connects directly and switches to an Apify proxy by itself if iHerb refuses it.

## Actor input object example

```json
{
  "mode": "details",
  "searchQueries": [
    "magnesium glycinate"
  ],
  "startUrls": [
    {
      "url": "https://www.iherb.com/pr/thorne-magnesium-bisglycinate-7-98-oz-226-2-g/72886"
    }
  ],
  "maxItems": 20,
  "country": "US",
  "maxReviewsPerProduct": 100,
  "reviewsSort": "default"
}
```

# Actor output Schema

## `overview` (type: `string`):

Every saved record in one table.

## `products` (type: `string`):

Prices, stock, ratings, ingredients and supplement facts per product.

## `searchResults` (type: `string`):

Search, category or brand result cards with price, rating and position.

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

Customer reviews with rating, text, language, date and helpful votes.

# 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 = {
    "mode": "details",
    "searchQueries": [
        "magnesium glycinate"
    ],
    "startUrls": [
        {
            "url": "https://www.iherb.com/pr/thorne-magnesium-bisglycinate-7-98-oz-226-2-g/72886"
        }
    ],
    "maxItems": 20,
    "country": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/iherb-products-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 = {
    "mode": "details",
    "searchQueries": ["magnesium glycinate"],
    "startUrls": [{ "url": "https://www.iherb.com/pr/thorne-magnesium-bisglycinate-7-98-oz-226-2-g/72886" }],
    "maxItems": 20,
    "country": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/iherb-products-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 '{
  "mode": "details",
  "searchQueries": [
    "magnesium glycinate"
  ],
  "startUrls": [
    {
      "url": "https://www.iherb.com/pr/thorne-magnesium-bisglycinate-7-98-oz-226-2-g/72886"
    }
  ],
  "maxItems": 20,
  "country": "US"
}' |
apify call automation-lab/iherb-products-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation-lab/iherb-products-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/0dNHZ7U6vG5IUJNt1/builds/RQGU1g1zqdRJxLz2r/openapi.json
