# iHerb Scraper: Products, Prices, Reviews & UPC (No Login) (`cliqtomedia/iherb-scraper`) Actor

Scrape iHerb products, prices in 60+ country shops, stock, ingredients, supplement facts, UPC and reviews by keyword, category, brand or link. No login.

- **URL**: https://apify.com/cliqtomedia/iherb-scraper.md
- **Developed by:** [Cliqto Media](https://apify.com/cliqtomedia) (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.30 / 1,000 products

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 Scraper reads public iHerb product pages by keyword, category, brand or product link and saves one row per product with price, list price, stock, rating, ingredients, supplement facts and images, plus customer reviews when you ask for them.

It is for price trackers, supplement brands, resellers and researchers; the smallest run is one keyword, for example `vitamin d3` with 20 products, and it finishes in under a minute.

[![iHerb Products Scraper: a keyword, link or brand becomes product rows with price, rating and stock; 60+ country shops, reviews, UPC and supplement facts, price change monitor](https://api.apify.com/v2/key-value-stores/0hZy7Ofrttpv98skW/records/hero-20261121.png)](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)

### Table of contents

- [What it does](#what-it-does)
- [How it works](#how-it-works)
- [Quick start](#quick-start)
- [Use cases](#use-cases)
- [Input](#input)
- [Output](#output)
- [Pricing](#pricing)
- [Limits](#limits)
- [API, export and integrations](#api-export-and-integrations)
- [Troubleshooting](#troubleshooting)
- [FAQ](#faq)
- [Related Actors](#related-actors)
- [Support](#support)

### What it does

The Actor collects **iHerb products** from the public iHerb website. You give it keywords, product links or IDs, category links, brands, or ask for the whole catalog. For every product it saves the name, brand, current price, regular price, discount, currency, rating, number of ratings, stock, serving size, ingredients, supplement facts and image links. It can also save **customer reviews**, compare the same product in other iHerb country shops, add the UPC barcode, and in monitor mode save only new products and price or stock changes.

It does not log in, does not use a cart and does not place orders. It reads only what any visitor sees.

#### Good fit

- Track prices and stock of supplements in one or more iHerb country shops.
- Build a product list of a brand or a category with ingredients and supplement facts.
- Collect customer reviews of a product, with rating, text, translation and author country.
- Watch a search or a category every day and get only the products whose price or stock changed.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### How it works

1. The Actor opens the iHerb pages you list: search results, category or brand pages, product pages, or the public product sitemap.
2. For every product it reads the product details in the shop country you chose and applies your filters (brand, price, rating, stock, sale).
3. It saves one row per product in the Dataset, optional review rows, and a free status row for every input that gave no products (not found, no results, invalid input or an iHerb error). A short summary of the run is saved as `RUN_SUMMARY` in the Key-value store.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Quick start

[![Input form with the search keyword vitamin d3 (box 1), Max products 20 (box 2) and the Start button (box 3)](https://api.apify.com/v2/key-value-stores/0hZy7Ofrttpv98skW/records/quick-start-form-20261121-r2.png)](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)

1. Open the **Input** tab. **Search keywords** already has `vitamin d3` (box 1 in the picture).
2. Keep **Max products** at the prefilled `20` (box 2) or set your own number.
3. Keep **Shop country** at the default `US` or choose another iHerb shop.
4. Click **Save & start** (box 3).
5. Open the **Output** tab and pick the **Products** view (box 1 below): title, brand, price, regular price, discount and currency of each product (box 2), then rating and stock further right.

   [![Output table: the Products view (box 1) with title, brand, price, list price, discount and currency columns (box 2)](https://api.apify.com/v2/key-value-stores/0hZy7Ofrttpv98skW/records/output-table-20261121-r2.png)](https://api.apify.com/v2/key-value-stores/0hZy7Ofrttpv98skW/records/output-table-20261121-r2.png)

Expected result: 20 product rows in iHerb search order, in about 10–40 seconds.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Use cases

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Price and stock tracking | `searchQueries` or `productUrls`, `monitorChangesOnly` | product | `price`, `listPrice`, `inStock`, `changeType`, `previousPrice` | Apify schedule + webhook or Slack |
| Brand or category catalog | `brands`, `categoryUrls` | product | `title`, `brand`, `partNumber`, `servingSize`, `supplementFacts` | CSV or Excel export |
| Review analysis | `productUrls` + `maxReviews` | review | `rating`, `text`, `language`, `authorCountry`, `postedAt` | Dataset API, AI agent |
| Price by country | `productUrls` + `compareCountries` | product (one row per country) | `country`, `price`, `currency`, `inStock` | Spreadsheet |
| Barcode matching | `productUrls` + `includeUpc` | product | `upc`, `partNumber`, `productId` | Your product database |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Input

You need at least one of `searchQueries`, `productUrls`, `categoryUrls`, `brands`, `startUrls` or `useSitemap`. Empty lines are skipped. A repeated keyword, link or product is read once, with a warning in the run summary.

#### Input fields

| Field | Plain name | Type | Required | Default / prefill | Allowed values | Effect | Example | Recommendation |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `searchQueries` | Search keywords | array of strings | one source is required | prefill `["vitamin d3"]` | any text or an iHerb search link | one iHerb search per line | `["magnesium glycinate"]` | best start for most jobs |
| `productUrls` | Product links or IDs | array of strings | no | empty | iHerb `/pr/` link or number | reads these products | `["70316"]` | use for tracking known products and reviews |
| `categoryUrls` | Category links | array of strings | no | empty | iHerb `/c/` link, filters allowed | reads the category | `["https://www.iherb.com/c/vitamin-d"]` | add `maxItemsPerQuery` for many categories |
| `brands` | Brands | array of strings | no | empty | brand link or slug | reads the whole brand | `["now-foods"]` | large brands have 1000+ products |
| `startUrls` | Any iHerb links | array of strings | no | empty | product, search, category or brand links | detects the kind of each link | — | for mixed lists |
| `useSitemap` | Whole catalog from the sitemap | boolean | no | `false` | true / false | walks the public product sitemap | `true` | for a full catalog snapshot, set a large `maxItems` and timeout |
| `maxItems` | Max products | integer | no | default `100`, prefill `20` | 1–100000 | stops after this many products in total | `500` | review and compare-country rows are extra |
| `maxItemsPerQuery` | Max products per keyword or category | integer | no | `0` | 0–100000 | limit per search, category or brand | `50` | 0 means only `maxItems` |
| `country` | Shop country | string | no | `US` | 63 iHerb country codes | prices, currency and stock of this shop | `DE` | tested on US, DE and GB |
| `currency` | Currency | string | no | empty | three-letter code | prices in this currency | `EUR` | empty = currency of the shop |
| `language` | Language | string | no | `en-US` | 44 iHerb languages | language of texts and review translations | `de-DE` | — |
| `compareCountries` | Compare prices in other countries | array of strings | no | empty | up to 10 country codes | one more row per product per country | `["DE","GB"]` | each extra row is a paid product row |
| `sortBy` | Sort search results by | string | no | `relevance` | relevance, topRated, bestSellers, priceHighToLow, priceLowToHigh, onSale, nameAZ, newest, mostReviews, biggestDiscount | order of listings | `bestSellers` | a link with its own sort keeps it |
| `brandFilter` | Only these brands | array of strings | no | empty | brand names | keeps matching brands | `["California Gold Nutrition"]` | — |
| `minPrice`, `maxPrice` | Price range | number | no | empty | ≥ 0, shop currency | keeps products in range | `5`, `20` | products without price are left out |
| `minRating` | Minimum rating | number | no | empty | 0–5 | keeps products with this rating or more | `4.5` | products without rating are left out |
| `inStockOnly` | In stock only | boolean | no | `false` | true / false | keeps buyable products | `true` | — |
| `onSaleOnly` | On sale only | boolean | no | `false` | true / false | keeps discounted products | `true` | — |
| `maxReviews` | Reviews per product | integer | no | `0` | 0–5000 | review rows per product | `50` | 0 = no reviews |
| `reviewsSort` | Review order | string | no | `mostRelevant` | mostRelevant, newest, mostHelpful | which reviews come first | `newest` | — |
| `reviewsRatings` | Only these star ratings | array of strings | no | empty | 1–5 | keeps these stars | `["1","2"]` | for complaints |
| `reviewsWithImagesOnly` | Reviews with photos only | boolean | no | `false` | true / false | keeps reviews with photos | `true` | — |
| `reviewsLanguage` | Original review language | string | no | empty | language code | keeps reviews first written in it | `de` | — |
| `reviewsKeyword` | Reviews containing | string | no | empty | one word | keeps reviews with this word | `taste` | — |
| `includeReviewSummary` | Add star distribution | boolean | no | `false` | true / false | adds 1–5 star counts to the product row | `true` | — |
| `includeQuestions` | Add questions and answers | boolean | no | `false` | true / false | adds questions with answers | `true` | — |
| `maxQuestions` | Questions per product | integer | no | `10` | 1–500 | used with questions | `20` | — |
| `includeUpc` | Add UPC barcode | boolean | no | `false` | true / false | adds `upc` | `true` | one more request per product |
| `monitorChangesOnly` | Only new and changed products | boolean | no | `false` | true / false | saves only new products and price or stock changes | `true` | the first run saves everything |
| `monitorStateName` | Monitor name | string | no | `default` | letters, digits, dashes | separate history per task | `daily-vitamins` | one name per schedule |
| `compact` | Short rows | boolean | no | `false` | true / false | only price, stock, rating and link fields | `true` | for large price tracking |
| `maxConcurrency` | Parallel products | integer | no | `5` | 1–20 | products read at once | `5` | keep the default |
| `proxyConfiguration` | Proxy | object | no | Apify Proxy on | Apify Proxy or none | how the Actor connects | default | residential proxy is not needed and is replaced by the default proxy |
| `deliveryConnector` | Send results to | string | no | empty | your MCP connector | posts a short summary after the run | — | see below |
| `deliveryTarget` | Notion page or channel | string | no | empty | Notion page link or Slack channel ID | where the summary goes | — | Notion needs a page link |

#### Interacting settings

| When | Input A | Input B | Effective behavior | Example | Cost/result effect |
| --- | --- | --- | --- | --- | --- |
| Several sources | `searchQueries` | `maxItems` | sources are read in order until `maxItems` products are saved | 3 keywords, `maxItems` 50 | later keywords may get no products |
| Fair split | `maxItems` | `maxItemsPerQuery` | each search, category or brand stops at `maxItemsPerQuery` | 5 brands × 20 | up to 100 products |
| Filters | `minRating`, `inStockOnly`, … | `maxItems` | filters run after reading; left-out products do not count to `maxItems` | `minRating` 4.9 | left-out products are charged as checked products |
| Monitor | `monitorChangesOnly` | `monitorStateName` | compares with the last run of the same name | daily schedule | unchanged products are charged as checked products |
| Countries | `country` | `compareCountries` | first row in `country`, one more per compare country | US + DE, GB | 3 product rows per product |

#### Input examples

##### Prices of one keyword (prefill)

```json
{
  "searchQueries": ["vitamin d3"],
  "maxItems": 20
}
```

Expected behavior: one iHerb search in the US shop, the first 20 products.
Expected output: 20 product rows with `title`, `price`, `rating`, `inStock`.
Limit or cost note: about $0.0092 on the Free plan.

##### Reviews of one product

```json
{
  "productUrls": ["70316"],
  "maxReviews": 50,
  "reviewsSort": "newest"
}
```

Expected behavior: reads product 70316 and its 50 newest reviews.
Expected output: 1 product row and 50 review rows with `rating`, `text`, `postedAt`.
Limit or cost note: about $0.022 on the Free plan.

##### Daily price monitor of a category

```json
{
  "categoryUrls": ["https://www.iherb.com/c/probiotics"],
  "maxItems": 300,
  "monitorChangesOnly": true,
  "monitorStateName": "daily-probiotics",
  "compact": true
}
```

Expected behavior: the first run saves all products; next runs save only new products and price or stock changes.
Expected output: product rows with `changeType` and `previousPrice`.
Limit or cost note: unchanged products cost $0.05 per 1000.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Output

The Dataset has three views: **Products**, **Reviews** and **Input status**. Every row has `type` (`product`, `review` or `status`), `source` (`iherb.com`) and `fetchedAt` (UTC time of reading).

#### Output fields

| Field | Meaning | Type | Can be empty? | Example / enum | Source / notes |
| --- | --- | --- | --- | --- | --- |
| `productId` | iHerb product ID | string | no in product rows | `70316` | from the page |
| `title` | product name with brand, as iHerb shows it | string | yes | `California Gold Nutrition, Vitamin D3, 125 mcg (5,000 IU), 90 Fish Gelatin Softgels` | review title in review rows |
| `name` | product name without brand | string | yes | `Vitamin D3, 125 mcg (5,000 IU), 90 Fish Gelatin Softgels` | — |
| `brand` | brand name | string | yes | `California Gold Nutrition` | — |
| `partNumber` | iHerb part number | string | yes | `CGN-01065` | — |
| `price` | current price in the shop currency | number | yes | `6.07` | null when iHerb hides the price; never 0 for missing |
| `listPrice` | regular price before discount | number | yes | `6.07` | — |
| `discountPercent` | discount in percent | integer | yes | `0` | 0 = no discount |
| `currency` | currency code | string | yes | `USD` | — |
| `country` | iHerb country shop of the row | string | yes | `US` | — |
| `rating` | average rating 0–5 (stars 1–5 in review rows) | number | yes | `4.8` | null = no rating yet |
| `reviewsCount` | number of ratings | integer | yes | `325449` | — |
| `inStock` | can be bought now in this shop | boolean | yes | `true` | `stockStatus` has iHerb's text |
| `servingSize` | serving size | string | yes | `1 Softgel` | from supplement facts |
| `ingredients` | ingredients as plain text, as iHerb shows them | string | yes | `Main Ingredients\nVitamin D (as D3, Cholecalciferol)\nOther Ingredients\nSafflower Oil and Fish Gelatin Softgel …` | null for products without a list |
| `supplementFacts` | name, amount and daily value per line | array | yes | `[{"name":"Vitamin D (as D3, cholecalciferol)","amount":"125 mcg (5,000 IU)","dailyValue":"625%"}]` | — |
| `images` | image links | array | no (can be `[]`) | `["https://cloudinary.images-iherb.com/…/404.jpg"]` | — |
| `categories`, `ranks` | category path and best-seller ranks | array | yes | `["Supplements","Vitamins","Vitamin D"]` | — |
| `weight`, `dimensions`, `expirationDate` | package data | string | yes | `0.095 lb`, `02/2029` | — |
| `upc` | UPC barcode | string | yes | `898220010653` | only with `includeUpc` and when iHerb shows it |
| `changeType`, `previousPrice` | monitor result | string, number | yes | `new`, `price_drop`, `price_increase`, `stock_change`, `changed`; `6.49` | only in monitor mode |
| `query`, `position`, `sponsored` | which search found the product and where | string, integer, boolean | yes | `vitamin d3`, `1`, `false` | null for product links |
| `url` | product page on iHerb | string | yes | `https://www.iherb.com/pr/…/70316` | — |
| `reviewId`, `reviewedProductId`, `text`, `language`, `author`, `authorCountry`, `verifiedPurchase`, `helpfulYes`, `imagesCount`, `postedAt` | review data | mixed | yes | `5`, `Great product`, `en-US` | only in review rows |
| `originalTitle`, `originalText`, `originalLanguage` | review as the author wrote it; `text` and `title` are iHerb's translation into the shop language when one exists | string | yes | `Sehr gut`, `de-DE` | same as `text` when the review was not translated |
| `status`, `reason`, `message`, `input` | result of an input | string | yes | `not_found`, `iHerb has no active product 999999999.` | status rows are free |

#### Output entities and surfaces

| Situation | Dataset/API/KVS/live view | Result shape | User action |
| --- | --- | --- | --- |
| Normal item | Dataset, **Products** and **Reviews** views | one row per product or review | open, export or call the Dataset API |
| Domain-empty result | Dataset, **Input status** view | `status` `no_results`, `not_found` or `not_available_in_country` | check the keyword, link or country |
| Partial result | Dataset + `RUN_SUMMARY` in the Key-value store | saved rows plus a run status `partial` and a message | run again the inputs that stopped |
| Technical failure or retry | Dataset status row `error`, run status message | `reason` `source_error` | wait a few minutes and run again |

#### Output example

```json
{
  "type": "product",
  "status": "ok",
  "productId": "70316",
  "title": "California Gold Nutrition, Vitamin D3, 125 mcg (5,000 IU), 90 Fish Gelatin Softgels",
  "brand": "California Gold Nutrition",
  "price": 6.07,
  "listPrice": 6.07,
  "discountPercent": 0,
  "currency": "USD",
  "country": "US",
  "rating": 4.8,
  "reviewsCount": 325449,
  "inStock": true,
  "servingSize": "1 Softgel",
  "supplementFacts": [{ "name": "Vitamin D (as D3, cholecalciferol)", "amount": "125 mcg (5,000 IU)", "dailyValue": "625%" }],
  "images": ["https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/cgn/cgn01065/l/404.jpg"],
  "upc": null,
  "query": "vitamin d3",
  "position": 1,
  "url": "https://www.iherb.com/pr/california-gold-nutrition-vitamin-d3-125-mcg-5-000-iu-90-fish-gelatin-softgels/70316",
  "source": "iherb.com",
  "fetchedAt": "2026-11-21T09:36:26.383Z"
}
```

This example is trimmed and contains one product from the prefill run. `null` means iHerb does not show the value or you did not ask for it (`upc` needs `includeUpc`); it never means zero.

#### Send results to Slack or Notion

Pick your connector in the optional `deliveryConnector` field. After the run saves its data, the Actor posts a short summary (up to 25 rows and a link to the full dataset) there. Put a Notion page link or a Slack channel ID in `deliveryTarget`: in Notion every run is added on top of that one page, so your workspace does not fill up with new pages. Without a page link, nothing is sent to Notion and the log says why. A delivery error never fails the run and costs nothing extra. Connect a service once in Apify Console → MCP connectors.

#### Use case → fields

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Price tracking | `productUrls`, `monitorChangesOnly` | product | `price`, `previousPrice`, `changeType` | schedule + Slack |
| Catalog | `brands` | product | `title`, `supplementFacts`, `images` | CSV export |
| Reviews | `maxReviews` | review | `rating`, `text`, `postedAt` | Dataset API |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Pricing

#### Pricing unit

You pay per saved **product** row and per saved **review** row, plus small fees for the work that finds them. Platform usage (compute and proxy) is included: you do not pay it on top.

| Event | Free | Bronze | Silver | Gold, Platinum, Diamond |
| --- | ---: | ---: | ---: | ---: |
| Product (per 1000) | $0.425 | $0.38 | $0.34 | $0.30 |
| Review (per 1000) | $0.425 | $0.38 | $0.34 | $0.30 |
| Search, category or brand page (each) | $0.0002 | $0.0002 | $0.0002 | $0.0002 |
| Checked product, not saved (per 1000) | $0.05 | $0.05 | $0.05 | $0.05 |
| Actor start (per run) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

- A search, category or brand page is charged when it is read, also when it has no products. A keyword with no results costs $0.0007 in total (start + one page).
- A checked product is a product that was read but not saved: not found, not sold in the country, left out by a filter, or unchanged in monitor mode. It costs much less than a saved product.
- Status rows for invalid input and iHerb errors are free. Rows that were not saved are never charged.
- The start fee is per GB of run memory (default 256 MB = one start fee).
- If the run stops early (your limit, cancel or an iHerb error), you pay only for what was saved and read.

#### Cost examples

| Scenario | Input scope | Expected item/event count | Base charge | Optional charge | Stop/cap behavior |
| --- | --- | ---: | ---: | ---: | --- |
| One product | 1 product link | 1 product | $0.00093 (Gold $0.0008) | none | — |
| Small | 1 keyword, 20 products | 20 products, 1 page | $0.0092 (Gold $0.0067) | none | stops at `maxItems` |
| 100 products | 1 keyword | 100 products, ~3 pages | $0.044 (Gold $0.031) | none | — |
| 1000 products | 1 brand | 1000 products, 21 pages | $0.43 (Gold $0.30) | none | — |
| Reviews | 1 product + 50 reviews | 51 rows | $0.022 (Gold $0.016) | — | stops at `maxReviews` |
| Monitor, nothing changed | 30 products | 30 checked, 1 page | $0.0022 | — | — |
| Keyword with no results | 1 keyword | 0 rows, 1 page | $0.0007 | — | — |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Limits

- Tested up to 5000 products in one run (about 24 minutes, about 3.5 products per second). The default timeout is 1 hour, which fits about 12,000 products; for larger runs raise the timeout or split the job.
- One run reads iHerb for at most 4 hours (about 50,000 products), even with a longer timeout. For the whole catalog, split it into several runs, for example by category or brand.
- One search, category or brand gives at most 400 result pages (about 19,000 products). For the whole catalog use `useSitemap`.
- Only public iHerb data. No login, no cart, no account data, no orders.
- Prices, stock and reviews change often; a row shows what iHerb showed at `fetchedAt`.
- `upc` is filled only when iHerb shows a barcode for this exact product.
- Review text translations come from iHerb; not every review has one.
- If iHerb does not answer for 3 minutes in a row, the run stops with a clear message and keeps what it saved.
- Country shops tested: US, DE and GB. Other codes in the list are iHerb shops, but prices and stock there were not checked one by one.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### API, export and integrations

- **API:** start the Actor with `POST https://api.apify.com/v2/acts/cliqtomedia~iherb-scraper/runs` and the input JSON; read rows from the run's Dataset.
- **Export:** JSON, CSV, Excel, XML or HTML from the **Output** tab or the Dataset API.
- **Scheduling:** create an Apify schedule with `monitorChangesOnly` and one `monitorStateName` per schedule.
- **Webhooks / no-code:** use an Apify webhook on run success, or the Apify apps in Make, Zapier or n8n.
- **SDK / MCP / agent:** Apify JavaScript and Python clients, or the MCP server below.

#### Use with AI agents (MCP)

- MCP server with only this Actor: `https://mcp.apify.com?tools=cliqtomedia/iherb-scraper`.
- Smallest useful input: `{"searchQueries": ["vitamin d3"], "maxItems": 20}`.
- Key output fields: `title` (product name with brand), `price` and `currency` (current price), `inStock` (can be bought now), `rating` (average 0–5), `url` (product page).
- A 20-product run takes about 10–40 seconds and costs about $0.0092 on the Free plan. Keep `maxItems` small for interactive use.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Troubleshooting

#### A keyword gives no products

Symptom: the **Input status** view has `no_results`.
Likely reason: iHerb has no products for this keyword in this country shop.
Check: open the `url` of the status row in a browser.
Action: try another spelling or a category link.

#### A product is `not_found` or `not_available_in_country`

Symptom: a status row instead of a product row.
Likely reason: iHerb removed the product, or does not sell it in the chosen country.
Check: the `message` field.
Action: try another `country`, or remove the product from your list.

#### The run status is `partial`

Symptom: the run summary says that some inputs stopped early because iHerb did not answer.
Likely reason: iHerb was slow or blocked some requests for a while.
Check: status rows with `reason` `source_error`.
Action: run those inputs again later. You were charged only for saved rows and read pages.

If the message says the run stopped at the time limit, raise the timeout in the run options or split the job; one run reads iHerb for at most 4 hours.

#### A status row says `markup_changed`

Symptom: a status row with `reason` `markup_changed` and the message that the iHerb page layout changed.
Likely reason: iHerb changed its pages, and the Actor can no longer read them.
Check: the `input` and `message` of the status row.
Action: report it in [Issues](https://apify.com/cliqtomedia/iherb-scraper/issues) with the run link. Status rows are free.

#### Monitor saved nothing

Symptom: 0 product rows in monitor mode.
Likely reason: nothing changed since the last run with the same `monitorStateName`.
Check: the run status message says how many products were checked and left out.
Action: none; use a new `monitorStateName` to start a new history.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### FAQ

#### Do I need an iHerb account or cookies?

No. The Actor reads public pages only, without login.

#### Why are rows empty or why do I pay with no products?

A keyword with no results still reads one search page; that costs $0.0007 in total with the start fee. Invalid input and iHerb errors are free status rows.

#### Are prices and reviews complete and fresh?

Each row shows what iHerb showed at `fetchedAt`. Missing values are `null`, not 0. Reviews come in the chosen order up to `maxReviews`.

#### Can I get prices in euros or another currency?

Yes. Choose the `country` shop, or set `currency` to a three-letter code.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Related Actors

- [Google Shopping Scraper - Prices, Stores & Offers, No Login](https://apify.com/cliqtomedia/google-shopping-scraper) — compare a supplement's price across other online shops.
- [Idealo Price Scraper: All Shop Offers, 6 Countries, No Login](https://apify.com/cliqtomedia/idealo-price-scraper) — all shop offers for a product in European countries.
- [Shopify Store Products Export - No Login, Any Store](https://apify.com/cliqtomedia/shopify-products-scraper) — products and prices from a brand's own Shopify store.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/3o4DUUMM3ZSriF8Cq/input)**

### Support

For a bug, question or feature request, open the Actor's **Issues** tab on Apify. Include the run ID, the input you used (without private data) and the error text from the run log or status row. Never send tokens, cookies or billing data.

⭐ Found it useful? [Rate this Actor](https://apify.com/cliqtomedia/iherb-scraper/reviews).
Something wrong? [Report a problem](https://apify.com/cliqtomedia/iherb-scraper/issues) — we fix reported problems.

# Changelog

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

# Actor input Schema

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

One iHerb search per line, for example vitamin d3 or magnesium glycinate. Each keyword returns up to "Max products" results in iHerb order. You can also paste an iHerb search link.

## `productUrls` (type: `array`):

iHerb product pages such as https://www.iherb.com/pr/california-gold-nutrition-vitamin-d3/70316, or just the number 70316. A product that iHerb no longer has gets a free not_found row.

## `categoryUrls` (type: `array`):

iHerb category pages such as https://www.iherb.com/c/vitamin-d, with their filters if you like.

## `brands` (type: `array`):

Whole iHerb brand catalogs: a brand link such as https://www.iherb.com/c/now-foods or just the slug now-foods.

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

Mixed iHerb links: products, searches, categories or brands. The Actor detects the kind of each link.

## `useSitemap` (type: `boolean`):

Walk the public iHerb product sitemap and collect products up to "Max products". Use for a full catalog snapshot.

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

The run stops after this many products in total (rows of compare countries and reviews are extra). Default 100.

## `maxItemsPerQuery` (type: `integer`):

Limit each search, category or brand separately. 0 means only "Max products" applies.

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

Prices, currency and availability are read for this iHerb country shop. Default US.

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

Three-letter code such as EUR. Empty means the usual currency of the shop country.

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

Language of product texts and review translations. Default en-US.

## `compareCountries` (type: `array`):

Up to 10 more country codes such as DE, GB, JP. Each product gets one more row per country with its local price and stock; a product not sold there gets a free status row.

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

Order of search, category and brand results. A link with its own sort keeps it.

## `brandFilter` (type: `array`):

Keep products whose brand name contains one of these, for example California Gold Nutrition.

## `minPrice` (type: `number`):

In the shop currency. Products without a price are left out when set.

## `maxPrice` (type: `number`):

In the shop currency. Products without a price are left out when set.

## `minRating` (type: `number`):

From 0 to 5, for example 4.5. Products without a rating are left out when set.

## `inStockOnly` (type: `boolean`):

Keep only products that can be bought now in the shop country.

## `onSaleOnly` (type: `boolean`):

Keep only products with a discount.

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

0 means no reviews. Each review is one row with rating, text, translation, author country and date.

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

Which reviews come first.

## `reviewsRatings` (type: `array`):

Numbers 1–5, for example 1 and 2 for complaints. Empty means all ratings.

## `reviewsWithImagesOnly` (type: `boolean`):

Keep only reviews with customer photos.

## `reviewsLanguage` (type: `string`):

Keep only reviews first written in this language, for example en or de-DE. Empty means all languages.

## `reviewsKeyword` (type: `string`):

Keep only reviews with this word, for example taste.

## `includeReviewSummary` (type: `boolean`):

Adds counts of 1–5 star reviews to each product row.

## `includeQuestions` (type: `boolean`):

Adds customer questions with their answers to each product row.

## `maxQuestions` (type: `integer`):

Used with "Add questions and answers".

## `includeUpc` (type: `boolean`):

Adds the UPC barcode when iHerb shows it for this exact product. One more request per product.

## `monitorChangesOnly` (type: `boolean`):

Compares with the previous run of the same monitor name and saves only new products and changes of price or stock, with changeType and previousPrice. The first run saves everything.

## `monitorStateName` (type: `string`):

Keep a separate history per task, for example daily-vitamins. Letters, digits and dashes. Default: default.

## `compact` (type: `boolean`):

Only price, stock, rating and link fields, without texts and ingredients.

## `maxConcurrency` (type: `integer`):

How many products are read at once. Default 5.

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

Apify Proxy is on by default. Turn it off to connect directly. Residential proxy is not used: iHerb works with the default datacenter proxy.

## `deliveryConnector` (type: `string`):

Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors.

## `deliveryTarget` (type: `string`):

Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why.

## Actor input object example

```json
{
  "searchQueries": [
    "vitamin d3"
  ],
  "useSitemap": false,
  "maxItems": 20,
  "maxItemsPerQuery": 0,
  "country": "US",
  "language": "en-US",
  "sortBy": "relevance",
  "inStockOnly": false,
  "onSaleOnly": false,
  "maxReviews": 0,
  "reviewsSort": "mostRelevant",
  "reviewsWithImagesOnly": false,
  "includeReviewSummary": false,
  "includeQuestions": false,
  "maxQuestions": 10,
  "includeUpc": false,
  "monitorChangesOnly": false,
  "compact": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Product rows, one per product and country shop.

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

Review rows when reviews were requested.

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

Status of each input, counters, warnings and iHerb requests of the run.

# 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 = {
    "searchQueries": [
        "vitamin d3"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/iherb-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 = {
    "searchQueries": ["vitamin d3"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/iherb-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 '{
  "searchQueries": [
    "vitamin d3"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call cliqtomedia/iherb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/iherb-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/3o4DUUMM3ZSriF8Cq/builds/eizZcs4OH6NCp6Nwi/openapi.json
