---
title: "Get questions for a given product"
method: GET
path: "/questions/{barcode}"
tags: ["Question Management"]
---

# Get questions for a given product

`GET /questions/{barcode}`

Questions are sorted by priority: we want questions with highest impact to be displayed first. The order is the following:
  - category
  - label
  - brand
  - remaining types

## Path parameters

- `barcode` integer, required

## Query parameters

- `count` integer
- `server_type` 'off' | 'obf' | 'opff' | 'opf' | 'off_pro'
- `lang` string
- `insight_types` string

## Response `200`

Questions about the requested product

- object
  - `status` 'no_questions' | 'found'
  - `questions` Question[]
    - `barcode` string, required — Barcode of the product the question is about
    - `insight_id` string, required — ID of the insight the question is about
    - `insight_type` string, required — Type of the insight the question is about (ex: "label", "category",...)
    - `question` string, required — The question to ask the user to validate the insight.
    - `ref_image_url` string — A reference image URL to help the user answer the question. For example, for a label insight, we show the user a reference image of the label to help them identify it on the product packaging.
    - `server_type` ServerType — unresolved $ref
    - `source_image_url` string — The URL of the image the insight was generated from. This is provided as additional context to help the user answer the question, but it is not necessarily the same image as the one shown to the user in the question interface.
    - `type` 'add-binary' — The type of the question, which determines how the user's answer will be processed. Only `add-binary` is currently supported.
    - `value` string, required — The value associated with the question. This is the value that will be added to the product in Product Opener if the user answers "yes" to the question. Depending on the insight type, the `value_tag` may also be used to update Product Opener.
    - `value_tag` string — The value tag associated with the question. This is the value tag that will be added to the product in Product Opener if the user answers "yes" to the question. Depending on the insight type, the `value` may also be used to update Product Opener.

---

[API](https://skmtc.net/openfoodfacts/apis/api-reference.md) · [All operations](https://skmtc.net/openfoodfacts/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openfoodfacts/api-reference/revisions/23d26c6d55e6/schema)
