FreeAPIHub
HomeAPIsAI ModelsAI ToolsBlog
Favorites
FreeAPIHub

The central hub for discovering, testing, and integrating the world's best AI models and APIs.

Platform

  • Categories
  • AI Models
  • APIs

Company

  • About Us
  • Contact
  • FAQ

Help

  • Terms of Service
  • Privacy Policy
  • Cookies

© 2026 FreeAPIHub. All rights reserved.

GitHubTwitterLinkedIn
  1. Home
  2. Categories
  3. Food & Drink
  4. Open Food Facts API
published

Open Food Facts API

The Open Food Facts API provides developers with free access to a vast database of food products, suitable for applications in nutrition, health, and sustainability.

Developed by Open Food Facts

Live API
99.80%Uptime
300msLatency
4.3kStars
No AuthAuth
NoCredit Card
RESTStyle
v2Version

Reference

API Endpoints

Endpoints

Available routes, request structures, and code examples.

Retrieves food product information by barcode

Endpoint URL
https://world.openfoodfacts.org/product/{barcode}
Code Example
curl -X GET 'https://world.openfoodfacts.org/product/{barcode}'
Request Payload
{
  "fields": "product_name,nutriments,ingredients"
}
Expected Response
{
  "code": "123456789012",
  "product": {
    "nutriments": {
      "energy-kcal_100g": 450,
      "carbohydrates_100g": 65
    },
    "ingredients": [
      "oats",
      "honey",
      "almonds"
    ],
    "product_name": "Organic Granola"
  }
}
Version:v2
Limit:300 requests/minute

Integration

Quick Start

cURL ExampleREST
curl -X GET "https://world.openfoodfacts.org/api/v2/api/v0/product/737628064502.json"

Docs

Technical Documentation

What this API does

The Open Food Facts API offers access to a crowd-sourced database of over 3 million food products from more than 200 countries. This API provides detailed information on nutritional data, allergens, barcodes, eco-scores, and packaging details, making it a valuable resource for applications focused on health and sustainability.

How it works

The API adheres to RESTful principles and returns responses in JSON format, facilitating seamless integration into applications. Developers can query product data using barcodes, perform keyword searches, and download bulk data for analysis or integration into e-commerce platforms. Each query retrieves structured data, allowing easy access to specific product information.

Authentication

No authentication is required to access the Open Food Facts API. Developers can start using the API immediately without needing API keys or user accounts.

Example usage

  • /api/v0/product/{barcode} - Retrieves detailed information for a specific product using its barcode.
  • /api/v0/products - Fetches a list of products based on search queries.
  • /api/v0/search - Searches products by terms such as name, brand, or ingredients.
  • /api/v0/packaging/{packaging} - Gets product information filtered by packaging type.

Limits

There are no documented rate limits for the Open Food Facts API, allowing developers to make multiple requests without restrictions.

Ideal use cases

  • Developing mobile applications for nutrition tracking.
  • Creating platforms focused on allergy management and awareness.
  • Building e-commerce solutions that require detailed product data.
  • Integrating sustainability-focused features into food-related apps.

Examples

Real-World Applications

  • Developing health and diet tracking applications
  • Creating recipe platforms using food product data
  • Building sustainability-focused apps for eco-conscious consumers
  • Integrating food data into e-commerce product listings
  • Research and analysis of food market trends

Evaluation

Advantages & Limitations

Advantages
  • ✓ Free to use with no authentication or API keys required
  • ✓ Access to a large and continuously updated dataset of 3M+ food products
  • ✓ Supports global product data from over 200 countries
  • ✓ Easy to integrate RESTful API with JSON responses
Limitations
  • ✗ No formal SLA or guaranteed uptime despite high availability
  • ✗ Lack of official SDKs may require custom client development
  • ✗ Data completeness and accuracy depend on crowd-sourced contributions
  • ✗ Limited advanced querying features compared to some commercial APIs

Support

Frequently Asked Questions

Important Notice

Verify Before You Decide

Last verified · Apr 30, 2026

The details on this page — including pricing, features, and availability — are based on our last review and may not reflect the provider's current offering. Providers update their products frequently, sometimes without prior notice.

What may have changed

Pricing Plans
Features & Limits
Availability
Terms & Policies

Always visit the official provider website to confirm the latest pricing, terms, and feature availability before subscribing or integrating.

Check official site

External Resources

Documentation Official Website Pricing Details Postman Collection

API Specifications

v2
Pricing Model
Free
Credit Card
Not Required
Response Formats
JSON
Supported Languages
7 Languages
SDK Support
REST Only
Rate Limit

Unlimited, no rate limits specified

Time to Hello World

Minutes to integrate with public endpoints, no setup required

Free Tier

Full API access with unlimited requests and no usage limits

Best For

Developers building food product information, nutrition, and sustainability apps

Not Ideal For

Enterprise-grade applications requiring guaranteed uptime and support

Tags

#diet#allergens#open-food-facts#barcode#open-data#free-api#nutrition#food

You Might Also Like

More APIs Similar to Open Food Facts API

Open Brewery DB API

The Open Brewery DB API provides developers with free access to extensive brewery data, enabling seamless integration into applications focused on brewery exploration.

publicREST

TheMealDB API

The MealDB API provides developers with free access to a comprehensive recipe database, including meal instructions and ingredient details, perfectly suited for food-related applications.

publicREST

TheCocktailDB API

The Cocktail DB API provides no-cost access to over 500 cocktail recipes, suitable for integration into apps and websites focused on bartending and drink recommendations.

publicREST