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 data for branded food items using various search parameters

      GET
      /food/branded/search.php

      Search for branded food items using various parameters.#

      Example
      https://chompthis.com/api/v2/food/branded/search.php?api_key=API_KEY&brand=BRAND&country=COUNTRY&page=1
      Tips
      Get started by using the Query Builder.
      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/search.php'
      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 by name
      Next
      Get raw/generic food ingredient item(s)
      Built with