Knuspr: Composition
Composition from Knuspr as JSON. 1 credit per successful call.
GET /v1/knuspr/composition
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
id | string | Required | Up to 40 characters |
ingredients | boolean | Optional | Any |
slug | string | Optional | Up to 120 characters |
Example request
Knuspr
GET/v1/knuspr/composition?id=1470
{
"success": true,
"data": {
"product": "1470",
"ingredients_requested": false,
"composition": {
"nutrients": [
{
"name": "energyKJ",
"amount": 1570,
"unit": "kJ"
},
{
"name": "energyKCal",
"amount": 378,
"unit": "kcal"
},
{
"name": "fats",
"amount": 29.2,
"unit": "g"
}
],
"allergens": [
"Milch"
]
}
},
"meta": {
"endpoint_family": "composition"
}
}200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
product | string |
ingredients_requested | boolean |
composition | object |