# iHerb Scraper 📦 $1/1k (`123webdata/iherb-scraper`) Actor

$1/1k 💰 | Fast ⚡️ | Quick Support 🚀 | Scrape iHerb search and product pages; get prices and availability, ingredients and usage, ratings and reviews, and product images. Export JSON or CSV for price monitoring and product research.

- **URL**: https://apify.com/123webdata/iherb-scraper.md
- **Developed by:** [123 Webdata](https://apify.com/123webdata) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.89 / 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.
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

Collect structured health and wellness product data from iHerb product and search result URLs.

### Issues and feature requests

If you encounter an issue or need a field added, open an issue on the Actor page or write to hello@123webdata.com.

### Output Example (simplified)

The overview shows the most useful fields in a table. Product images are displayed as thumbnails when the website provides them.

| Image | Product URL | Product ID | Product name | Current price | Regular price | Currency | In stock | Brand | Scraped at |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| <img src="https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/lex/lex19456/l/126.jpg" style="max-width: 100px; max-height: 100px; object-fit: contain;"> | https://www.iherb.com/pr/life-extension-bioactive-complete-b-complex-60-vegetarian-capsules/67051 | 67051 | BioActive Complete B-Complex, 60 Vegetarian Capsules | 9 |  | USD | true | Life Extension | 2026-08-20T17:50:32.473Z |

### How to scrape supported list pages

This Actor accepts individual product links in `productUrls`. It accepts search result pages in `categoryUrls`.

1. Open a supported list page in your browser.
2. Run a search you need.
3. Copy the final URL from the address bar and paste it into `categoryUrls`.

The Actor follows the products shown on that page.

### Features

- Scrapes detailed health and wellness product information from iHerb product pages
- Accepts individual product URLs and search result pages
- Lets you limit the number of saved products and choose whether to continue through additional result pages
- Returns structured prices and availability, ingredients and usage, ratings and reviews, and product images for viewing, export, and analysis

### Pricing

This Actor uses pay-per-event pricing. Its running costs are included.

- **Actor start:** $0.03 once per run — One fixed charge for starting a run.
- **Result:** $0.00099 each ($0.99 per 1,000) — A product record collected directly from a supported list page.
- **Product detail:** $0.00399 each ($3.99 per 1,000) — A full product record collected from its product page.

The start charge applies once per run. Each saved product is charged either as a Result or a Product detail, never both.

| Results in one run | Result | Product detail |
| ---: | ---: | ---: |
| 100 | $0.13 | $0.43 |
| 1,000 | $1.02 | $4.02 |

[Apify's Free plan](https://apify.com/pricing) currently includes $5 in monthly usage credits. If the full $5 is available for this Actor, one run covers about 5,020 Results or 1,245 Product details. Other Apify usage reduces the available credit.

### Input

The Actor accepts the following input parameters:

| Field | Type | Description |
| --- | --- | --- |
| `productUrls` | array | Product URLs to scrape |
| `categoryUrls` | array | Supported list pages: search result pages |
| `maxResultsPerScrape` | integer | Maximum number of product records to save |
| `usePagination` | boolean | Whether to continue through additional result pages |
| `scrapeProductDetails` | boolean | Enabled returns Product detail records with the product-page fields listed below. Disabled returns Result records with the list-level fields. |

### What data you get in each mode

Every saved product is stored as one record. `scrapeProductDetails` decides which mode you receive; the lists below name every field each mode can return. A field is empty when the website does not show that information.

#### Result

A list-level product record with 14 declared fields:

`url`, `product_id`, `name`, `price`, `regular_price`, `currency`, `in_stock`, `sku`, `brand`, `main_image`, `rating_value`, `review_count`, `canonical_url`, `scraped_at`

#### Product detail

A full product record with 22 declared fields:

`url`, `product_id`, `name`, `price`, `regular_price`, `currency`, `in_stock`, `sku`, `brand`, `category`, `breadcrumbs`, `breadcrumb_urls`, `main_image`, `images`, `description`, `description_html`, `weight`, `attributes`, `rating_value`, `review_count`, `canonical_url`, `scraped_at`

### Output Example (full)

The Actor stores one structured record per product. Card-only records contain only fields available on the list; detail-only fields are omitted.

```json
{
  "url": "https://www.iherb.com/pr/life-extension-bioactive-complete-b-complex-60-vegetarian-capsules/67051",
  "product_id": "67051",
  "name": "BioActive Complete B-Complex, 60 Vegetarian Capsules",
  "price": 9,
  "regular_price": null,
  "currency": "USD",
  "in_stock": true,
  "sku": "LEX-19456",
  "brand": "Life Extension",
  "category": "Vitamin B",
  "breadcrumbs": [
    "Categories",
    "Supplements",
    "Vitamins",
    "Vitamin B",
    "Vitamin B Complex"
  ],
  "breadcrumb_urls": [
    "https://www.iherb.com/c/categories",
    "https://www.iherb.com/c/supplements",
    "https://www.iherb.com/c/vitamins",
    "https://www.iherb.com/c/vitamin-b",
    "https://www.iherb.com/c/vitamin-b-complex"
  ],
  "main_image": "https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/lex/lex19456/l/126.jpg",
  "images": [
    "https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/lex/lex19456/l/126.jpg",
    "https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/lex/lex19456/l/131.jpg",
    "https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/lex/lex19456/l/134.jpg"
  ],
  "description": "Overview\nGluten Free\nNon-GMO LE Certified\nContains Enzymatically Active B-Vitamins\nDietary Supplement\nWhat Is BioActive Complete B-Complex?\nAre you getting enough vitamin B? There are more forms of it than you may think, and each plays a different role. So it’s important to get a wide spectrum of the vitamin B family, every day. BioActive Complete B-Complex is made with the biologically active forms of each nutrient, optimizing absorption and giving your body what it needs to thrive.\nGetting your Bs doesn’t have to be difficult. Get the biologically active forms of these vitamins you need to thrive.\nBioActive Complete B-Complex Benefits\nBoosts energy production and promotes a healthy metabolism.\nEncourages brain, cellular and organ health.\nMore biologically active so your body can use each nutrient more effectively.\n\nSuggested use\nRead the entire label and follow the directions carefully. \nTake two (2) capsules daily with food, or as recommended by a healthcare practitioner.\n\nOther ingredients\nVegetable cellulose (capsule), microcrystalline cellulose, stearic acid, purified water, silica.\n\nWarnings\nTemporary flushing, itching, rash, or gastric disturbances may occur.\nStore tightly closed in a cool, dry place.\n\nKeep out of reach of children.\nDo not exceed recommended dose.\nDo not purchase if outer seal is broken or damaged.\nConsult with your physician if you are undergoing treatment for a medical condition or if you are pregnant or lactating.\n\nSupplement facts\nSupplement Facts\nServing Size: 2 Vegetarian Capsules\nServings Per Container: 30\nAmount Per Serving:: % Daily Value\nThiamine (vitamin B1) (as thiamine HCl): 100 mg: 8333%\nRiboflavin (vitamin B2) (as riboflavin and riboflavin 5'-phosphate): 75 mg: 5769%\nNiacin (as niacinamide and niacin): 100 mg•: 625%\nVitamin B6 (as pyridoxine HCl and pyridoxal 5' phosphate): 100 mg: 5882%\nFolate (as L-5-methyltetrahydrofolate calcium salt): 680 mcg○: 170%\nVitamin B12 (as methylcobalamin): 300 mcg: 12500%\nBiotin: 1000 mcg: 3333%\nPantothenic acid (as D-calcium pantothenate): 500 mg: 10000%\nCalcium (as D-calcium pantothenate, dicalcium phosphate): 50 mg: 4%\nInositol: 100 mg: **\nPABA (para-aminobenzoic acid): 50 mg: **\n**Daily Value not established.•NE (niacin equivalents)○DFE (dietary folate equivalents)\n\nDisclaimer\nWhile iHerb strives to ensure the accuracy of its product images and information, some manufacturing changes to packaging and/or ingredients may be pending update on our site. Although items may occasionally ship with alternate packaging, freshness is always guaranteed. We recommend that you read labels, warnings and directions of all products before use and not rely solely on the information provided by iHerb.",
  "description_html": "<h2>Overview</h2><ul><li>Gluten Free</li><li>Non-GMO LE Certified</li><li>Contains Enzymatically Active B-Vitamins</li><li>Dietary Supplement</li></ul><p><strong>What Is BioActive Complete B-Complex?</strong></p><p>Are you getting enough vitamin B? There are more forms of it than you may think, and each plays a different role. So it’s important to get a wide spectrum of the vitamin B family, every day. BioActive Complete B-Complex is made with the biologically active forms of each nutrient, optimizing absorption and giving your body what it needs to thrive.</p><p>Getting your Bs doesn’t have to be difficult. Get the biologically active forms of these vitamins you need to thrive.</p><p><strong>BioActive Complete B-Complex Benefits</strong></p><ul><li>Boosts energy production and promotes a healthy metabolism.</li><li>Encourages brain, cellular and organ health.</li><li>More biologically active so your body can use each nutrient more effectively.</li></ul><h2>Suggested use</h2><p>Read the entire label and follow the directions carefully.&nbsp;</p><p>Take two (2) capsules daily with food, or as recommended by a healthcare practitioner.</p><h2>Other ingredients</h2><p>Vegetable cellulose (capsule), microcrystalline cellulose, stearic acid, purified water, silica.</p><h2>Warnings</h2><p>Temporary flushing, itching, rash, or gastric disturbances may occur.</p><p>Store tightly closed in a cool, dry place.<br></p><ul><li>Keep out of reach of children.</li><li>Do not exceed recommended dose.</li><li>Do not purchase if outer seal is broken or damaged.</li><li>Consult with your physician if you are undergoing treatment for a medical condition or if you are pregnant or lactating.</li></ul><h2>Supplement facts</h2><p>Supplement Facts</p><p>Serving Size: 2 Vegetarian Capsules</p><p>Servings Per Container: 30</p><p>Amount Per Serving:: % Daily Value</p><p>Thiamine (vitamin B1) (as thiamine HCl): 100 mg: 8333%</p><p>Riboflavin (vitamin B2) (as riboflavin and riboflavin 5'-phosphate): 75 mg: 5769%</p><p>Niacin (as niacinamide and niacin): 100 mg•: 625%</p><p>Vitamin B6 (as pyridoxine HCl and pyridoxal 5' phosphate): 100 mg: 5882%</p><p>Folate (as L-5-methyltetrahydrofolate calcium salt): 680 mcg○: 170%</p><p>Vitamin B12 (as methylcobalamin): 300 mcg: 12500%</p><p>Biotin: 1000 mcg: 3333%</p><p>Pantothenic acid (as D-calcium pantothenate): 500 mg: 10000%</p><p>Calcium (as D-calcium pantothenate, dicalcium phosphate): 50 mg: 4%</p><p>Inositol: 100 mg: **</p><p>PABA (para-aminobenzoic acid): 50 mg: **</p><p>**Daily Value not established.•NE (niacin equivalents)○DFE (dietary folate equivalents)</p><h2>Disclaimer</h2>While iHerb strives to ensure the accuracy of its product images and information, some manufacturing changes to packaging and/or ingredients may be pending update on our site. Although items may occasionally ship with alternate packaging, freshness is always guaranteed. We recommend that you read labels, warnings and directions of all products before use and not rely solely on the information provided by iHerb.",
  "weight": "0.19 lb",
  "attributes": {
    "Dimensions": "4.55 x 2.3 x 2.3 in",
    "Package quantity": "60 count"
  },
  "rating_value": 4.8,
  "review_count": 112915,
  "canonical_url": "https://www.iherb.com/pr/life-extension-bioactive-complete-b-complex-60-vegetarian-capsules/67051",
  "scraped_at": "2026-08-20T17:50:32.473Z"
}
```

### Use Cases

- Monitor health and wellness product prices and availability
- Compare product ingredients, ratings, and descriptions
- Build structured iHerb product research datasets

### Integrate with AI and automation

#### Use with AI through MCP

Connect your AI assistant to the [Apify MCP server](https://docs.apify.com/integrations/mcp). It can discover and run Actors, then access the results in the same conversation. For example, ask your assistant to scrape a list of products from iHerb, compare prices, or summarize the collected data.

#### Run on a schedule

After one successful run, use [Apify Schedules](https://docs.apify.com/actors/running/schedules) to repeat the same task hourly, daily, weekly, or with a custom cron schedule. Saved tasks are useful when you want to keep the same URLs and settings for every run.

#### Connect with n8n

[Create an n8n account](https://n8n.partnerlinks.io/ezvl1qy3f990) and add the verified Apify node to a workflow. Choose **Run an Actor and Get Dataset** when the workflow should start this Actor, wait for completion, and receive the product rows for the next node. See the [Apify integration for n8n](https://n8n.io/integrations/apify/).

#### Connect with Make

[Create a Make account](https://www.make.com/en/register?pc=vasarmilan) and add the Apify **Run an Actor** module. Follow it with **Get Dataset Items** to pass the product rows to Google Sheets, a database, email, or another Make module. For longer runs, use **Watch Actor Runs** followed by **Get Dataset Items**.

[Read the Make integration guide](https://docs.apify.com/integrations/make).

# Actor input Schema

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

Product URLs on iHerb.

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

Category URLs on iHerb.

## `maxResultsPerScrape` (type: `integer`):

Maximum number of product records to save.

## `usePagination` (type: `boolean`):

Enqueue the bounded pagination lookahead exposed by this actor.

## `scrapeProductDetails` (type: `boolean`):

Enabled returns Product detail records with the product-page fields listed in the README. Disabled returns Result records with the list-level fields.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.iherb.com/pr/california-gold-nutrition-gold-c-vitamin-c-1-000-mg-60-veggie-capsules/61864"
  ],
  "categoryUrls": [
    "https://www.iherb.com/search?kw=vitamin+c"
  ],
  "maxResultsPerScrape": 20,
  "usePagination": true,
  "scrapeProductDetails": true
}
```

# Actor output Schema

## `dataset` (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 = {
    "productUrls": [
        "https://www.iherb.com/pr/california-gold-nutrition-gold-c-vitamin-c-1-000-mg-60-veggie-capsules/61864"
    ],
    "categoryUrls": [
        "https://www.iherb.com/search?kw=vitamin+c"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("123webdata/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 = {
    "productUrls": ["https://www.iherb.com/pr/california-gold-nutrition-gold-c-vitamin-c-1-000-mg-60-veggie-capsules/61864"],
    "categoryUrls": ["https://www.iherb.com/search?kw=vitamin+c"],
}

# Run the Actor and wait for it to finish
run = client.actor("123webdata/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 '{
  "productUrls": [
    "https://www.iherb.com/pr/california-gold-nutrition-gold-c-vitamin-c-1-000-mg-60-veggie-capsules/61864"
  ],
  "categoryUrls": [
    "https://www.iherb.com/search?kw=vitamin+c"
  ]
}' |
apify call 123webdata/iherb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,123webdata/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/lcfNZaxY96JI5khre/builds/SoGXVBaNWFGUAIrSw/openapi.json
