Skip to main content
GET
/
products
/
api
/
v1
/
products
/
{gtin}
/
nutrition
Get product nutrition facts
curl --request GET \
  --url https://www.closient.com/products/api/v1/products/{gtin}/nutrition \
  --header 'X-API-Key: <api-key>'
{
  "serving_size": "<string>",
  "nutrients": [
    {
      "name": "<string>",
      "amount": 1,
      "daily_value_pct": 1
    }
  ],
  "serving_size_g": 1,
  "servings_per_container": 1
}

Authorizations

X-API-Key
string
header
required

Path Parameters

gtin
string
required

GTIN barcode (8, 12, 13, or 14 digits, with or without separators). Normalized to GTIN-14 for lookup.

Response

OK

Structured nutrition-facts panel for a product.

serving_size
string
required

Free-text serving size as printed on the label (e.g. 1 cup (240ml)).

label_format
enum<string>
required

Regulatory format the panel is laid out for. Affects rounding rules and required nutrients.

Available options:
US_FDA,
EU,
CA_CFIA,
AU_NZ,
UK
nutrients
NutrientValueOut · object[]
required

Per-serving nutrient rows on the panel, in label order. Empty list when no nutrients have been recorded.

serving_size_g
number | null

Numeric serving size expressed in grams. Null when the label uses non-mass units (e.g. mL, count).

Required range: x >= 0
servings_per_container
number | null

Number of declared servings per container. May be fractional (e.g. 2.5).

Required range: x >= 0