Chomp Food Database API Documentation
  1. Schemas
Chomp Food Database API Documentation
  • Get a branded food item using a barcode
    GET
  • Get a branded food item by name
    GET
  • Get data for branded food items using various search parameters
    GET
  • Get raw/generic food ingredient item(s)
    GET
  • Schemas
    • Schemas
      • BrandedFoodObject
      • IngredientObject
    • Response
      • 200BrandedResponse
      • 200IngredientResponse
  1. Schemas

IngredientObject

Please read the description of each field in this API response object example. By default, the value of each field is null. This indicates an unknown state or that no data exists.

{
    "items": [
        {
            "calorie_conversion_factor": {
                "carbohydrate_value": 0,
                "fat_value": 0,
                "protein_value": 0
            },
            "categories": [
                "string"
            ],
            "common_name": "string",
            "components": [
                {
                    "data_points": 0,
                    "gram_weight": 0,
                    "is_refuse": true,
                    "name": "string",
                    "pct_weight": 0
                }
            ],
            "footnote": "string",
            "name": "string",
            "nutrients": [
                {
                    "data_points": 0,
                    "description": "string",
                    "footnote": "string",
                    "max": 0,
                    "measurement_unit": "string",
                    "median": 0,
                    "min": 0,
                    "name": "string",
                    "per_100g": 0,
                    "rank": 0
                }
            ],
            "portions": [
                {
                    "data_points": 0,
                    "description": "string",
                    "footnote": "string",
                    "gram_weight": 0,
                    "measurement_unit": "string",
                    "modifier": "string"
                }
            ],
            "protein_conversion_factor": 0,
            "score": "string",
            "search_term": "string"
        }
    ]
}
Built with