FetchNutritionFactsByUPC

Returns nutrition facts by a product's UPC code.

Arguments
auth (Required)
Your API application key.
upc (Required)
A Product's UPC Code (6, 7, 8, 11 or 12 digit number).

Example Request:
{
	"auth":,
	"method":"FetchNutritionFactsByUPC",
	"params":
	{
		"upc":"073731001059"
	}
}
Example Response:
{
"success":true,
"usedExternal":false,
"result"
	{
		"calories_per_serving":"150",
		"cholesterol_per_serving":"15",
		"cholesterol_uom":"Mg",
		"dvp_calcium":"30",
		"dvp_cholesterol":"4",
		"dvp_iron":"2",
		"dvp_protein":"17",
		"dvp_saturated_fat":"8",
		"dvp_sodium":"10",
		"dvp_total_fat":"4",
		"dvp_vitamin_a":"10","
		"dvp_vitamin_c":"0",
		"dvp_vitamin_d":"25",
		"fat_calories_per_serving":"25",
		"fiber_per_serving":"<1",
		"fiber_uom":"G",
		"ingredients":"Fat Free Milk, Milk, Sugar, Cocoa (Processed With Alkali),
		               Salt, Carrageenan, Vanillin (Artificial Flavor),
		               Lactase Enzyme, Vitamin A Palmitate And Vitamin D3.",
		"protein_per_serving":"8",
		"protein_uom":"G",
		"size":"240",
		"units":"mL",
		"servings_per_container":"8",
		"sodium_per_serving":"230",
		"sodium_uom":"Mg",
		"total_fat_per_serving":"2.5",
		"total_fat_uom":"G",
		"trans_fat_per_serving":"0",
		"trans_fat_uom":"G",
		"upc":"041383096013"
	}
}
Notes:
  • This method is not available under the Bronze plan.
Error Codes (40XX):
  • 01: One or more required parameters not present
  • 02: The specified UPC was invalid
  • 03: Error retrieving result set
  • 04: No products match that UPC
  • 06: Method is not allowed for the current subscriptionC