Skip to content

Scrape iHerb Product and Catalog Pages

One API call can turn an iHerb product page into usable data: supplement details, pricing, ingredients, reviews, and availability, delivered as structured JSON or rendered HTML for your pipeline.

OUTPUT FORMATSHTMLJSONMarkdown

What you can extract

Manual collection from iHerb is slow and difficult to scale. An API approach removes the need to run your own proxy rotation and headless browser fleet: you send a URL and API key, and receive parsed HTML or structured JSON in return.

Useful fields on a typical product page include product name, brand, price, ingredient list, supplement facts, customer reviews, ratings, stock status, and the image gallery. Choosing the right output depends on your pipeline: structured JSON suits databases and analysis, while rendered HTML preserves the full page for custom parsing.

Three ways teams use iHerb data

Three common jobs drive most iHerb collection:

  • Regional pricing comparison: the same SKU can show different prices and stock across country storefronts, which supports arbitrage tracking.
  • Ingredient collection: gathering formulation details helps with competitor analysis and product development decisions.
  • Review collection: customer feedback informs product and marketing strategy.

Before you start, decide which job you are doing. That choice determines whether you need geotargeting, ingredient-level extraction, or review pagination.

How the workflow runs

Follow this sequence:

  1. Create an account to receive an API key and a starting credit allowance.
  2. Install the SDK for your stack — Python, Node, Go, PHP, or Ruby — so each scrape is a single function call.
  3. Pass any iHerb URL with your API key; rendering and bot handling happen server-side.
  4. Add advanced parameters only when needed: render_js for JavaScript-heavy pages, stealth_proxy for CAPTCHA defences, country_code for geotargeting, and ai_extract_rules for natural-language extraction.

Decision checklist: if the page renders content only after scripts run, enable render_js; if you see CAPTCHA or IP blocking, enable stealth_proxy; if prices differ by region, set country_code; if the layout changes often, prefer ai_extract_rules over brittle selectors.

Extensions worth knowing

Beyond basic extraction, the same endpoint supports AI-powered extraction for product data, full-page screenshots of listings, JavaScript scenarios with simulated interactions, LLM-ready Markdown output, and workflow automation through tools such as n8n. Credit costs vary by feature: JavaScript rendering and premium proxies consume more credits per successful request, and credits are valid for one month without rollover.

Pricing and plan selection

Plans differ by monthly API credits, concurrent requests, and whether priority support, a dedicated account manager, and team management are included. JavaScript rendering, rotating and premium proxies, geotargeting, screenshots, and extraction rules are included across the tiers described. Prices exclude VAT.

Before choosing a plan, confirm the current pricing, included usage, trial conditions, billing schedule and cancellation terms.

Reliability and compliance notes

The service states it does not collect or store personal data from scraped sites unless explicitly requested, handles proxy rotation and headless-browser rendering to reduce blocking risk, scales across thousands of browsers and proxies during traffic spikes, and typically returns results within 1–5 seconds even on JavaScript-heavy pages.

Frequently asked questions

Is scraping iHerb legal?

Public pages are generally scrapeable, but check the target site's terms first and stay away from content behind a login.

What data can I extract from iHerb?

Anything visible on a public page can be captured. Selector-based rules or AI-driven extraction can return it as structured JSON.

How do I start scraping iHerb?

Create an account, copy your API key, and send a GET request with the target URL. The service renders the page, rotates proxies, and returns the result; a free credit allowance is available for testing.

Will I get blocked when scraping iHerb?

Residential proxy rotation and a real headless browser make requests resemble ordinary traffic. For more aggressive defences, enable stealth_proxy on the request.

Can I scrape iHerb without writing code?

Yes. A dashboard builder lets you paste a URL, adjust parameters, and copy a ready-made snippet in Python, Node, Go, PHP, Ruby, or cURL.

How do I handle JavaScript when scraping iHerb?

Set render_js=true. The page runs in a real headless browser on the server side, and you receive the HTML after scripts have executed.