# Open Food Facts API

Category: [Food and drink](https://free-web-services.com/web-services/other/food/)  
Page: https://free-web-services.com/web-services/other/food/open-food-facts-api.html  
Documentation: https://openfoodfacts.github.io/openfoodfacts-server/api/

Open Food Facts is a collaborative, open database of food products from around the world. Look up a product by its barcode and get its name, brand, ingredients, allergens, additives, nutrition facts and scores such as Nutri-Score, NOVA and Eco-Score, plus product photos. Responses are JSON. Free, open data, no key needed; send a User-Agent that identifies your app.

- API key: Not needed
- Pricing: Free, open data, no key needed; send a User-Agent that identifies your app.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: openfoodfacts.github.io
- Last checked: Working on November 1st, 2026

Example request:

```sh
curl 'https://world.openfoodfacts.org/api/v2/product/3017624010701.json?fields=product_name,brands'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

