iHerb Scraper API
Extract structured product data from public iHerb pages as JSON. Send a product URL and receive the fields exposed by the target page.
Decide before you build
- Endpoint
- POST /scrape/retail
- Scrapers
- iHerb product pages
- Cost
- from 1 credit / call
- Free plan
- 500 credits / month
- Call pattern
- sync, POST
- On failure
- credits refunded
- Response format
- JSON
- Concurrency
- by plan tier
E-commerce & Retail requests are synchronous. Cost depends on the options selected for the request.
Try the iHerb scraper on your own targetRun a request against a public product page and inspect the JSON before you integrate.
Open the live testWhat you get back
product dataiHerb data in JSON
Retrieve the product information exposed by the public iHerb page.
- Title, description and product images
- Price, currency and stock when available
- Brand, identifiers and product variations
- Categories and seller information
Request optionsControl how the page is collected
Use rendering or proxy options only when the target requires them.
- JavaScript rendering with useChrome
- Premium proxy and country targeting
- Public URL input; no account login required
- Structured JSON in the same response
Call the iHerb scraper
Send a public product URL to the E-commerce & Retail endpoint. The API returns the result in the same response.
# POST - scrape a public product page
curl -X POST "https://api.scraping-bot.io/scrape/retail" \
-u "yourUsername:yourApiKey" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.iherb.com/pr/solgar-taurine-500-mg-250-vegetable-capsules/12182",
"options": {
"useChrome": false,
"premiumProxy": true
}
}'Code example
Authenticate with your ScrapingBot username and API key, then read the returned JSON.
const auth = "Basic " + Buffer.from("yourUsername:yourApiKey").toString("base64");
const response = await fetch("https://api.scraping-bot.io/scrape/retail", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: auth },
body: JSON.stringify({ url: "https://www.iherb.com/pr/solgar-taurine-500-mg-250-vegetable-capsules/12182", options: { useChrome: false, premiumProxy: true } }),
});
const result = await response.json();Run this call in two minutesCreate an account, copy your API key, then use the example above.
Get your API keyRequest parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | — | Full public page URL, including https://. |
options.useChrome | boolean | false | Render JavaScript when the target page requires a browser. |
options.premiumProxy | boolean | false | Use a premium proxy for targets that require it. |
options.proxyCountry | string | — | Country targeting with a premium proxy. |
Response example
Response returned for the public iHerb product page used in the request example, with long lists shortened. Available fields vary with the target page.
{
"data": {
"title": "Solgar, Taurine, 500 mg, 250 Vegetable Capsules",
"description": "Since 1947 Antioxidant Neuro & Cardio Support Non-GMO Gluten, Wheat & Dairy Free Suitable for Vegans Certified Gluten Free Halal Kosher Parve Dietary Supplement Taurine, one of the most abundant amino acids in the body, is a simple, sulfur-containing compound. It plays a variety of roles in helpi…",
"image": "https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/sol/sol02702/v/46.jpg",
"price": 21.47,
"currency": "USD",
"isInStock": true,
"EAN13": "033984027022",
"category": {
"name": "Taurine",
"url": "https://www.iherb.com/c/taurine"
},
"categories": [
{
"name": "Categories",
"url": "https://www.iherb.com/c/categories"
},
{
"name": "Supplements",
"url": "https://www.iherb.com/c/supplements"
},
{
"name": "Amino Acids",
"url": "https://www.iherb.com/c/amino-acids"
},
{
"name": "Taurine",
"url": "https://www.iherb.com/c/taurine"
}
],
"siteURL": "https://www.iherb.com/pr/solgar-taurine-500-mg-250-vegetable-capsules/12182",
"statusCode": 200,
"htmlLength": 2086259,
"captchaFound": true,
"isHtmlPage": true,
"host": "www.iherb.com",
"images": [
"https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/sol/sol02702/r/46.jpg",
"https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/sol/sol02702/r/48.jpg",
"https://cloudinary.images-iherb.com/image/upload/w_240/f_auto,q_auto:eco/images/cms/banners/dPDP-US-JP-Quality-Promise_007en-us.jpg"
],
"weight": " 1.01 lb ",
"options": [
{
"name": "Package quantity:",
"values": [
{
"value": "100 count",
"isInStock": true,
"price": 10.64,
"currency": "USD"
},
{
"value": "250 count",
"isInStock": true,
"price": 21.47,
"currency": "USD"
}
]
}
],
"shippingInfo": "Free shipping\n Free shipping is available for selected shipping service. Proceed to checkout for accurate delivery date estimation.",
"consumeBefore": "",
"sku": "",
"cup": "",
"packageQuantity": "\n 250 count\n ",
"dimensions": "\n 5.8 x 3.15 x 3.1 in\n ",
"productSaleDate": "\n 06/2008 ",
"ranking": [],
"buyWith": [],
"recommended": [],
"productInformations": [
{
"name": "Overview",
"value": "Since 1947AntioxidantNeuro & Cardio SupportNon-GMOGluten, Wheat & Dairy FreeSuitable for VegansCertified Gluten FreeHalalKosher ParveDietary SupplementTaurine, one of the most abundant amino acids in the body, is a simple, sulfur-containing compound. It plays a variety of roles in helping the normal function of the brain, eyes, heart and vascular system. It supports heart muscle contractility, stabilizes eye membranes, and has antioxidant activity. This formulation offers Free Form Taurine to promote optimal absorption and assimilation."
},
{
"name": "Suggested use",
"value": "As a dietary supplement for adults, take one (1) vegetable capsule up to four times daily, between meals or as directed by a healthcare practitioner."
},
{
"name": "Other ingredients",
"value": "Vegetable cellulose, microcrystalline cellulose, vegetable stearic acid.Free of: gluten, wheat, dairy, soy, yeast, sugar, sodium, artificial flavor, sweetener, preservatives and color."
},
{
"name": "Warnings",
"value": "If you are pregnant, nursing, taking any medications or have any medical condition, please consult your healthcare practitioner before taking any dietary supplement. Discontinue use and consult your healthcare practitioner if any adverse reactions occur. Keep out of reach of children. Store at room temperature. Do not use if outer bottle seal is missing or damaged."
},
{
"name": "",
"value": "Disclaimer"
},
{
"name": "",
"value": "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."
}
],
"properties": {
"headers": [
"Amount Per Serving",
"% DV"
],
"values": [
{
"name": "Taurine (Free Form)",
"values": [
"500 mg",
"**"
]
},
{
"name": "**Daily Value not established.",
"values": []
}
]
},
"rewiew": {
"rate": "",
"details": [],
"list": []
},
"originalPrice": null,
"siteHtml": null
}
}Credits, failures and limits
| Case | Credits | Notes |
|---|---|---|
| Standard request | from 1 credit / call | Current plans start at this rate. |
| JavaScript rendering | Additional credits | Enable only when the target requires it. |
| Premium proxy | Additional credits | Use for targets that require a premium proxy. |
| Unsuccessful request | Not deducted | Only successful requests count towards the monthly limit. |
E-commerce & Retail API or Raw HTML scraper?
| E-commerce & Retail API | Raw HTML scraper | |
|---|---|---|
| Endpoint | /scrape/retail | /scrape/raw-html |
| Returns | Structured product JSON | Rendered page HTML |
| Flow | One synchronous request | One synchronous request |
| Starting cost | from 1 credit / call | from 1 credit / call |
| Use it when | You need parsed product fields | You need your own extraction logic |
Questions about the iHerb API
- Does the iHerb scraper access private data?
- No. This guide covers public product pages and does not require signing in to a iHerb account.
- Are all fields always available?
- No. Returned data depends on what the public iHerb page exposes and what the extractor supports.
- Can I collect multiple pages at once?
- Each request takes one public URL. Submit one request per page you need to collect.
- When should I use a premium proxy?
- Use it only when a target requires it or when you need country targeting for a public page.
Source: ScrapingBot API documentation.
Other e-commerce & retail scrapers
Browse the E-commerce & Retail category for the complete list of guides. Visit the ScrapingBot blog for implementation guides.
Trusted by developers using E-commerce & Retail data.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.
Start scraping iHerb today
500 free credits every month. No card required, cancel anytime.
