---
title: "OCR on Ingredients"
method: GET
path: "/cgi/ingredients.pl"
tags: ["OCR"]
---

# OCR on Ingredients

`GET /cgi/ingredients.pl`

## Request

- Base URL: `https://world.openfoodfacts.net`
- URL: `https://world.openfoodfacts.net/cgi/ingredients.pl`
- Auth: API key in header `User-Agent`

Open Food Facts uses optical character recognition (OCR) to retrieve nutritional data and other information from the product labels.

## Query parameters

- `id` string, required
- `code` string, required
- `process_image` string, required
- `ocr_engine` string, required

## Response `200`

OK

- OcrOnProduct
  - `status` integer

## Changes

- **2026-11-18** `ebaef6823f1f`: 2 breaking, 1 info
  - added the new required `query` request parameter `code`
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `status` to the response with the `200` status
- **2025-11-07** `61843b2fdbde`: 1 warning
  - deleted the `query` request parameter `code`
- **2025-07-02** `7193ad484e5d`: 2 info
  - api tag `OCR` added
  - api tag `Read Requests` removed

[Operation history](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-api/changes/cgi/ingredients.pl/get.md)

---

[API](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-api.md) - [All operations](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-api/revisions/ebaef6823f1f?raw)
