Open Food Facts API
Food Products Database
- Our call
- HTTP 200
- Latency
- 1,766 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brandsPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands'import requests
r = requests.get("https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands", timeout=10)
r.raise_for_status()
print(r.json())Open Food Facts docsMore Food & Drink APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands- Result
- HTTP 200 in 1,766 ms (1,775 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 212 bytes, a JSON object
- Fields
codeproductstatusstatus_verbose- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Food & Drink
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- world.openfoodfacts.org answered 200 in 14787 ms on 2026-11-06 Measured
Open Food Facts is listed in Food & Drink. Open Food Facts needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 31 Food & Drink APIs: 15 need no key, 15 need an API key and 1 uses OAuth, and 17 of them are marked as allowing browser calls. 5 others have the same setup, such as Coffee, Status Pizza and TacoFancy.
Open Food Facts and other Food & Drink APIs
| Fact | Open Food Facts (this page) | Open Brewery DB | BaconMockup | Coffee | Dish Directory |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Yes | Not recorded | Yes |
| Our test call Measured by us | 1,766 ms | 2,436 ms | Not tested | Not tested | Not tested |
| Browser call Measured by us | Allowed | Allowed | — | — | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does Open Food Facts need an API key?
Open Food Facts needs no key: you can call it without signing up.
Can I call Open Food Facts from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the Open Food Facts docs?
At https://world.openfoodfacts.org/data. When we checked, the link answered 200 in 14787 ms.
What are some alternatives to Open Food Facts?
Other Food & Drink APIs in the list include Coffee, Status Pizza, TacoFancy and The Report of the Week.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.