POST /food/products/classify
Classify Grocery Product
This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk.
Request Traces
Request Headers
POST https://api.spoonacular.com/food/products/classify
Accept: application/json
Request Content
{
"plu_code": "string",
"title": "string",
"upc": "string",
}
HTTP Response
HTTP 200
Success
{
"breadcrumbs": [
{
},
],
"category": "string",
"cleanTitle": "string",
"image": "string",
"usdaCode": 0,
}
HTTP 401
Unauthorized
HTTP 403
Forbidden
HTTP 404
Not Found
