[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:iherb-product-data-api":3},{"status":4,"api":5,"seo":147},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"user":16,"endpoint_groups":19,"faqs":127,"periodic_plans":128,"payasyougo_plans":146},false,"Easily query over 40,000 products with multiple filters like price, reviews, discounts, availability, and more. You can also export a .zip file containing the latest product data.","# iHerb API\n\nWelcome to the **iHerb API**! This API allows you to retrieve a list of products by brand from the iHerb database, get all available brands, or even download a zip file with over 40,000 products (see plans for more details).\n\n## **Endpoints**\n\n### **GET** `/brands/{brandName}/products`\n\nRetrieve a list of products for a specific brand with optional filters.\n\n#### **Path Parameters**\n\n| Parameter | Type | Required | Description |\n| --- | --- | --- | --- |\n| `brandName` | string | Yes | The name of the brand to search. |\n\n#### **Query Parameters**\n\n| Parameter | Type | Description | Default |\n| --- | --- | --- | --- |\n| `page` | `int` | Page number for pagination. | 1 |\n| `productId` | `long` | Specific product ID to filter results. | null |\n| `prohibitedAtCountry` | `bool` | Filter out products that are prohibited in the current country. | null |\n| `upcCode` | `string` | Universal Product Code (UPC) to search for a specific product. | null |\n| `hasDiscount` | `bool` | Filter products that have a discount available. | null |\n| `hasStock` | `bool` | Filter products that are currently in stock. | null |\n| `hasNewProductFlag` | `bool` | Filter products marked as new. | null |\n| `isTrial` | `bool` | Filter products that are trial samples. | null |\n| `isSpecial` | `bool` | Filter products with special flags. | null |\n| `minPrice` | `float` | Minimum price for filtering. | null |\n| `maxPrice` | `float` | Maximum price for filtering. | null |\n| `minShippingWeight` | `float` | Minimum shipping weight for filtering. | null |\n| `maxShippingWeight` | `float` | Maximum shipping weight for filtering. | null |\n| `minRating` | `float` | Minimum rating value for filtering. | null |\n| `minDiscountPercent` | `int` | Minimum percentage discount for filtering. | null |\n\n## **Response Format**\n\nThe response is returned in JSON format, containing details about the products.\n\n### **Example Response**\n\n```json\n{\n  \"currentPage\": 1,\n  \"totalPages\": 5,\n  \"products\": [\n    {\n      \"productId\": 12345,\n      \"brandName\": \"iHerb\",\n      \"brandNameInHifenCase\": \"i-herb\",\n      \"brandId\": \"b123\",\n      \"outOfStock\": false,\n      \"isDiscontinued\": false,\n      \"title\": \"Vitamin D3 5000 IU\",\n      \"link\": \"https://www.iherb.com/vitamin-d3\",\n      \"sku\": \"VITD3-5000\",\n      \"formattedPrice\": \"$19.99\",\n      \"isSpecial\": false,\n      \"isTrial\": false,\n      \"hasNewProductFlag\": true,\n      \"productCatalogImage\": \"https://www.iherb.com/images/vitamin-d3.jpg\",\n      \"ratingValue\": 4.7,\n      \"reviewCount\": 120,\n      \"currencyUsed\": \"USD\",\n      \"countryUsed\": \"US\",\n      \"languageUsed\": \"en\",\n      \"unitsOfMeasureUsed\": \"oz\",\n      \"price\": 19.99,\n      \"formattedTrialPrice\": null,\n      \"trialPrice\": 0.0,\n      \"formattedSpecialPrice\": null,\n      \"specialPrice\": 0.0,\n      \"discountPercentValue\": \"10%\",\n      \"hasDiscount\": true,\n      \"soldPercent\": \"20%\",\n      \"prohibitedAtCountry\": false,\n      \"shippingWeight\": 0.5,\n      \"packageQuantity\": \"1 bottle\",\n      \"dimensions\": {\n        \"height\": 5.0,\n        \"length\": 2.5,\n        \"width\": 2.5,\n        \"weight\": 0.5\n      },\n      \"lastUpdate\": \"2024-11-20T10:30:00Z\",\n      \"allDescription\": \"This is a high-quality Vitamin D3 supplement...\",\n      \"hasAllData\": true,\n      \"productImages\": [\n        \"https://www.iherb.com/images/vitamin-d3-front.jpg\",\n        \"https://www.iherb.com/images/vitamin-d3-back.jpg\"\n      ],\n      \"stockLeft\": 0,\n      \"bestByApproximately\": \"2025-08-15\",\n      \"upcCode\": \"123456789012\",\n      \"variation\": {\n        \"variationType\": \"Flavor\",\n        \"variationDescription\": \"Orange Flavor\"\n      },\n      \"serving\": {\n        \"servingType\": \"Capsules\",\n        \"servingDescription\": \"1 capsule per serving\"\n      },\n      \"categories\": [\n        \"Supplements\",\n        \"Vitamins\"\n      ],\n      \"supplementFacts\": {\n        \"servingSize\": \"1 capsule\",\n        \"servingsPerContainer\": \"90\",\n        \"nutritionalFacts\": [\n          {\n            \"substancy\": \"Vitamin D3\",\n            \"amountPerServing\": \"5000 IU\",\n            \"dailyValuePercent\": \"1250%\"\n          }\n        ],\n        \"disclaimer\": \"These statements have not been evaluated by the FDA...\"\n      }\n    }\n  ]\n}\n```\n\n## **Response Fields**\n\n| **Field** | **Type** | **Description** |\n| --- | --- | --- |\n| `currentPage` | `int` | The current page number of the paginated response. |\n| `totalPages` | `int` | The total number of pages available. |\n| `products` | `List` | A list of products retrieved based on the filters and brand specified. |\n| `productId` | `int` | Unique ID of the product. |\n| `brandName` | `string` | Name of the brand. |\n| `brandNameInHifenCase` | `string` | Brand name formatted in hyphen-case. |\n| `brandId` | `string` | Unique ID of the brand. |\n| `outOfStock` | `bool` | Indicates if the product is currently out of stock. |\n| `isDiscontinued` | `bool` | Indicates if the product has been discontinued. |\n| `title` | `string` | Product title. |\n| `link` | `string` | URL link to the product page. |\n| `sku` | `string` | Stock Keeping Unit (SKU) identifier. |\n| `formattedPrice` | `string` | Formatted display price of the product. |\n| `isSpecial` | `bool` | Flag indicating if the product is marked as special. |\n| `isTrial` | `bool` | Flag indicating if the product is a trial sample. |\n| `hasNewProductFlag` | `bool` | Indicates if the product is marked as new. |\n| `productCatalogImage` | `string` | URL of the product’s catalog image. |\n| `ratingValue` | `float` | Average rating value of the product. |\n| `reviewCount` | `int` | Number of reviews for the product. |\n| `currencyUsed` | `string` | Currency code used for the product price. |\n| `countryUsed` | `string` | Country code representing the product’s origin or sale location. |\n| `languageUsed` | `string` | Language code used for the product’s description. |\n| `unitsOfMeasureUsed` | `string` | Unit of measure used for the product. |\n| `price` | `float` | Actual product price in float format. |\n| `formattedTrialPrice` | `string` | Formatted price if the product is a trial sample. |\n| `trialPrice` | `float` | Actual trial price in float format. |\n| `formattedSpecialPrice` | `string` | Formatted price if the product is on special offer. |\n| `specialPrice` | `float` | Actual special offer price in float format. |\n| `discountPercentValue` | `string` | Discount percentage if applicable. |\n| `hasDiscount` | `bool` | Indicates if the product has a discount. |\n| `soldPercent` | `string` | Percentage of stock sold. |\n| `prohibitedAtCountry` | `bool` | Indicates if the product is prohibited in the specified country. |\n| `shippingWeight` | `float` | The weight of the product used for shipping calculations. |\n| `packageQuantity` | `string` | Quantity description of the package. |\n| `dimensions` | `object` | Product’s physical dimensions (height, length, width, weight). |\n| `lastUpdate` | `string` | The last update date and time of the product information. |\n| `allDescription` | `string` | Full product description text. |\n| `hasAllData` | `bool` | Indicates if all detailed product data is included. |\n| `productImages` | `List` | List of URLs for the product’s images. |\n| `stockLeft` | `int` | Amount of stock left for the product. Pay attention: if zero it means stock IS available (not tracked individually). |\n| `bestByApproximately` | `string` | Approximate best-by date for the product. |\n| `upcCode` | `string` | UPC (Universal Product Code) of the product. |\n| `variation` | `object` | Information about product variations (e.g., flavor, size). |\n| `serving` | `object` | Information about serving size and description. |\n| `categories` | `List` | List of categories the product belongs to. |\n| `supplementFacts` | `object` | Detailed supplement facts, including serving size and nutritional information. |\n\n### Usage Tips\n\n*   Use pagination with the `page` parameter to navigate through large datasets.\n*   Use the filters provided in the query parameters to get more specific results.\n\n* * *\n\n## Get All Brands\n\nRetrieve a paginated list of all brands available in the iHerb database.\n\n### **GET** `/api/IHerb/brands?page={page}`\n\n### Query Parameters\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `page` | `int` | No | 1 | The page number for paginated results. Use this to navigate through the list of brands. |\n\n### Response Format\n\n```json\n{\n  \"currentPage\": 1,\n  \"totalPages\": 50,\n  \"allBrands\": [\n    \"Brand1\",\n    \"Brand2\",\n    \"Brand3\",\n    \"...\",\n    \"BrandN\"\n  ]\n}\n```\n\n### Response Fields\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `currentPage` | `int` | The current page of the results. |\n| `totalPages` | `int` | The total number of pages available. |\n| `allBrands` | `List\u003Cstring>` | A list of brand names available in the iHerb database. |\n\n### Usage Tips\n\n*   Use the `page` parameter to navigate through the list of brands.\n*   This endpoint is useful to get a complete overview of all brands available on iHerb.\n\n* * *\n\n## Support\n\nFor questions or help, feel free to contact support.",{"score":10},"1.96","IHerb Product Data Api","IHerb Product Data Api API","iherb-product-data-api","https://cdn.jojapi.com/api/6fc02d26-9efb-4c87-ba41-658ad95a7cd4","2026-04-10 23:55:37",{"nick":17,"name":18},"daniel-passos","Daniel Passos",[20],{"endpoints":21,"name":126,"description":30,"ungrouped":45,"open":6},[22,53,113],{"blocked":6,"credits":23,"flexible_credits_description":24,"consumptions":25,"description":31,"method":32,"name":33,"url_path":34,"root_url":35,"parameters":36,"responses":52,"result_stats":24},1,null,[26],{"name":27,"slug":28,"cost":29,"label":30,"avg":24},"Credits","credits","1","","Retrieve a paginated list of all brands available in the iHerb database.","GET","Get all brands","/api/IHerb/brands","https://iherb-product-api.jojapi.net",{"url":37,"header":42,"post":49,"body":50,"path":51},[38],{"key":39,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":39,"description":41},"page","string","The page number for paginated results. Use this to navigate through the list of brands.",[43],{"key":44,"is_auth":45,"example":46,"example_disabled":45,"example_type":40,"name":47,"description":46,"required":45,"always_error":48},"X-JoJAPI-Key",true,"You must log in to get API key","JoJ API Key","Please log in to get API key",[],[],[],[],{"blocked":6,"credits":23,"flexible_credits_description":24,"consumptions":54,"description":56,"method":32,"name":57,"url_path":58,"root_url":35,"parameters":59,"responses":112,"result_stats":24},[55],{"name":27,"slug":28,"cost":29,"label":30,"avg":24},"Retrieve a list of products for a specific brand with optional filters.","Get products by brand","/api/IHerb/brands/{brandName}/products",{"url":60,"header":105,"post":107,"body":108,"path":109},[61,63,66,69,72,75,78,81,84,87,90,93,96,99,102],{"key":39,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":39,"description":62},"Page number for pagination.",{"key":64,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":64,"description":65},"productId","Specific product ID to filter results.",{"key":67,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":67,"description":68},"prohibitedAtCountry","Filter out products that are prohibited in the current country.",{"key":70,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":70,"description":71},"upcCode","Universal Product Code (UPC) to search for a specific product.",{"key":73,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":73,"description":74},"hasDiscount","Filter products that have a discount available.",{"key":76,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":76,"description":77},"hasStock","Filter products that are currently in stock.",{"key":79,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":79,"description":80},"hasNewProductFlag","Filter products marked as new.",{"key":82,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":82,"description":83},"isTrial","Filter products that are trial samples.",{"key":85,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":85,"description":86},"isSpecial","Filter products with special flags.",{"key":88,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":88,"description":89},"minPrice","Minimum price for filtering.",{"key":91,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":91,"description":92},"maxPrice","Maximum price for filtering.",{"key":94,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":94,"description":95},"minShippingWeight","Minimum shipping weight for filtering.",{"key":97,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":97,"description":98},"maxShippingWeight","Maximum shipping weight for filtering.",{"key":100,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":100,"description":101},"minRating","Minimum rating value for filtering.",{"key":103,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"default_value":30,"required":6,"name":103,"description":104},"minDiscountPercent","Minimum percentage discount for filtering.",[106],{"key":44,"is_auth":45,"example":46,"example_disabled":45,"example_type":40,"name":47,"description":46,"required":45,"always_error":48},[],[],[110],{"key":111,"example":30,"example_disabled":6,"example_type":40,"value_type":40,"enum_values":24,"name":30,"description":30,"required":45},"brandName",[],{"blocked":6,"credits":23,"flexible_credits_description":24,"consumptions":114,"description":116,"method":32,"name":116,"url_path":117,"root_url":35,"parameters":118,"responses":125,"result_stats":24},[115],{"name":27,"slug":28,"cost":29,"label":30,"avg":24},"teste","/teste",{"url":119,"header":120,"post":122,"body":123,"path":124},[],[121],{"key":44,"is_auth":45,"example":46,"example_disabled":45,"example_type":40,"name":47,"description":46,"required":45,"always_error":48},[],[],[],[],"Ungrouped Endpoints",[],[129],{"type":130,"slug":131,"blocked":6,"period":132,"currency":133,"pricing":134,"rate_limit":139,"objects":142,"name":145},"periodic","pfj95vgvj8ihxi1h27uix44e","1 MONTH","usd",{"price":135,"credits":136,"past_due_timeout_num":137,"past_due_timeout_type":138},0,300,3,"DAY",{"max_requests":140,"time_window":141},30,60,[143],{"id":144,"name":27,"slug":28,"quota":136,"tiers":24},"n4f3562a0","300 Credits",[],{"canonical":148,"page_title":149,"meta":150},"https://jojapi.com/hub/api/iherb-product-data-api","IHerb Product Data Api API Documentation & Playground - JoJ API",{"description":7,"keywords":151},"API,API Documentation,API Playground,Plans & Pricing,IHerb Product Data Api,daniel-passos"]