---
title: "get product by barcode"
method: GET
path: "/products/{barcode}"
tags: ["Products"]
---

# get product by barcode

`GET /products/{barcode}`

## Path parameters

- `barcode` string, required

## Query parameters

- `detail` 'list' | 'default' | 'health' | 'biz_list' | 'biz'

## Response `200`

success

- Product
  - `id` integer
  - `name` string — product name
  - `brand_name` string — product brand
  - `nutriscore` 'A' | 'B' | 'C' | 'D' | 'E', nullable — Nutriscore
  - `personal_health_score` 'A' | 'B1' | 'B2' | 'C1' | 'C2', nullable — health score
  - `product_nutrients` ProductNutrient[]
    - `name` string — nutrient name
    - `value` number
    - `unit` string — nutrient unit (unit / per)
  - `usages` SimpleUsage[] — (hierarchical) list of product usages (categories)
    - `id` integer
    - `name` string
  - `certificates` Certificate[]
    - `id` integer
    - `name` string
    - `description` string
    - `image_url` object
      - `thumb` string — url of image thumbnail
    - `themes` string[] — any of 'environment', 'social' and 'animals'
    - `top` boolean — true if the certificate is among selected top certificates, read more about top certificates at https://keurmerken.milieucentraal.nl/wat-zijn-topkeurmerken/.
  - `retailers` Retailer[]
    - `id` integer
    - `name` string
    - `priority` integer, nullable — well-known retailers have a higher priority
  - `image_urls` object[] — product image (0-1 images)
    - `thumb` string — url of image thumbnail
    - `medium` string — url of medium-size image
  - `barcode` string

## Other responses

- `404` — product not found

---

[API](https://skmtc.net/thequestionmark/apis/questionmark-api-v1-2.md) · [All operations](https://skmtc.net/thequestionmark/apis/questionmark-api-v1-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thequestionmark/questionmark-api-v1-2/versions/936ff09e6fa1/schema)
