Open Beauty Facts API
Returns cosmetic products by barcode, search, category, label or brand, with ingredients, and taxonomy entries.
View as Markdown| GET | /openbeautyfacts/product | One cosmetic product by its barcode: brands, labels, ingredients and country of sale. |
| GET | /openbeautyfacts/search | Cosmetic products matching words, one page at a time, with barcode and brand. |
| GET | /openbeautyfacts/byCategory | Products of one category, such as shampoos or foot-creams, paged. |
| GET | /openbeautyfacts/byLabel | Products carrying one label, such as vegan or cruelty-free, paged. |
| GET | /openbeautyfacts/byBrand | Products of one brand, such as l-oreal, paged. |
| GET | /openbeautyfacts/byIngredient | Products that list one ingredient, such as niacinamide or glycerin, paged. |
| GET | /openbeautyfacts/byAllergen | Products that contain one allergen, such as milk or nuts, paged. |
| GET | /openbeautyfacts/byCountry | Products sold in one country, such as france or germany, paged. |
| GET | /openbeautyfacts/taxonomy | The entries of one Open Beauty Facts taxonomy, such as labels or allergens, with their English names, paged. |
product
/v1/openbeautyfacts/productOne cosmetic product by its barcode: brands, labels, ingredients and country of sale.
Parameters
barcodestring required | EAN, UPC or GTIN barcode of 8 to 14 digits, such as 6956088582881. e.g. 6956088582881 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
barcode | string |
brands | string[] |
categories | string[] |
countries | string[] |
imageUrl | string |
ingredients | string |
labels | string[] |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/product?barcode=6956088582881" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/product?barcode=6956088582881", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/product?barcode=6956088582881", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "barcode": "6956088582881", "brands": [ "TRESemé" ], "categories": [], "countries": [ "switzerland" ], "imageUrl": "https://images.openbeautyfacts.org/images/products/695/608/858/2881/front_en.3.400.jpg", "ingredients": "deionized water, Sodium Alcohol Ether Sulphate, Cocamidopropyl Betaine, Coconut Diethanol Amide, Sodium dodecyl sulfate, Glycol Distearate, …", "labels": [], "name": "Smooth & Silky Shampoo", "quantity": "" }, "meta": { "cached": false, "endpoint": "product", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
/v1/openbeautyfacts/searchCosmetic products matching words, one page at a time, with barcode and brand.
Parameters
querystring required | Words to search for, such as shampoo. e.g. nivea |
limitinteger | Items per page, 1 to 50. default 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/search?query=nivea" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/search?query=nivea", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/search?query=nivea", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "3284410013998", "brands": [], "imageUrl": "https://images.openbeautyfacts.org/images/products/328/441/001/3998/front_fr.7.200.jpg", "name": "", "quantity": "" }, { "barcode": "0041490662231", "brands": [], "imageUrl": "", "name": "", "quantity": "" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byCategory
/v1/openbeautyfacts/byCategoryProducts of one category, such as shampoos or foot-creams, paged.
Parameters
categorystring required | Category name as the database writes it, such as shampoos. e.g. shampoos |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byCategory?category=shampoos" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byCategory?category=shampoos", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byCategory?category=shampoos", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "5010724004777", "brands": [ "Batiste", "Dutch and Swight UK Ltd." ], "imageUrl": "https://images.openbeautyfacts.org/images/products/501/072/400/4777/front_de.5.200.jpg", "name": "Sanftes Trockenshampoo sensible Kopfhaut", "quantity": "200 ml, 120g" }, { "barcode": "8901526603442", "brands": [ "L'Oréal Paris" ], "imageUrl": "https://images.openbeautyfacts.org/images/products/890/152/660/3442/front_en.13.200.jpg", "name": "Hyaluron Moisture Filling Shampoo", "quantity": "" } ], "meta": { "cached": false, "endpoint": "byCategory", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byLabel
/v1/openbeautyfacts/byLabelProducts carrying one label, such as vegan or cruelty-free, paged.
Parameters
labelstring required | Label name, such as vegan. e.g. vegan |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byLabel?label=vegan" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byLabel?label=vegan", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byLabel?label=vegan", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "5010724004777", "brands": [ "Batiste", "Dutch and Swight UK Ltd." ], "imageUrl": "https://images.openbeautyfacts.org/images/products/501/072/400/4777/front_de.5.200.jpg", "name": "Sanftes Trockenshampoo sensible Kopfhaut", "quantity": "200 ml, 120g" }, { "barcode": "4068134125200", "brands": [ "Isana", "Rossmann" ], "imageUrl": "https://images.openbeautyfacts.org/images/products/406/813/412/5200/front_de.5.200.jpg", "name": "Exotic Mango", "quantity": "500 ml" } ], "meta": { "cached": false, "endpoint": "byLabel", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byBrand
/v1/openbeautyfacts/byBrandProducts of one brand, such as l-oreal, paged.
Parameters
brandstring required | Brand name, such as l-oreal. e.g. l-oreal |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byBrand?brand=l-oreal" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byBrand?brand=l-oreal", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byBrand?brand=l-oreal", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "8901526211722", "brands": [ "Garnier" ], "imageUrl": "https://images.openbeautyfacts.org/images/products/890/152/621/1722/front_en.3.200.jpg", "name": "Black Naturals Oil Enriched Crème Color Natural Brown", "quantity": "" }, { "barcode": "3610340636493", "brands": [ "L'Oréal Paris" ], "imageUrl": "https://images.openbeautyfacts.org/images/products/361/034/063/6493/front_en.12.200.jpg", "name": "Elseve Dream Long Reconstructing Shampoo", "quantity": "" } ], "meta": { "cached": false, "endpoint": "byBrand", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byIngredient
/v1/openbeautyfacts/byIngredientProducts that list one ingredient, such as niacinamide or glycerin, paged.
Parameters
ingredientstring required | Ingredient name, such as niacinamide. e.g. niacinamide |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byIngredient?ingredient=niacinamide" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byIngredient?ingredient=niacinamide", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byIngredient?ingredient=niacinamide", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "…", "brands": [ "…" ], "imageUrl": "https://…", "name": "…", "quantity": "…" } ], "meta": { "cached": false, "endpoint": "byIngredient", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byAllergen
/v1/openbeautyfacts/byAllergenProducts that contain one allergen, such as milk or nuts, paged.
Parameters
allergenstring required | Allergen name, such as milk. e.g. milk |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byAllergen?allergen=milk" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byAllergen?allergen=milk", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byAllergen?allergen=milk", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "…", "brands": [ "…" ], "imageUrl": "https://…", "name": "…", "quantity": "…" } ], "meta": { "cached": false, "endpoint": "byAllergen", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
byCountry
/v1/openbeautyfacts/byCountryProducts sold in one country, such as france or germany, paged.
Parameters
countrystring required | Country name in English, such as france. e.g. france |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
barcode | string |
brands | string[] |
imageUrl | string |
name | string |
quantity | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/byCountry?country=france" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/byCountry?country=france", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/byCountry?country=france", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "barcode": "…", "brands": [ "…" ], "imageUrl": "https://…", "name": "…", "quantity": "…" } ], "meta": { "cached": false, "endpoint": "byCountry", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }
taxonomy
/v1/openbeautyfacts/taxonomyThe entries of one Open Beauty Facts taxonomy, such as labels or allergens, with their English names, paged.
Parameters
namestring required | Taxonomy: labels, allergens, categories or countries.labelsallergenscategoriescountriese.g. labels |
limitinteger | Items per page, 1 to 500. default 50e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
id | string |
name | string |
curl "https://api.hoshime.com/v1/openbeautyfacts/taxonomy?name=labels&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbeautyfacts/taxonomy?name=labels&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbeautyfacts/taxonomy?name=labels&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "bg:утвърден-стандарт-българия", "name": "Approved standard Bulgaria" }, { "id": "bg:утвърден-стандарт-стара-планина", "name": "Approved standard Stara Planina" } ], "meta": { "cached": false, "endpoint": "taxonomy", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbeautyfacts", "requestId": "req_2Xb9kQ…", "units": 1 } }