Skip to content

Open Food Facts API

Ingredients, nutrition and labels of packaged food by barcode.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
905 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands,nutriscore_grade

Sent from your browser straight to world.openfoodfacts.org. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://world.openfoodfacts.org/api/v2/product/737628064502.json?fields=product_name,brands,nutriscore_grade'

Response stored by the verifier

This is what world.openfoodfacts.org answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
{
  "code": "0737628064502",
  "product": {
    "brands": "Simply Asia, Thai Kitchen",
    "nutriscore_grade": "d",
    "product_name": "Thai peanut noodle kit includes stir-fry rice noodles & thai peanut seasoning"
  },
  "status": 1,
  "status_verbose": "product found"
}

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "product".

Last check: — passed, HTTP 200 in 905 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Questions

Does the Open Food Facts API need an API key?

No. The sample request on this page was answered without a key, token or account. Note: Asks every client to send a descriptive User-Agent. Browsers send their own; set one in server code.

Can I call the Open Food Facts API from the browser?

Yes. world.openfoodfacts.org answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.

Is the Open Food Facts API working?

At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 905 ms. The status at the top of this page shows the most recent result we have.