Open Food Facts

Open Food Facts API is a free public API providing access to a massive, crowd-sourced database of food products worldwide. Includes details on ingredients, nutrition facts, allergens, and eco-scores. Perfect for building diet apps, recipe tools, barcode scanners, and health-focused platforms. Available in multiple languages with extensive product data coverage.

1

Endpoints

2

Views

Jul 20, 2025

Last Checked

NaN

Rate Limit

API Endpoints

Retrieves food product information by barcode

Full URL

https://world.openfoodfacts.org/api/v2/product/{barcode}

Code Examples

curl -X GET 'https://world.openfoodfacts.org/api/v2/product/{barcode}'

Parameters

{
  "fields": "product_name,nutriments,ingredients"
}

Example Response

{
  "code": "123456789012",
  "product": {
    "nutriments": {
      "energy-kcal_100g": 450,
      "carbohydrates_100g": 65
    },
    "ingredients": [
      "oats",
      "honey",
      "almonds"
    ],
    "product_name": "Organic Granola"
  }
}

Version

v2

Rate Limit

300 requests/minute
Tags
foodnutrition
Technical Details
Authentication
None
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

Unknown

Supported Languages
Multiple
Use Cases
health apps
grocery tools

Related APIs

Discover similar APIs that might interest you

APIfree

Cocktail DB

Cocktail DB API provides free access to ...

Category
Food & Drink
Endpoints
1
cocktailsfoodrecipes
APIfree

The MealDB

The MealDB offers a free Public API with...

Category
Food & Drink
Endpoints
1
cookingrecipes
APIopen source

Open Brewery DB

Open Brewery DB API is a free public API...

Category
Food & Drink
Endpoints
1
breweriesfood