Extract iHerb Product Listings from Search

Extract iHerb Product Listings from Search

by tonic_waterfall

Automatically extract iHerb product listings from any search. Get structured data on prices, ratings, and availability for analysis, all without manual work.

46 runs
2 users
Try This Actor

Opens on Apify.com

About Extract iHerb Product Listings from Search

Need to pull product data from iHerb for price monitoring, competitor research, or inventory analysis? This Apify actor lets you scrape iHerb's search results just like you'd browse the site yourself. You can start with a keyword, dive into a specific category, or apply filters to narrow things down. Want to see items sorted by price, rating, or best sellers? It handles that, too. I've used it to track supplement prices and build product databases, and it reliably grabs the core details you need: product names, prices, ratings, image URLs, and direct links. It runs in the cloud, so you don't have to worry about getting blocked or managing proxies. Just set your search parameters, run the actor, and get structured JSON or CSV data delivered. It's a straightforward way to automate what would otherwise be hours of manual copying and pasting, perfect for developers, analysts, or anyone needing clean, actionable e-commerce data from iHerb.

What does this actor do?

Extract iHerb Product Listings from Search is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

iHerb Product Listings Scraper

Overview

This Actor scrapes product listings from iHerb search and category pages. You provide URLs (including those with filters or sorting applied), and it extracts structured product data, handling pagination automatically. Output is formatted for analytics, monitoring, or integration into data pipelines.

Key Features

  • Flexible URL Input: Works with any iHerb listing URL—keyword searches, category pages, or results filtered by brand, price, rating, etc.
  • Automatic Pagination: Follows "next page" links until the desired number of products is collected.
  • Per-URL Limits: Configurable maximum number of products to extract for each input URL.
  • Rich Data Extraction: Captures pricing, ratings, availability, brand info, images, and more.
  • Structured Output: Exports data as a dataset in JSON or table formats for easy download.

How to Use

Configure the Actor with a JSON input containing your target URLs and an optional product limit.

Input Parameters

Field Type Required Description
start_urls Array\<Object> Yes List of iHerb search/category URLs to scrape. Each is processed independently.
max_products Number No Max products to extract per start URL. Default is 100.

Example Input

{
  "start_urls": [
    { "url": "https://www.iherb.com/search?kw=ozempic&sr=2" },
    { "url": "https://www.iherb.com/c/vitamins?ratings=5" }
  ],
  "max_products": 50
}

Input/Output

Output Format

The Actor creates one dataset item per product. Key fields include:

  • Identifiers: product_id, product_url, product_name, product_brand_name
  • Availability: product_is_out_of_stock, product_is_discountinued
  • Pricing: product_original_price, product_discounted_price
  • Ratings: product_ratings, product_reviews
  • Context: start_url, search_url, product_position, extracted_date

Example Output Item

{
  "start_url": "https://www.iherb.com/search?kw=ozempic&sr=2",
  "search_url": "https://www.iherb.com/search?kw=ozempic&sr=2&p=2",
  "product_position": "55",
  "product_id": "126360",
  "product_url": "https://www.iherb.com/pr/tummydrops-sweet-blackberry-ginger-18-drops/126360",
  "product_name": "Tummydrops, Sweet Blackberry Ginger, 18 Drops",
  "product_brand_name": "Tummydrops",
  "product_is_out_of_stock": false,
  "product_original_price": "$8.99",
  "product_discounted_price": "$5.39",
  "product_ratings": "4.6/5",
  "product_reviews": "59 Reviews",
  "extracted_date": "2025-12-17 03:53:14"
}

Pagination & Limits

The scraper paginates through each start_url independently, stopping for a given URL when either the max_products limit is reached or there are no more pages.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Extract iHerb Product Listings from Search now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
tonic_waterfall
Pricing
Paid
Total Runs
46
Active Users
2
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support