exclude=true to find products that do not include that ingredient — useful for customers with sensitivities or who follow ingredient-avoidance routines such as the Curly Girl Method.
Endpoint
Request headers
| Header | Value | Required |
|---|---|---|
X-API-Key | bha_... | Yes |
Query parameters
The ingredient name to search for within product ingredient lists (e.g.
shea butter, mineral oil, dimethicone). The search is case-insensitive and matches against the raw ingredient list stored for each product.When
true, the response contains products that do not include the named ingredient. When false (default), the response contains products that do include it. Useful for building ingredient-free product filters.Response
The ingredient name you supplied in the request, returned as-is for confirmation.
Reflects the
exclude flag used for this query. false means results contain the ingredient; true means results exclude it.The total number of products returned in this response.
The matched products. Each item in the array contains the following fields.
Examples
Find products containing shea butter
Find products that exclude mineral oil
Error responses
| Status | Meaning |
|---|---|
401 | Missing or invalid X-API-Key header. |
422 | The required name query parameter was not provided. |
429 | You have exceeded your plan’s monthly request limit. |