---
title: "Product Nutrition Label Widget"
method: GET
path: "/food/products/{id}/nutritionLabel"
tags: ["products"]
---

# Product Nutrition Label Widget

`GET /food/products/{id}/nutritionLabel`

## Request

- Base URL: `https://api.spoonacular.com`
- URL: `https://api.spoonacular.com/food/products/{id}/nutritionLabel`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/spoonacular/apis/spoonacular-api/docs/food/products/:id/nutritionLabel/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a product's nutrition label as an HTML widget.

## Path parameters

- `id` number, required

## Query parameters

- `defaultCss` boolean
- `showOptionalNutrients` boolean
- `showZeroValues` boolean
- `showIngredients` boolean

## Response `200`

Success

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/spoonacular/apis/spoonacular-api.md) - [All operations](https://skmtc.dev/spoonacular/apis/spoonacular-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spoonacular/apis/spoonacular-api/revisions/bc2fbe4e8981?raw)
