Chomp Food Database API Documentation
    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

      Get a branded food item by name

      GET
      /food/branded/name.php

      Search for branded food items by name.#

      Example
      https://chompthis.com/api/v2/food/branded/name.php?api_key=API_KEY&name=NAME
      Tips
      Get started by using our food lookup tool.
      This API endpoint is only available to Standard and Premium API subscribers. Please consider upgrading your subscription if you are subscribed to the Limited plan. Read this if you aren't sure how to upgrade your subscription.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://chompthis.com/api/v2/food/branded/name.php?name='
      Response Response Example
      200 - Example 1
      {
          "items": [
              {
                  "allergens": [
                      "string"
                  ],
                  "barcode": "string",
                  "brand": "string",
                  "brand_list": [
                      "string"
                  ],
                  "categories": [
                      "string"
                  ],
                  "countries": [
                      "string"
                  ],
                  "country_details": {
                      "english_speaking": 0,
                      "non_english_speaking": 0
                  },
                  "description": "string",
                  "diet_flags": [
                      {
                          "compatibility_description": "string",
                          "compatibility_level": 0,
                          "diet_label": "string",
                          "ingredient": "string",
                          "ingredient_description": "string",
                          "is_allergen": true,
                          "is_compatible": "string"
                      }
                  ],
                  "diet_labels": {
                      "gluten_free": {
                          "compatibility_level": 0,
                          "confidence": 0,
                          "confidence_description": "string",
                          "is_compatible": true,
                          "name": "string"
                      },
                      "vegan": {
                          "compatibility_level": 0,
                          "confidence": 0,
                          "confidence_description": "string",
                          "is_compatible": true,
                          "name": "string"
                      },
                      "vegetarian": {
                          "compatibility_level": 0,
                          "confidence": 0,
                          "confidence_description": "string",
                          "is_compatible": true,
                          "name": "string"
                      }
                  },
                  "has_english_ingredients": true,
                  "ingredient_list": [
                      "string"
                  ],
                  "ingredients": "string",
                  "keywords": [
                      "string"
                  ],
                  "minerals": [
                      "string"
                  ],
                  "name": "string",
                  "nutrients": [
                      {
                          "data_points": 0,
                          "description": "string",
                          "measurement_unit": "string",
                          "name": "string",
                          "per_100g": 0,
                          "rank": 0
                      }
                  ],
                  "package": {
                      "quantity": 0,
                      "size": "string"
                  },
                  "packaging_photos": {
                      "front": {
                          "display": "string",
                          "small": "string",
                          "thumb": "string"
                      },
                      "ingredients": {
                          "display": "string",
                          "small": "string",
                          "thumb": "string"
                      },
                      "nutrition": {
                          "display": "string",
                          "small": "string",
                          "thumb": "string"
                      }
                  },
                  "palm_oil_ingredients": [
                      "string"
                  ],
                  "serving": {
                      "measurement_unit": "string",
                      "size": "string",
                      "size_fulltext": "string"
                  },
                  "traces": [
                      "string"
                  ],
                  "vitamins": [
                      "string"
                  ]
              }
          ]
      }

      Request

      Query Params

      Responses

      🟢200Success
      application/json
      Body

      🟠400400
      🟠401401
      🟠404404
      🔴500500
      Modified at 2023-08-15 06:31:04
      Previous
      Get a branded food item using a barcode
      Next
      Get data for branded food items using various search parameters
      Built with