# Scrape a whole iHerb category with prices

**Use case:** 

Pulls every product from an iHerb category with its price, list price, discount, rating, review count and stock status. Use it to build a supplement price list, seed a storefront, or snapshot a category before a sale. Set Maximum Items to 0 to take the whole category.

## Input

```json
{
  "mode": "search",
  "startUrls": [
    {
      "url": "https://www.iherb.com/c/vitamins"
    }
  ],
  "countryCode": "US",
  "currencyCode": "USD",
  "maxItems": 200,
  "maxReviewsPerProduct": 100,
  "includeUpc": true,
  "monitorChangesOnly": true,
  "useSitemapForBulk": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "productId": {
    "label": "Product ID",
    "format": "string"
  },
  "title": {
    "label": "Product Name",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "listPrice": {
    "label": "List Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Review Count",
    "format": "integer"
  },
  "stockStatus": {
    "label": "Stock Status",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "stockQuantity": {
    "label": "Units left",
    "format": "integer"
  },
  "isAvailableToPurchase": {
    "label": "Available to purchase",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [iHerb Scraper: Search, Products, Reviews & Monitor](https://apify.com/vaunted/iherb-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vaunted/iherb-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vaunted/iherb-scraper.md

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`).
