{"name":"Iherb Products API","description":"IHerb (iherb.com): search, categories and brands, full product details (ingredients, supplement facts, UPC, expiry dates, stock), customer reviews and price and stock monitoring in 188 markets. No login needed.","api_id":"generated_5934f9f1317af091cd7e14ad","slug":"iherb-products-api","source":{"name":"Iherb","domain":"iherb.com","url":"https://www.iherb.com/"},"category":"commerce","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-06","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-12-05T11:16:53.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_5934f9f1317af091cd7e14ad_search","name":"List Iherb Products","description":"Return records within the accepted scope.","definition_version":"a9c356271c6332bdcea6975d54c330aaf32539d3fb2a6fcc3e4506de6fd379a5","method":"POST","path":"/v1/catalog/public/apis/generated_5934f9f1317af091cd7e14ad/endpoints/generated_5934f9f1317af091cd7e14ad_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_5934f9f1317af091cd7e14ad/endpoints/generated_5934f9f1317af091cd7e14ad_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional.","title":"Open each result","x-input-group":"other"},"search":{"anyOf":[{"type":"string","minLength":1,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."},{"type":"array","minItems":1,"items":{"type":"string","minLength":1,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."}}],"description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection. Supply an array to union distinct results from each source search, in query order.","x-prefill":"vitamins","title":"Search words","x-input-group":"search"},"urls":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"array","minItems":1,"items":{"type":"string","format":"uri","minLength":1}}],"description":"Optional. Links copied from the site's address bar, one or a list. A results link (a category page, a search or a filtered list) is read as this API's own inputs and that list is walked; the run echoes each link's inputs in metadata.links. A record's own page (path shaped /pr/{slug}/{int}) is read as that one record. Record pages take no search or filter input beside them. A link from another site, or one that names a page or filter this API has no input for, refuses the call with the unread parts listed; it is never served from another page. Tracking and paging keys are dropped. Several links are read in order and max_items counts across all of them.","examples":[["https://www.iherb.com/catalog/topsellers"],["https://www.iherb.com/pr/doctor-s-best-high-absorption-magnesium-lysinate-glycinate-chelated-albion-traacs-240-tablets-100-mg-per-tablet/16567"]],"x-from-url":{"origin":"https://www.iherb.com"},"title":"Links","x-input-group":"other"},"from_url":{"type":"string","format":"uri","description":"Deprecated: send the link in `urls`. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as `decoded`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.","x-from-url":{"origin":"https://www.iherb.com"},"deprecated":true,"title":"Results link (old name)","x-input-group":"other"}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"properties":{"best_seller":{"type":"object","properties":{"rank":{"type":"integer"},"product_flag":{"type":["string"]}},"additionalProperties":false},"image":{"type":"object","properties":{"url":{"type":"string"},"source":{"type":"string"}},"additionalProperties":false},"price":{"type":"object","properties":{"list":{"type":"number","description":"Numeric reading of source text such as '$10.88' (prefix '$' removed)"},"current":{"type":"number","description":"Numeric reading of source text such as '$10.88' (prefix '$' removed)"},"olp":{"type":"number","description":"Numeric reading of source text such as '$12.19' (prefix '$' removed)"},"detail":{"type":"string"},"currency":{"type":"string"},"formatted":{"type":"string"},"typed_list":{"type":"number","minimum":0,"description":"Reviewed numeric reading of list_price; source value is preserved."},"typed_formatted":{"type":"number","minimum":0,"description":"Reviewed numeric reading of prc; source value is preserved."},"typed_current":{"type":"number","minimum":0,"description":"Reviewed numeric reading of price; source value is preserved."},"typed_olp":{"type":"number","minimum":0,"description":"Reviewed numeric reading of price_olp; source value is preserved."}},"additionalProperties":false},"rating":{"type":"object","properties":{"review_count":{"type":"string"},"value":{"type":"string"},"detail_review_count":{"type":"string"},"typed_detail_review_count":{"type":"integer","minimum":0,"description":"Reviewed numeric reading of detail_review_count; source value is preserved."},"typed_value":{"type":"number","minimum":0,"description":"Reviewed numeric reading of rating; source value is preserved.","maximum":5},"typed_review_count":{"type":"integer","minimum":0,"description":"Reviewed numeric reading of review_count; source value is preserved."}},"additionalProperties":false},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"sku":{"type":"string"},"brand":{"type":"object","properties":{"name":{"type":"string"},"display_name":{"type":"string"},"code":{"type":"string"},"url":{"type":"string"}},"additionalProperties":false},"gtin":{"type":"string"},"mpn":{"type":"string"},"category":{"type":"object","properties":{"name":{"type":"string"},"breadcrumb":{"type":"string"},"path":{"type":"array","items":{"type":"string"}},"primary_parent":{"type":"string"}},"additionalProperties":false},"availability":{"type":"string"},"product":{"type":"object","properties":{"name":{"type":"string"},"id":{"type":"string"}},"additionalProperties":false},"store":{"type":"object","properties":{"id":{"type":"string"}},"additionalProperties":false},"quantity":{"type":"string","description":"Quantity"},"cart_total":{"type":"string","description":"Cart Total"},"dates":{"type":"object","properties":{"first_available":{"type":"string","description":"First available"}},"additionalProperties":false},"package":{"type":"object","properties":{"quantity":{"type":"string","description":"Package quantity"},"size":{"type":"string"}},"additionalProperties":false},"dimensions":{"type":"string","description":"Dimensions"},"manufacturer":{"type":"object","properties":{"website_url":{"type":"string","description":"visit manufacturer s website url"}},"additionalProperties":false},"customer_reviews_url":{"type":"string","description":"see customer reviews url"},"overview":{"type":"string","description":"overview"},"weight":{"type":"object","properties":{"value":{"type":"string"},"unit":{"type":"string"}},"additionalProperties":false},"other_details":{"type":"object","additionalProperties":{"type":["object","array"],"additionalProperties":{"type":["string","boolean"]},"items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}}}}}},"required":["title","url"]},"examples":[{"kind":"saved_validation_records","saved_at":"2026-12-05T11:16:53.638Z","live_verified":false,"request":{"input":{}},"records_shown":1,"records_saved":2,"records":[{"best_seller":{"rank":1},"brand":{"name":"Doctor's Best","url":"http://www.drbvitamins.com/","code":"DRB","display_name":"Doctor&#x27;s Best"},"category":{"breadcrumb":"Magnesium Glycinate","name":"Supplements","path":["Categories","Supplements","Minerals","Magnesium","Magnesium Glycinate"],"primary_parent":"Supplements"},"price":{"currency":"USD","detail":"23.99","list":23.99,"formatted":"$23.99","current":23.99,"typed_formatted":23.99},"rating":{"detail_review_count":"221850","value":"4.8","review_count":"221,850","typed_detail_review_count":221850,"typed_value":4.8,"typed_review_count":221850},"dates":{"first_available":"04/2009"},"image":{"source":"https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/drb/drb00087/g/214.jpg","url":"https://cloudinary.images-iherb.com/image/upload/f_auto,q_auto:eco/images/drb/drb00087/t/214.jpg"},"package":{"quantity":"240 count","size":"3.1x3.1"},"product":{"id":"16567","name":"Doctor&#x27;s Best, High Absorption Magnesium Lysinate Glycinate, Chelated, Albion&#xAE; TRAACS&#xAE;, 240 Tablets (100 mg per Tablet)"},"store":{"id":"0"},"manufacturer":{"website_url":"http://www.drbvitamins.com/"},"weight":{"value":"0.89","unit":"lb"},"availability":"InStock","cart_total":"Checkout","description":"Science-Based Nutrition™ Lysinate Glycinate 100% Chelated Muscle Relaxation & Sleep Support Albion® Minerals Dietary Supplement Non-GMO · Gluten Free · Soy Free · Vegan At Doctor's Best, our high absorption magnesium is the ultimate multitasker, crucial for a range of bodily functions. Our specialized magnesium formula provides essential support for muscles, nerves, sleep quality, and maintaining a balanced mood. Essential in 600 enzyme systems that support biochemical functions Up to 6x better absorbed than other forms of magnesium TRAACS® chelate technology from Albion®","dimensions":"5.75 x 3.1 x 3.1 in , 0.89 lb","gtin":"753950000872","mpn":"DRB-00087","overview":"Science-Based Nutrition™\nLysinate Glycinate\n100% Chelated\nMuscle Relaxation & Sleep Support\nAlbion® Minerals\nDietary Supplement\nNon-GMO · Gluten Free · Soy Free · Vegan\nAt Doctor's Best, our high absorption magnesium is the ultimate multitasker, crucial for a range of bodily functions. Our specialized magnesium formula provides essential support for muscles, nerves, sleep quality, and maintaining a balanced mood.\nEssential in 600 enzyme systems that support biochemical functions\nUp to 6x better absorbed than other forms of magnesium\nTRAACS® chelate technology from Albion®","quantity":"Deliver every","customer_reviews_url":"https://www.iherb.com/r/doctor-s-best-high-absorption-magnesium-lysinate-glycinate-chelated-albion-traacs-240-tablets-100-mg-per-tablet/16567","sku":"DRB-00087","title":"Doctor's Best, High Absorption Magnesium Lysinate Glycinate, Chelated, Albion® TRAACS®, 240 Tablets (100 mg per Tablet)","url":"https://www.iherb.com/pr/doctor-s-best-high-absorption-magnesium-lysinate-glycinate-chelated-albion-traacs-240-tablets-100-mg-per-tablet/16567"}]}],"request_example":{"body":{"input":{},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_5934f9f1317af091cd7e14ad/endpoints/generated_5934f9f1317af091cd7e14ad_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_5934f9f1317af091cd7e14ad/endpoints/generated_5934f9f1317af091cd7e14ad_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/iherb-products-api/","markdown":"https://cleanedweb.com/catalog/iherb-products-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_5934f9f1317af091cd7e14ad/endpoints/generated_5934f9f1317af091cd7e14ad_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/iherb-products-api/","markdown":"https://cleanedweb.com/catalog/iherb-products-api/index.md","contract":"https://cleanedweb.com/catalog/iherb-products-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
