Skip to content

Open Beauty Facts API

9 endpointsCommerce & MarketplacesGlobalsocial:read6 real examples

Returns cosmetic products by barcode, search, category, label or brand, with ingredients, and taxonomy entries.

View as Markdown
GET/openbeautyfacts/productOne cosmetic product by its barcode: brands, labels, ingredients and country of sale.
GET/openbeautyfacts/searchCosmetic products matching words, one page at a time, with barcode and brand.
GET/openbeautyfacts/byCategoryProducts of one category, such as shampoos or foot-creams, paged.
GET/openbeautyfacts/byLabelProducts carrying one label, such as vegan or cruelty-free, paged.
GET/openbeautyfacts/byBrandProducts of one brand, such as l-oreal, paged.
GET/openbeautyfacts/byIngredientProducts that list one ingredient, such as niacinamide or glycerin, paged.
GET/openbeautyfacts/byAllergenProducts that contain one allergen, such as milk or nuts, paged.
GET/openbeautyfacts/byCountryProducts sold in one country, such as france or germany, paged.
GET/openbeautyfacts/taxonomyThe entries of one Open Beauty Facts taxonomy, such as labels or allergens, with their English names, paged.

product

GET/v1/openbeautyfacts/product

One cosmetic product by its barcode: brands, labels, ingredients and country of sale.

scope social:read1 unitcached 24 h

Parameters

barcode
string
required
EAN, UPC or GTIN barcode of 8 to 14 digits, such as 6956088582881.
e.g. 6956088582881
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
categoriesstring[]
countriesstring[]
imageUrlstring
ingredientsstring
labelsstring[]
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/product?barcode=6956088582881" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}

byCategory

GET/v1/openbeautyfacts/byCategory

Products of one category, such as shampoos or foot-creams, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

category
string
required
Category name as the database writes it, such as shampoos.
e.g. shampoos
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byCategory?category=shampoos" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/openbeautyfacts/byLabel

Products carrying one label, such as vegan or cruelty-free, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

label
string
required
Label name, such as vegan.
e.g. vegan
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byLabel?label=vegan" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/openbeautyfacts/byBrand

Products of one brand, such as l-oreal, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

brand
string
required
Brand name, such as l-oreal.
e.g. l-oreal
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byBrand?brand=l-oreal" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/openbeautyfacts/byIngredient

Products that list one ingredient, such as niacinamide or glycerin, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

ingredient
string
required
Ingredient name, such as niacinamide.
e.g. niacinamide
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byIngredient?ingredient=niacinamide" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/openbeautyfacts/byAllergen

Products that contain one allergen, such as milk or nuts, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

allergen
string
required
Allergen name, such as milk.
e.g. milk
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byAllergen?allergen=milk" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/openbeautyfacts/byCountry

Products sold in one country, such as france or germany, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

country
string
required
Country name in English, such as france.
e.g. france
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
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.
proxy
string
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.
profileId
string
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
barcodestring
brandsstring[]
imageUrlstring
namestring
quantitystring
curl "https://api.hoshime.com/v1/openbeautyfacts/byCountry?country=france" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/openbeautyfacts/taxonomy

The entries of one Open Beauty Facts taxonomy, such as labels or allergens, with their English names, paged.

scope social:read1 unitcached 24 hpaginated

Parameters

name
string
required
Taxonomy: labels, allergens, categories or countries.
labelsallergenscategoriescountries
e.g. labels
limit
integer
Items per page, 1 to 500.
default 50e.g. 5
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
idstring
namestring
curl "https://api.hoshime.com/v1/openbeautyfacts/taxonomy?name=labels&limit=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open