POST /food/detect
Detect Food in Text
Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds.
Request Traces
Request Headers
POST https://api.spoonacular.com/food/detect
Accept: application/json
HTTP Response
HTTP 200
Success
{
"annotations": [
{
"annotation": "string",
"image": "string",
"tag": "string",
},
],
}
HTTP 401
Unauthorized
HTTP 403
Forbidden
HTTP 404
Not Found
