Professional Recipe Nutrients API

Professional Recipe Nutrients API - Nutrientizer is a cross browsers REST API which get a JSON input as recipe with ingredients and quantities (in grames) and returns a very detailed and exhaustive JSON list of nutrients including vitamins, minerals with its quantities per each ingredient. This recipe nutrition calculator API computes totals of recipe for calories, lipids, proteins, carbohydrates, sugars, fibers, cholesterol, fatty acids (trans, saturated, monounsaturated, polyunsaturated). You may name this api also: recipe nutrition calculator usda, nutritional analysis calculator, recipe nutrition analyzer, recipe nutritional value calculator, recipe nutrition facts calculator, food calorie calculator recipe, recipe calorie and nutrition calculator, recipe builder calorie counter, recipe calorie analyzer, recipe nutrition calculator online, find nutritional value of recipe, recipe nutritional information calculator.

Allthough this Professional Recipe Nutrients API or recipe nutrition calculator is intended for software development and therefore developers, we have also here an online application that may be used to get recipe nutrients from the input text The necessary steps are written below, basically for nutritional analysis calculator API you send an authorized POST request in JSON format to the API endpoint and you get as JSON response a representing the recipe with nutrients per each ingredient and totals. You own the commercial copyright of the resulted JSON recipe with no additional fee meaning you may use it in your own apps.

Professional Recipe Nutrients API is useful for a large number of domains like: restaurants, dietary, food manufacturers, nutritionists, developers making food nutrition apps etc.

For using our recipe nutrition calculator API and/or APP you must create an account (free of charge, no card required), activate it from your received email, login and then start your TRIAL package with no fees as you can see at our pricing packages. After you have tested the recipe nutrition analyzer API and/or APP and you are satisfied, you may buy a paid package. You will always see at your Admin Console page the real resources consumption in real time, your invoices, you may see/edit/delete your profile or export log consents as GDPR instructed, you may read our FAQs.

Professional Recipe Nutrients APP





API Endpoint (method POST):
https://gatiosoft.ro/nutrientizer.aspx
Headers:
Authorization: Basic //Your username:password are base64 encoded string
Content-Type: application/json
Accept: application/json
JSON Request Body (change inputs here and see in real time below):
                   [
  {
    "ingredient": "wheat flour organic",
    "quantity": 200.0
  },
  {
    "ingredient": "broccoli raw",
    "quantity": 200.0
  }
]
               
JSON Response From API (change inputs here and see in real time below):
{
  "op": [
    {
      "ingredient": "Organic Wheat flour",
      "quantity": 200.0,
      "nutrient": [
        {
          "name": "Calcium, Ca",
          "quantity": 39.0,
          "um": "mg",
          "total_qty": 78.0
        },
        {
          "name": "Iron, Fe",
          "quantity": 0.71,
          "um": "mg",
          "total_qty": 1.42
        },
        {
          "name": "Vitamin A, IU",
          "quantity": 0.0,
          "um": "IU",
          "total_qty": 0.0
        },
        {
          "name": "Vitamin C, total ascorbic acid",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Cholesterol",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Fatty acids, total saturated",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "Protein",
          "quantity": 7.84,
          "um": "g",
          "total_qty": 15.68
        },
        {
          "name": "Total lipid (fat)",
          "quantity": 8.82,
          "um": "g",
          "total_qty": 17.64
        },
        {
          "name": "Carbohydrate, by difference",
          "quantity": 50.98,
          "um": "g",
          "total_qty": 101.96
        },
        {
          "name": "Energy",
          "quantity": 314.0,
          "um": "kcal",
          "total_qty": 628.0
        },
        {
          "name": "Sugars, total including NLEA",
          "quantity": 1.96,
          "um": "g",
          "total_qty": 3.92
        },
        {
          "name": "Fiber, total dietary",
          "quantity": 2.0,
          "um": "g",
          "total_qty": 4.0
        },
        {
          "name": "Sodium, Na",
          "quantity": 686.0,
          "um": "mg",
          "total_qty": 1372.0
        },
        {
          "name": "Fatty acids, total trans",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        }
      ]
    },
    {
      "ingredient": "Broccoli, raw",
      "quantity": 200.0,
      "nutrient": [
        {
          "name": "Protein",
          "quantity": 2.82,
          "um": "g",
          "total_qty": 5.64
        },
        {
          "name": "Total lipid (fat)",
          "quantity": 0.37,
          "um": "g",
          "total_qty": 0.74
        },
        {
          "name": "Carbohydrate, by difference",
          "quantity": 6.64,
          "um": "g",
          "total_qty": 13.28
        },
        {
          "name": "Energy",
          "quantity": 34.0,
          "um": "kcal",
          "total_qty": 68.0
        },
        {
          "name": "Alcohol, ethyl",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "Water",
          "quantity": 89.3,
          "um": "g",
          "total_qty": 178.6
        },
        {
          "name": "Caffeine",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Theobromine",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Sugars, total including NLEA",
          "quantity": 1.7,
          "um": "g",
          "total_qty": 3.4
        },
        {
          "name": "Fiber, total dietary",
          "quantity": 2.6,
          "um": "g",
          "total_qty": 5.2
        },
        {
          "name": "Calcium, Ca",
          "quantity": 47.0,
          "um": "mg",
          "total_qty": 94.0
        },
        {
          "name": "Iron, Fe",
          "quantity": 0.73,
          "um": "mg",
          "total_qty": 1.46
        },
        {
          "name": "Magnesium, Mg",
          "quantity": 21.0,
          "um": "mg",
          "total_qty": 42.0
        },
        {
          "name": "Phosphorus, P",
          "quantity": 66.0,
          "um": "mg",
          "total_qty": 132.0
        },
        {
          "name": "Potassium, K",
          "quantity": 316.0,
          "um": "mg",
          "total_qty": 632.0
        },
        {
          "name": "Sodium, Na",
          "quantity": 33.0,
          "um": "mg",
          "total_qty": 66.0
        },
        {
          "name": "Zinc, Zn",
          "quantity": 0.41,
          "um": "mg",
          "total_qty": 0.82
        },
        {
          "name": "Copper, Cu",
          "quantity": 0.049,
          "um": "mg",
          "total_qty": 0.0980000049
        },
        {
          "name": "Selenium, Se",
          "quantity": 2.5,
          "um": "µg",
          "total_qty": 5.0
        },
        {
          "name": "Retinol",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Vitamin A, RAE",
          "quantity": 31.0,
          "um": "µg",
          "total_qty": 62.2
        },
        {
          "name": "Carotene, beta",
          "quantity": 361.0,
          "um": "µg",
          "total_qty": 722.0
        },
        {
          "name": "Carotene, alpha",
          "quantity": 25.0,
          "um": "µg",
          "total_qty": 50.0
        },
        {
          "name": "Vitamin E (alpha-tocopherol)",
          "quantity": 0.78,
          "um": "mg",
          "total_qty": 1.56
        },
        {
          "name": "Vitamin D (D2 + D3)",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Cryptoxanthin, beta",
          "quantity": 1.0,
          "um": "µg",
          "total_qty": 2.0
        },
        {
          "name": "Lycopene",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Lutein + zeaxanthin",
          "quantity": 1403.0,
          "um": "µg",
          "total_qty": 2806.0
        },
        {
          "name": "Vitamin C, total ascorbic acid",
          "quantity": 89.2,
          "um": "mg",
          "total_qty": 178.4
        },
        {
          "name": "Thiamin",
          "quantity": 0.071,
          "um": "mg",
          "total_qty": 0.142
        },
        {
          "name": "Riboflavin",
          "quantity": 0.117,
          "um": "mg",
          "total_qty": 0.234
        },
        {
          "name": "12:0",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "Vitamin B-6",
          "quantity": 0.175,
          "um": "mg",
          "total_qty": 0.35
        },
        {
          "name": "Folate, total",
          "quantity": 63.0,
          "um": "µg",
          "total_qty": 126.0
        },
        {
          "name": "Vitamin B-12",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Choline, total",
          "quantity": 18.7,
          "um": "mg",
          "total_qty": 37.4
        },
        {
          "name": "Vitamin K (phylloquinone)",
          "quantity": 101.6,
          "um": "µg",
          "total_qty": 203.2
        },
        {
          "name": "Folic acid",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Folate, food",
          "quantity": 63.0,
          "um": "µg",
          "total_qty": 126.0
        },
        {
          "name": "Folate, DFE",
          "quantity": 63.0,
          "um": "µg",
          "total_qty": 126.0
        },
        {
          "name": "Vitamin E, added",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Vitamin B-12, added",
          "quantity": 0.0,
          "um": "µg",
          "total_qty": 0.0
        },
        {
          "name": "Cholesterol",
          "quantity": 0.0,
          "um": "mg",
          "total_qty": 0.0
        },
        {
          "name": "Fatty acids, total saturated",
          "quantity": 0.039,
          "um": "g",
          "total_qty": 0.078
        },
        {
          "name": "4:0",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "6:0",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "8:0",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "10:0",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "Niacin",
          "quantity": 0.639,
          "um": "mg",
          "total_qty": 1.278
        },
        {
          "name": "14:0",
          "quantity": 0.001,
          "um": "g",
          "total_qty": 0.002
        },
        {
          "name": "16:0",
          "quantity": 0.029,
          "um": "g",
          "total_qty": 0.058
        },
        {
          "name": "18:0",
          "quantity": 0.006,
          "um": "g",
          "total_qty": 0.012
        },
        {
          "name": "18:1",
          "quantity": 0.01,
          "um": "g",
          "total_qty": 0.02
        },
        {
          "name": "18:2",
          "quantity": 0.017,
          "um": "g",
          "total_qty": 0.034
        },
        {
          "name": "16:0",
          "quantity": 0.029,
          "um": "mg",
          "total_qty": 0.058
        },
        {
          "name": "20:4",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "22:6 n-3 (DHA)",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "16:1",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "18:4",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "20:1",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "20:5 n-3 (EPA)",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "22:1",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "22:5 n-3 (DPA)",
          "quantity": 0.0,
          "um": "g",
          "total_qty": 0.0
        },
        {
          "name": "Fatty acids, total monounsaturated",
          "quantity": 0.011,
          "um": "g",
          "total_qty": 0.022
        },
        {
          "name": "Fatty acids, total polyunsaturated",
          "quantity": 0.038,
          "um": "g",
          "total_qty": 0.076
        }
      ]
    }
  ],
  "energy": 696.0,
  "cholesterol": 0.0,
  "calcium": 172.0,
  "lipids": 18.38,
  "carbohydrates": 115.24,
  "proteins": 21.32,
  "fibers": 9.2,
  "sugars": 7.32,
  "saturated_fatts": 0.078,
  "trans_fatts": 0.0,
  "monounsaturated_fatts": 0.022,
  "polyunsaturated_fatts": 0.076
}
JSON Response (Example) From API in case of ERROR:

 {
  "cd": "1001",
  "description": "The authorization header Is either empty Or isn't Basic"
}
Professional Recipe Nutrients API

Your Recipe

Generated by: https://gatiosoft.ro/professional-recipe-nutrients-api.aspx

Output Recipe Nutrients

Ingredient
Organic Wheat flour
Quantity
200
Nutrient

N_Quantity

Units

Total_qty


Ingredient

Quantity

Nutrient
Calcium, Ca
N_Quantity
39.00000
Units
mg
Total_qty
78.00000

Ingredient

Quantity

Nutrient
Iron, Fe
N_Quantity
.71000
Units
mg
Total_qty
1.42000

Ingredient

Quantity

Nutrient
Vitamin A, IU
N_Quantity
.00000
Units
IU
Total_qty
.00000

Ingredient

Quantity

Nutrient
Vitamin C, total ascorbic acid
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Cholesterol
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Fatty acids, total saturated
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
Protein
N_Quantity
7.84000
Units
g
Total_qty
15.68000

Ingredient

Quantity

Nutrient
Total lipid (fat)
N_Quantity
8.82000
Units
g
Total_qty
17.64000

Ingredient

Quantity

Nutrient
Carbohydrate, by difference
N_Quantity
50.98000
Units
g
Total_qty
101.96000

Ingredient

Quantity

Nutrient
Energy
N_Quantity
314.00000
Units
kcal
Total_qty
628.00000

Ingredient

Quantity

Nutrient
Sugars, total including NLEA
N_Quantity
1.96000
Units
g
Total_qty
3.92000

Ingredient

Quantity

Nutrient
Fiber, total dietary
N_Quantity
2.00000
Units
g
Total_qty
4.00000

Ingredient

Quantity

Nutrient
Sodium, Na
N_Quantity
686.00000
Units
mg
Total_qty
1372.00000

Ingredient

Quantity

Nutrient
Fatty acids, total trans
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient
Broccoli, raw
Quantity
200
Nutrient

N_Quantity

Units

Total_qty


Ingredient

Quantity

Nutrient
Protein
N_Quantity
2.82000
Units
g
Total_qty
5.64000

Ingredient

Quantity

Nutrient
Total lipid (fat)
N_Quantity
.37000
Units
g
Total_qty
.74000

Ingredient

Quantity

Nutrient
Carbohydrate, by difference
N_Quantity
6.64000
Units
g
Total_qty
13.28000

Ingredient

Quantity

Nutrient
Energy
N_Quantity
34.00000
Units
kcal
Total_qty
68.00000

Ingredient

Quantity

Nutrient
Alcohol, ethyl
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
Water
N_Quantity
89.30000
Units
g
Total_qty
178.60001

Ingredient

Quantity

Nutrient
Caffeine
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Theobromine
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Sugars, total including NLEA
N_Quantity
1.70000
Units
g
Total_qty
3.40000

Ingredient

Quantity

Nutrient
Fiber, total dietary
N_Quantity
2.60000
Units
g
Total_qty
5.20000

Ingredient

Quantity

Nutrient
Calcium, Ca
N_Quantity
47.00000
Units
mg
Total_qty
94.00000

Ingredient

Quantity

Nutrient
Iron, Fe
N_Quantity
.73000
Units
mg
Total_qty
1.46000

Ingredient

Quantity

Nutrient
Magnesium, Mg
N_Quantity
21.00000
Units
mg
Total_qty
42.00000

Ingredient

Quantity

Nutrient
Phosphorus, P
N_Quantity
66.00000
Units
mg
Total_qty
132.00000

Ingredient

Quantity

Nutrient
Potassium, K
N_Quantity
316.00000
Units
mg
Total_qty
632.00000

Ingredient

Quantity

Nutrient
Sodium, Na
N_Quantity
33.00000
Units
mg
Total_qty
66.00000

Ingredient

Quantity

Nutrient
Zinc, Zn
N_Quantity
.41000
Units
mg
Total_qty
.82000

Ingredient

Quantity

Nutrient
Copper, Cu
N_Quantity
.04900
Units
mg
Total_qty
.09800

Ingredient

Quantity

Nutrient
Selenium, Se
N_Quantity
2.50000
Units
µg
Total_qty
5.00000

Ingredient

Quantity

Nutrient
Retinol
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Vitamin A, RAE
N_Quantity
31.00000
Units
µg
Total_qty
62.20000

Ingredient

Quantity

Nutrient
Carotene, beta
N_Quantity
361.00000
Units
µg
Total_qty
722.00000

Ingredient

Quantity

Nutrient
Carotene, alpha
N_Quantity
25.00000
Units
µg
Total_qty
50.00000

Ingredient

Quantity

Nutrient
Vitamin E (alpha-tocopherol)
N_Quantity
.78000
Units
mg
Total_qty
1.56000

Ingredient

Quantity

Nutrient
Vitamin D (D2 + D3)
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Cryptoxanthin, beta
N_Quantity
1.00000
Units
µg
Total_qty
2.00000

Ingredient

Quantity

Nutrient
Lycopene
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Lutein + zeaxanthin
N_Quantity
1403.00000
Units
µg
Total_qty
2806.00000

Ingredient

Quantity

Nutrient
Vitamin C, total ascorbic acid
N_Quantity
89.20000
Units
mg
Total_qty
178.39999

Ingredient

Quantity

Nutrient
Thiamin
N_Quantity
.07100
Units
mg
Total_qty
.14200

Ingredient

Quantity

Nutrient
Riboflavin
N_Quantity
.11700
Units
mg
Total_qty
.23400

Ingredient

Quantity

Nutrient
12:0
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
Vitamin B-6
N_Quantity
.17500
Units
mg
Total_qty
.35000

Ingredient

Quantity

Nutrient
Folate, total
N_Quantity
63.00000
Units
µg
Total_qty
126.00000

Ingredient

Quantity

Nutrient
Vitamin B-12
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Choline, total
N_Quantity
18.70000
Units
mg
Total_qty
37.40000

Ingredient

Quantity

Nutrient
Vitamin K (phylloquinone)
N_Quantity
101.60000
Units
µg
Total_qty
203.20000

Ingredient

Quantity

Nutrient
Folic acid
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Folate, food
N_Quantity
63.00000
Units
µg
Total_qty
126.00000

Ingredient

Quantity

Nutrient
Folate, DFE
N_Quantity
63.00000
Units
µg
Total_qty
126.00000

Ingredient

Quantity

Nutrient
Vitamin E, added
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Vitamin B-12, added
N_Quantity
.00000
Units
µg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Cholesterol
N_Quantity
.00000
Units
mg
Total_qty
.00000

Ingredient

Quantity

Nutrient
Fatty acids, total saturated
N_Quantity
.03900
Units
g
Total_qty
.07800

Ingredient

Quantity

Nutrient
4:0
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
6:0
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
8:0
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
10:0
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
Niacin
N_Quantity
.63900
Units
mg
Total_qty
1.27800

Ingredient

Quantity

Nutrient
14:0
N_Quantity
.00100
Units
g
Total_qty
.00200

Ingredient

Quantity

Nutrient
16:0
N_Quantity
.02900
Units
g
Total_qty
.05800

Ingredient

Quantity

Nutrient
18:0
N_Quantity
.00600
Units
g
Total_qty
.01200

Ingredient

Quantity

Nutrient
18:1
N_Quantity
.01000
Units
g
Total_qty
.02000

Ingredient

Quantity

Nutrient
18:2
N_Quantity
.01700
Units
g
Total_qty
.03400

Ingredient

Quantity

Nutrient
16:0
N_Quantity
.02900
Units
mg
Total_qty
.05800

Ingredient

Quantity

Nutrient
20:4
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
22:6 n-3 (DHA)
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
16:1
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
18:4
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
20:1
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
20:5 n-3 (EPA)
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
22:1
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
22:5 n-3 (DPA)
N_Quantity
.00000
Units
g
Total_qty
.00000

Ingredient

Quantity

Nutrient
Fatty acids, total monounsaturated
N_Quantity
.01100
Units
g
Total_qty
.02200

Ingredient

Quantity

Nutrient
Fatty acids, total polyunsaturated
N_Quantity
.03800
Units
g
Total_qty
.07600

Ingredient

Quantity

Nutrient

N_Quantity

Units

Total_qty

Total Energy (kcal): 696; Total Cholesterol (mg): 0; Total Calcium (mg): 172; Total Proteins (g): 21.32; Total Lipids (g): 18.38; Total Fibers (g): 9.2; Total Carbohydrates (g): 115.24; Total Sugars (g): 7.32; Total Saturated Fatts (g): 0.078; Total Trans Fatts (g): 0; Total MonoUnsaturated Fatts (g): 0.022; Total PolyUnsaturated Fatts (g): 0.076; Date: 11/21/2024 9:08:14 AM.

Request Parameters Table

Parameter Name
Parameter Description
input_recipe
This is a list or array of the input ingredients with their quantities [grams], explained below.
ingredient
The description of the ingredient [string]. You should be specific like in examples: wheat flour organic or egg whole or broccoli raw or rice long grain dry or nectarines raw and so on.
quantity
This is the quantity in grams for the ingredient in the recipe [real]. Example: 235

Response Parameter Table

Parameter Name
Parameter Description
op
This is the root object that contains a list or array of ingredients and quantities, also totals on the main nutrients of the whole recipe as specified below.
ingredient
The description of the ingredient [string]. as it is found in the database. It could be different to the input ingredient. Example: Eggs, Grade A, Large, egg whole.
quantity
This is the quantity in grams for the ingredient in the recipe [real]. Example: 235.
nutrient
This is a list or array of nutrients with the following fields: name, quantity, um, total_qty explained below.
name
This is the name of the nutrient as found in the database [string]. Example: Carbohydrate, by difference.
quantity
This is the quantity of the nutrient [real] contained in 100g of ingredient. Example: 0.96 The unit of measure is explained below.
um
This is the unit of measure [string] for the quantity of nutrient above.
total_qty
This is the total quantity of nutrient [real] in the ingredient calculated from the input quantity of ingredient. Example: 1.82
energy
This is the total energy (kcal) [real] of the ingredients in recipe. Example: 1800.
cholesterol
This is the total cholesterol (mg) [real] of the ingredients in recipe. Example: 411.
calcium
This is the total calcium (mg) [real] of the ingredients in recipe. Example: 55.
lipids
This is the total lipids (g) [real] of the ingredients in recipe. Example: 0.38.
carbohydrates
This is the total carbohydrates (g) [real] of the ingredients in recipe. Example: 2.78.
sugars
This is the total sugars (g) [real] of the ingredients in recipe. Example: 0.4.
proteins
This is the total proteins (g) [real] of the ingredients in recipe. Example: 24.8.
fibers
This is the total fibers (g) [real] of the ingredients in recipe. Example: 6.37.
saturated_fatts
This is the total saturated fatts (g) [real] of the ingredients in recipe. Example: 6.4.
trans_fatts
This is the total trans fatts (g) [real] of the ingredients in recipe. Example: 2.3.
monounsaturated_fatts
This is the total monounsaturated fatts (g) [real] of the ingredients in recipe. Example: 7.26.
polyunsaturated_fatts
This is the total polyunsaturated fatts (g) [real] of the ingredients in recipe. Example: 3.64.

Response Error Codes Table

Parameter Name
Parameter Description
cd

This is the error code which may be:

  • 1001
  • 1002
  • 1003
  • 1004
  • 1005
  • 1006
  • 1007
  • 1008
  • 1009
  • 1010
  • 1011
  • 1012
  • 1013
  • 1014
  • 1015
  • 1016
  • 2001
description

This is the description of the error code which may be:

  • 1001 - The authorization header is either empty or isn't Basic.
  • 1002 - Daily requests number exceeded in TRIAL mode!
  • 1003 - Trial expired!
  • 1004 - Characters number exceeded!
  • 1005 - Package expired!
  • 1006 - No invoice!
  • 1007 - Reader is NULL for TRIAL!
  • 1008 - Cannot Read if TRIAL exists!
  • 1009 - Error connecting to database looking for TRIAL! (and a detailed description message of the encountered error)
  • 1010 - Reader is NULL for Invoice!
  • 1011 - Cannot Read if Invoice exists!
  • 1012 - Error connecting to database! (and a detailed description message of the encountered error)
  • 1013 - Input request string too long! Maximum 700 characters per request are allowed
  • 1014 - Invalid request data! (and a detailed description message of the encountered error)
  • 2001 - Invalid request data after passing to the API (and a detailed description message of the encountered error)

Source Code Examples for Using Our Recipe Nutrition Calculator API

                       
Imports System
Imports System.Text
imports System.Collections.Generic
Imports System.Net
Imports Newtonsoft.Json

Public Class professional_recipe_nutrients_api
    Public Class ResponseFields
	Public Property op As New List(Of output_recipe)
    	Public Property energy As Single
   	Public Property cholesterol As Single
    	Public Property calcium As Single
    	Public Property lipids As Single
    	Public Property carbohydrates As Single
    	Public Property proteins As Single
    	Public Property fibers As Single
    	Public Property sugars As Single
    	Public Property saturated_fatts As Single
    	Public Property trans_fatts As Single
    	Public Property monounsaturated_fatts As Single
    	Public Property polyunsaturated_fatts As Single
    End Class
    Public Class output_nutrients
    	 Public Property name As String
   	 Public Property quantity As Single
   	 Public Property um As String
   	 Public Property total_qty As Single
    End Class
    Public Class output_recipe
	 Public Property ingredient As String
   	 Public Property quantity As Single
    	 Public Property nutrient As New List(Of output_nutrients)
    End Class

    Public Class ErrorFields
        Public Property cd As String
        Public Property description As String
    End Class

    Protected Sub SendRequest()
        Dim Client As WebClient = New WebClient()
        Dim credentials As String = Convert.ToBase64String(Encoding.ASCII.GetBytes("your_username:your_password"))
        Client.Headers(HttpRequestHeader.Authorization) = String.Format("Basic {0}", credentials)
        Client.Headers(HttpRequestHeader.Accept) = "application/json"
        Client.Headers(HttpRequestHeader.ContentType) = "application/json"
	Client.BaseAddress = "https://gatiosoft.ro/nutrientizer.aspx"
        Dim resString As String = ""

        Try
            Dim js As String = "Replace this string with your JSON Request Body string like in the example above on the website"
            Dim reqString As Byte() = Encoding.UTF8.GetBytes(js)
            Dim url As Uri = New Uri(Client.BaseAddress)
            Dim resByte As Byte() = Client.UploadData(url, "post", reqString)
            resString = Encoding.UTF8.GetString(resByte)

	    If resString.IndexOf("ingredient") > 0 Then
                Dim r As ResponseFields = New ResponseFields()
                r = JsonConvert.DeserializeObject(Of ResponseFields)(resString)
                Console.Write(resString)
            Else
		Dim e As list(of ErrorFields) = New list(of ErrorFields)
		e = JsonConvert.DeserializeObject(Of list(of ErrorFields))(resString)
                Console.Write(e(0).cd)
                Console.Write(e(0).description)
            End If

            Client.Dispose()
        Catch exception As Exception
            Dim ex As System.Exception = exception
            Console.Write("ERROR: " & resString & ex.Message)
        End Try
    End Sub

    Public Shared Sub Main()
	Dim b As professional_recipe_nutrients_api = New  professional_recipe_nutrients_api
        b.SendRequest()
    End Sub
End Class



Nutrientizer Online Video Presentation

Professional Recipe Nutrition Calculator API, Nutrientizer is in the video presentation below. There are several search terms which you may use like: recipe nutrition calculator usda, nutritional analysis calculator, recipe nutrition analyzer, recipe nutritional value calculator, recipe nutrition facts calculator, food calorie calculator recipe, recipe calorie and nutrition calculator, recipe builder calorie counter, recipe calorie analyzer, recipe nutrition calculator online, find nutritional value of recipe, recipe nutritional information calculator.

 



Pricing Packages

Please choose one of the below pricing packages for start using our Professional Recipe Nutrients API and online APP!

Start TRIAL
No catches

  • 7 days TRIAL
  • Use our cloud REST API and online APP
  • Maximum 700 characters per each request
  • Maximum 50 requests per DAY in trial period
  • You do NOT own the commercial copyright of the resulted recipe(s) in trial period.
  • Get extensive nutrients data for each ingredient of the recipe
  • Get totals of some main nutrients on the recipe
  • Administration console
  • Support through online chat and/or tickets
  • We do NOT allow spam accounts for TRIAL



Monthly TIER
Popular

  • 80 USD per month
  • Use our cloud REST API and online APP
  • Maximum 700 characters per each request(*)
  • Maximum 50 requests per MINUTE
  • You own the commercial copyright of the resulted recipe(s) with NO additional fee.
  • Maximum 7.000.000 input characters per MONTH
  • Get extensive nutrients data for each ingredient of the recipe
  • Get totals of some main nutrients on the recipe
  • Administration console
  • Support through online chat and/or tickets



Yearly TIER
(15% Discount)

  • 816 USD per year
  • Use our cloud REST API and online APP
  • Maximum 700 characters per each request(*)
  • Maximum 50 requests per MINUTE
  • You own the commercial copyright of the resulted recipe(s) with NO additional fee.
  • Maximum 7.000.000 input characters per MONTH
  • Get extensive nutrients data for each ingredient of the recipe
  • Get totals of some main nutrients on the recipe
  • Administration console
  • Support through online chat and/or tickets



Note: VAT rate may be added or not, function to your country and/or if you are a taxable person or company.
* If you want to get more characters input per request please contact us through our chat window to get a personalized offer!