---
updatedAt: 2026-02-13T11:22:43.000Z
agentTools:
  projectIndex: https://reference.humanapi.co/v2.1/llms.txt
---

# Meals

The Meals resource contains detailed data about nutrition consumed by the human separated by date and type: breakfast/lunch/dinner/other/morning_snack/afternoon_snack/after_dinner.

Get a list of meals the user has
GET <https://api.humanapi.co/v1/human/food/meals>

Returns a single meal
GET <https://api.humanapi.co/v1/human/food/meals/{id}>

[block:code]
{
  "codes": [
    {
      "code": "# Returns a json array of meals:\n[{\n  \"id\": \"5508205f6101270148721599\",\n  \"userId\": \"52e20cb2fff56aac62000001\",\n  \"source\": \"jawbone\",\n  \"timestamp\": \"2015-03-17T00:00:00.000Z\",\n  \"tzOffset\": \"-07:00\",\n  \"type\": \"lunch\",\n  \"name\": \"Apfelstückchen mit Banane\",\n  \"calories\": 124,\n  \"carbohydrate\": 26.6000003815,\n  \"fat\": 0.600000023842,\n  \"protein\": 1.60000002384,\n  \"sodium\": 0,\n  \"sugar\": 0,\n  \"calcium\": 0,\n  \"cholesterol\": 0,\n  \"fiber\": 3,\n  \"iron\": 0,\n  \"monounsaturatedFat\": 0,\n  \"polyunsaturatedFat\": 0,\n  \"potassium\": 0,\n  \"saturatedFat\": 0,\n  \"vitaminA\": 0,\n  \"vitaminC\": 0,\n  \"createdAt\": \"2015-03-17T12:38:55.712Z\",\n  \"updatedAt\": \"2015-03-17T12:38:55.712Z\",\n  \"humanId\": \"5dc2527186aaf9de560e5841f1a44bd6\"\n}, {\n  \"id\": \"54fe0ad40f701cf4630be975\",\n  \"userId\": \"52e20cb2fff56aac62000001\",\n  \"source\": \"jawbone\",\n  \"timestamp\": \"2015-03-04T00:00:00.000Z\",\n  \"tzOffset\": \"-07:00\",\n  \"type\": \"lunch\",\n  \"name\": \"3 Cereais e Leite\",\n  \"calories\": 633.999984741,\n  \"carbohydrate\": 75.9680023193,\n  \"fat\": 22.6160001755,\n  \"protein\": 32.4159994125,\n  \"sodium\": 723.199981689,\n  \"sugar\": 40.2880020142,\n  \"calcium\": 896,\n  \"cholesterol\": 54.4000015259,\n  \"fiber\": 3.07999992371,\n  \"iron\": 0,\n  \"monounsaturatedFat\": 0,\n  \"polyunsaturatedFat\": 0,\n  \"potassium\": 0,\n  \"saturatedFat\": 11.1679999828,\n  \"vitaminA\": 0,\n  \"vitaminC\": 0,\n  \"createdAt\": \"2015-03-09T21:04:20.973Z\",\n  \"updatedAt\": \"2015-03-09T21:04:20.973Z\",\n  \"humanId\": \"5dc2527186aaf9de560e5841f1a44bd6\"\n}]",
      "language": "json"
    },
    {
      "code": "# Get all meals associated with the user\ncurl -H \"Authorization: Bearer demo\" \"https://api.humanapi.co/v1/human/food/meals\"",
      "language": "curl"
    }
  ],
  "sidebar": true
}
[/block]

[block:api-header]
{
  "title": "Query Parameters"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Parameter",
    "h-1": "Description",
    "0-0": "updated_since",
    "0-1": "Date in YYYYMMDDTHHmmssZ format"
  },
  "cols": 2,
  "rows": 1
}
[/block]

[block:api-header]
{
  "title": "Response Properties"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "id",
    "0-1": "String",
    "0-2": "The id of the resource.",
    "1-0": "userId",
    "1-1": "String",
    "1-2": "[deprecated - use humanId]",
    "2-0": "humanId",
    "2-1": "String",
    "2-2": "Unique user identifier",
    "3-0": "timestamp",
    "3-1": "Date",
    "3-2": "The original date of the meal",
    "4-0": "type",
    "4-1": "String",
    "4-2": "Type of the meal: breakfast/lunch/dinner/other/morning_snack/afternoon_snack/after_dinner",
    "25-0": "updatedAt",
    "25-1": "Date",
    "25-2": "The time the measurement was updated on the Human API server",
    "5-0": "tzOffset",
    "5-1": "String",
    "5-2": "The offset from UTC time in +/-hh:mm (e.g. -04:00)",
    "6-0": "name",
    "6-1": "String",
    "6-2": "Descriptive name of the meal",
    "7-0": "source",
    "7-1": "String",
    "7-2": "The source service for the meal data",
    "8-0": "calories",
    "8-1": "Number",
    "8-2": "The amount of consumed calories",
    "h-3": "Units",
    "8-3": "kcal",
    "26-2": "The time the measurement was created on the Human API server",
    "26-0": "createdAt",
    "26-1": "Date",
    "9-0": "carbohydrate",
    "9-1": "Number",
    "9-2": "The amount of consumed carbohydrate",
    "9-3": "g",
    "10-0": "fat",
    "10-1": "Number",
    "10-2": "The amount of consumed fat",
    "10-3": "g",
    "11-0": "protein",
    "11-1": "Number",
    "11-2": "The amount of consumed protein",
    "11-3": "g",
    "12-0": "sodium",
    "12-3": "mg",
    "12-1": "Number",
    "12-2": "The amount of consumed sodium",
    "13-0": "sugar",
    "13-1": "Number",
    "13-2": "The amount of consumed sugar",
    "13-3": "g",
    "14-0": "fiber",
    "14-1": "Number",
    "14-2": "The amount of consumed fiber (optional)",
    "14-3": "g",
    "15-0": "saturatedFat",
    "15-1": "Number",
    "15-2": "The amount of consumed saturated fat (optional)",
    "15-3": "g",
    "16-0": "monounsaturatedFat",
    "16-1": "Number",
    "16-3": "g",
    "16-2": "The amount of consumed monounsaturated fat (optional)",
    "17-0": "polyunsaturatedFat",
    "17-1": "Number",
    "17-2": "The amount of consumed polyunsaturated fat (optional)",
    "17-3": "g",
    "18-0": "cholesterol",
    "18-3": "mg",
    "18-1": "Number",
    "18-2": "The amount of consumed cholesterol (optional)",
    "19-0": "vitaminA",
    "19-3": "mg",
    "19-1": "Number",
    "19-2": "The amount of consumed vitamin A (optional)",
    "20-0": "vitaminC",
    "20-1": "Number",
    "20-2": "The amount of consumed vitamin C (optional)",
    "20-3": "mg",
    "21-0": "calcium",
    "22-0": "iron",
    "21-2": "The amount of consumed calcium (optional)",
    "21-3": "mg",
    "21-1": "Number",
    "22-1": "Number",
    "22-2": "The amount of consumed iron (optional)",
    "22-3": "mg",
    "23-0": "potassium",
    "24-0": "amount",
    "23-1": "Number",
    "23-2": "The amount of consumed potassium (optional)",
    "23-3": "mg",
    "24-1": "Object",
    "24-2": "Amount of a food type (See below) (optional)"
  },
  "cols": 4,
  "rows": 27
}
[/block]

[block:api-header]
{
  "title": "Amount Object"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "value",
    "0-1": "Number",
    "0-2": "Quantity",
    "1-0": "unit",
    "1-1": "String",
    "1-2": "Unit of measure"
  },
  "cols": 3,
  "rows": 2
}
[/block]

# OpenAPI definition

```json
{}
```