Open Food Facts

Barcode food data — Nutri-Score, allergens

🩺 Health & FoodUNMONITOREDchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Global open food database. Query by category or barcode for nutrition and ingredients; ODbL data, no read key.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://world.openfoodfacts.org/api/v2/search?categories_tags_en=chocolate&page_size=1

{
  "count": 31475,
  "page": 1,
  "page_count": 1,
  "page_size": 1,
  "products": [
    {
      "_id": "3046920029759",
      "_keywords": [
        "afgeleide",
        "bar"
      ],
      "added_countries_tags": [],
      "additives_n": 0,
      "additives_original_tags": [],
      "additives_tags": [],
      "allergens": "",
      "allergens_from_user": "(en) "
    }
  ],
  "skip": 0
}
Call itcurl · fetch · python
curl "https://world.openfoodfacts.org/api/v2/search?categories_tags_en=chocolate&page_size=1"
const res = await fetch("https://world.openfoodfacts.org/api/v2/search?categories_tags_en=chocolate&page_size=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://world.openfoodfacts.org/api/v2/search?categories_tags_en=chocolate&page_size=1")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
First rollup pending — GET /api/v2/search?categories_tags_en=chocolate&page_size=1 has been probed
GET/api/v2/search?categories_tags_en=chocolate&page_size=1PROBED

Barcode food data — Nutri-Score, allergens

GET/api

Api — documented GET route.

GET/api/1

Api details by ID (example: 1).

GET/api?limit=10

Api — documented GET route.

GET/api/search?q=test

Search by query parameters.

GET/api/v2/search?limit=5

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Open Food Facts: common questions

Is Open Food Facts free to use?

Yes — Open Food Facts is a free health & food API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Open Food Facts need an API key?

No — Open Food Facts needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Open Food Facts from the browser?

Yes — Open Food Facts returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Open Food Facts up right now?

As of our last scheduled check, Open Food Facts is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.