Otter · Schema
NutritionContent
The nutrition content of the item.
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| servingSizeInGrams | number | The serving size in grams. This field and the servingSizeInMilliliters field are mutually exclusive. |
| servingSizeInMilliliters | number | The serving size in milliliters. This field and the servingSizeInGrams are mutually exclusive. |
| fats | number | The fats in grams per serving size. |
| saturatedFats | number | The saturated fats in grams per serving size. |
| monoUnsaturatedFats | number | The mono unsaturated fats in grams per serving size. |
| polyUnsaturatedFats | number | The poly unsaturated fats in grams per serving size. |
| carbohydrates | number | The carbohydrates in grams per serving size. |
| sugar | number | The sugar in grams per serving size. |
| polyols | number | The polyols in grams per serving size. |
| starch | number | The starch in grams per serving size. |
| protein | number | The protein in grams per serving size. |
| salt | number | The salt in grams per serving size. |
| sodium | number | The sodium in grams per serving size. |
| fibres | number | The fibres in grams per serving size. |
| vitaminC | number | The vitamin C in milligrams per serving size. |
| calcium | number | The calcium in milligrams per serving size. |
| magnesium | number | The magnesium in milligrams per serving size. |
| chloride | number | The chloride in milligrams per serving size. |
| fluoride | number | The fluoride in milligrams per serving size. |
| potassium | number | The potassium in milligrams per serving size. |
| caffeine | number | The caffeine in milligrams per serving size. |
| energy | number | The energy in kcal per serving size. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NutritionContent",
"description": "The nutrition content of the item.",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-nutrition-content-schema.json",
"type": "object",
"properties": {
"servingSizeInGrams": {
"type": "number",
"description": "The serving size in grams. This field and the servingSizeInMilliliters field are mutually exclusive.",
"example": 100
},
"servingSizeInMilliliters": {
"type": "number",
"description": "The serving size in milliliters. This field and the servingSizeInGrams are mutually exclusive.",
"example": 100
},
"fats": {
"type": "number",
"description": "The fats in grams per serving size.",
"example": 2.3
},
"saturatedFats": {
"type": "number",
"description": "The saturated fats in grams per serving size.",
"example": 1.4
},
"monoUnsaturatedFats": {
"type": "number",
"description": "The mono unsaturated fats in grams per serving size.",
"example": 1.5
},
"polyUnsaturatedFats": {
"type": "number",
"description": "The poly unsaturated fats in grams per serving size.",
"example": 5.3
},
"carbohydrates": {
"type": "number",
"description": "The carbohydrates in grams per serving size.",
"example": 1.8
},
"sugar": {
"type": "number",
"description": "The sugar in grams per serving size.",
"example": 1.7
},
"polyols": {
"type": "number",
"description": "The polyols in grams per serving size.",
"example": 9.3
},
"starch": {
"type": "number",
"description": "The starch in grams per serving size.",
"example": 1.1
},
"protein": {
"type": "number",
"description": "The protein in grams per serving size.",
"example": 7.3
},
"salt": {
"type": "number",
"description": "The salt in grams per serving size.",
"example": 1.5
},
"sodium": {
"type": "number",
"description": "The sodium in grams per serving size.",
"example": 0.3
},
"fibres": {
"type": "number",
"description": "The fibres in grams per serving size.",
"example": 1.9
},
"vitaminC": {
"type": "number",
"description": "The vitamin C in milligrams per serving size.",
"example": 9.3
},
"calcium": {
"type": "number",
"description": "The calcium in milligrams per serving size.",
"example": 1.2
},
"magnesium": {
"type": "number",
"description": "The magnesium in milligrams per serving size.",
"example": 1.3
},
"chloride": {
"type": "number",
"description": "The chloride in milligrams per serving size.",
"example": 1.3
},
"fluoride": {
"type": "number",
"description": "The fluoride in milligrams per serving size.",
"example": 3.3
},
"potassium": {
"type": "number",
"description": "The potassium in milligrams per serving size.",
"example": 22.3
},
"caffeine": {
"type": "number",
"description": "The caffeine in milligrams per serving size.",
"example": 81.3
},
"energy": {
"type": "number",
"description": "The energy in kcal per serving size.",
"example": 991.3
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/public-api-nutrition-content"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.