curl --request POST \
--url https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pfk": "F008785"
}
'import requests
url = "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food"
payload = { "pfk": "F008785" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({pfk: 'F008785'})
};
fetch('https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pfk' => 'F008785'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food"
payload := strings.NewReader("{\n \"pfk\": \"F008785\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pfk\": \"F008785\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pfk\": \"F008785\"\n}"
response = http.request(request)
puts response.read_body{
"analysed_portion": "100%",
"classification_id": 31102,
"classification_name": "Yeast extracts",
"derivation": "Analysed",
"description": "Commercial, thick dark brown, salty concentrated yeast extract spread made by treating yeast with acid. Contains added salt, and vitamins B1, B2 and B3.",
"fat_factor": 0.8,
"food_group": "Miscellaneous",
"food_group_id": 2,
"inclusions": null,
"measurements": [
{
"amount": 100,
"measurement": "100 g"
},
{
"amount": 1,
"measurement": "Custom (g)"
}
],
"name": "Spread, yeast, vegemite",
"nitrogen_factor": 5.7,
"nutrient_count": 131,
"nutrients": [
{
"category": "Proximates",
"decimal_places": 0,
"name": "Energy, without dietary fibre",
"nutrient_id": "ENERGY-04",
"units": "kJ",
"value_per_100": 631
},
{
"category": "Proximates",
"decimal_places": 0,
"name": "Energy, with dietary fibre",
"nutrient_id": "ENERGY - AHS",
"units": "kJ",
"value_per_100": 683
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Moisture",
"nutrient_id": "MOIS",
"units": "g",
"value_per_100": 40.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Protein",
"nutrient_id": "PROT",
"units": "g",
"value_per_100": 24.4
},
{
"category": "Proximates",
"decimal_places": 2,
"name": "Nitrogen",
"nutrient_id": "NIT",
"units": "g",
"value_per_100": 4.23
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Fat",
"nutrient_id": "FAT",
"units": "g",
"value_per_100": 0.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Ash",
"nutrient_id": "ASH",
"units": "g",
"value_per_100": 14
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Dietary fibre",
"nutrient_id": "AOACDFTOTW",
"units": "g",
"value_per_100": 6.5
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Alcohol",
"nutrient_id": "ETOHM",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Fructose",
"nutrient_id": "FRU",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Glucose",
"nutrient_id": "GLUC",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Sucrose",
"nutrient_id": "SUC",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Maltose",
"nutrient_id": "MALT",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Lactose",
"nutrient_id": "LACT",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Galactose",
"nutrient_id": "GAL",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Total sugars",
"nutrient_id": "TOTALSUGARS",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Added sugars",
"nutrient_id": "ADDSUG",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Free sugars",
"nutrient_id": "FREESUG",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Starch",
"nutrient_id": "STARCH",
"units": "g",
"value_per_100": 9.3
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Available carbohydrate, without sugar alcohols",
"nutrient_id": "AVAILCHO",
"units": "g",
"value_per_100": 10.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Available carbohydrate, with sugar alcohols",
"nutrient_id": "AVAILCHOCNS",
"units": "g",
"value_per_100": 10.9
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Acetic acid",
"nutrient_id": "ACETIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Citric acid",
"nutrient_id": "CITRIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Lactic acid",
"nutrient_id": "LACTIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Malic acid",
"nutrient_id": "MALIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Quinic acid",
"nutrient_id": "QUINIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Aluminium (Al)",
"nutrient_id": "AL",
"units": "ug",
"value_per_100": 263.3
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Arsenic (As)",
"nutrient_id": "AS",
"units": "ug",
"value_per_100": 14.6
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Cadmium (Cd)",
"nutrient_id": "CD",
"units": "ug",
"value_per_100": 0.5
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Calcium (Ca)",
"nutrient_id": "CA",
"units": "mg",
"value_per_100": 68
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Chromium (Cr)",
"nutrient_id": "CR",
"units": "ug",
"value_per_100": 6.4
},
{
"category": "Minerals",
"decimal_places": 3,
"name": "Copper (Cu)",
"nutrient_id": "CU",
"units": "mg",
"value_per_100": 0.251
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Iodine (I)",
"nutrient_id": "I",
"units": "ug",
"value_per_100": 8.8
},
{
"category": "Minerals",
"decimal_places": 2,
"name": "Iron (Fe)",
"nutrient_id": "FE",
"units": "mg",
"value_per_100": 4.03
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Lead (Pb)",
"nutrient_id": "PB",
"units": "ug",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Magnesium (Mg)",
"nutrient_id": "MG",
"units": "mg",
"value_per_100": 130
},
{
"category": "Minerals",
"decimal_places": 3,
"name": "Manganese (Mn)",
"nutrient_id": "MN",
"units": "mg",
"value_per_100": 0.277
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Mercury (Hg)",
"nutrient_id": "HG",
"units": "ug",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Molybdenum (Mo)",
"nutrient_id": "MO",
"units": "ug",
"value_per_100": 46.6
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Phosphorus (P)",
"nutrient_id": "P",
"units": "mg",
"value_per_100": 880
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Potassium (K)",
"nutrient_id": "K",
"units": "mg",
"value_per_100": 2122
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Selenium (Se)",
"nutrient_id": "SE",
"units": "ug",
"value_per_100": 27
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Sodium (Na)",
"nutrient_id": "NA",
"units": "mg",
"value_per_100": 3000
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Sulphur (S)",
"nutrient_id": "S",
"units": "mg",
"value_per_100": 220
},
{
"category": "Minerals",
"decimal_places": 2,
"name": "Zinc (Zn)",
"nutrient_id": "ZN",
"units": "mg",
"value_per_100": 4.26
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Retinol",
"nutrient_id": "RET",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Alpha carotene",
"nutrient_id": "ACAR",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Beta carotene",
"nutrient_id": "BCAR",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Beta carotene equivalents",
"nutrient_id": "BCAREQ-04",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Retinol equivalents",
"nutrient_id": "RETEQ-05",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 3,
"name": "Thiamin (B1)",
"nutrient_id": "B1",
"units": "mg",
"value_per_100": 22.778
},
{
"category": "Vitamins",
"decimal_places": 3,
"name": "Riboflavin (B2)",
"nutrient_id": "B2",
"units": "mg",
"value_per_100": 17.111
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin (B3)",
"nutrient_id": "B3",
"units": "mg",
"value_per_100": 124
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin derived from tryptophan",
"nutrient_id": "NIACIN FROM TRYPTOPHAN",
"units": "mg",
"value_per_100": 4.5
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin derived equivalents",
"nutrient_id": "NIACIN EQUIVALENTS (FOR AHS)",
"units": "mg",
"value_per_100": 128.5
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Pantothenic acid (B5)",
"nutrient_id": "PANT",
"units": "mg",
"value_per_100": 4.6
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Pyridoxine (B6)",
"nutrient_id": "B6",
"units": "mg",
"value_per_100": 0.06
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Cobalamin (B12)",
"nutrient_id": "B12",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Folate, natural",
"nutrient_id": "FOLFD",
"units": "ug",
"value_per_100": 100
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Folic acid",
"nutrient_id": "FOLAC",
"units": "ug",
"value_per_100": 2354
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Total folates",
"nutrient_id": "FOLATETOT",
"units": "ug",
"value_per_100": 2454
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Dietary folate equivalents",
"nutrient_id": "FOLDFE-04",
"units": "ug",
"value_per_100": 4031
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Vitamin C",
"nutrient_id": "VITC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Cholecalciferol (D3)",
"nutrient_id": "CHOOL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Ergocalciferol (D2)",
"nutrient_id": "ERGCAL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "25-OH Cholecalciferol (25-OH D3)",
"nutrient_id": "25HCHOOL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "25-OH Ergocalciferol (25-OH D2)",
"nutrient_id": "25HERGCAL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Vitamin D3 equivalents",
"nutrient_id": "VITAMIND3EQ",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Alpha tocopherol",
"nutrient_id": "ATOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Beta tocopherol",
"nutrient_id": "BTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Delta tocopherol",
"nutrient_id": "DTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Gamma tocopherol",
"nutrient_id": "GTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Vitamin E",
"nutrient_id": "VITE",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total saturated fatty acids (%)",
"nutrient_id": "TOTAL SATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 18.79
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total monounsaturated fatty acids (%)",
"nutrient_id": "TOTAL MONOUNSATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 80.89
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C18:2w6",
"nutrient_id": "P182W6",
"units": "%T",
"value_per_100": 0.3
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C18:3w3",
"nutrient_id": "P183W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C20:5w3",
"nutrient_id": "P205W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C22:5w3",
"nutrient_id": "P225W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C22:6w3",
"nutrient_id": "P226W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total polyunsaturated fatty acids (%)",
"nutrient_id": "TOTAL POLYUNSATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 0.32
},
{
"category": "Fatty acids",
"decimal_places": 3,
"name": "Total long chain omega 3 fatty acids (%)",
"nutrient_id": "LCW3TOTAL",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total saturated fatty acids (g)",
"nutrient_id": "TOTAL SATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0.14
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total monounsaturated fatty acids (g)",
"nutrient_id": "TOTAL MONOUNSATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0.58
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C18:2w6FD",
"nutrient_id": "P182W6FD",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C18:3w3FD",
"nutrient_id": "P183W3FD",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C20:5w3FD",
"nutrient_id": "P205W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C22:5w3FD",
"nutrient_id": "P225W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C22:6w3FD",
"nutrient_id": "P226W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total polyunsaturated fatty acids (g)",
"nutrient_id": "TOTAL POLYUNSATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 3,
"name": "Total long chain omega 3 fatty acids (mg)",
"nutrient_id": "LCW3TOTALFD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "Total trans fatty acids (%)",
"nutrient_id": "TOTTRANS",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total trans fatty acids (mg)",
"nutrient_id": "TOTTRANSFD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Alanine (mg/g N)",
"nutrient_id": "ALA",
"units": "mg/g N",
"value_per_100": 372
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Arginine (mg/g N)",
"nutrient_id": "ARG",
"units": "mg/g N",
"value_per_100": 210
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Aspartic acid (mg/g N)",
"nutrient_id": "ASP",
"units": "mg/g N",
"value_per_100": 541
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Cystine plus cysteine (mg/g N)",
"nutrient_id": "CYS",
"units": "mg/g N",
"value_per_100": 55
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glutamic acid (mg/g N)",
"nutrient_id": "GLU",
"units": "mg/g N",
"value_per_100": 703
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glycine (mg/g N)",
"nutrient_id": "GLY",
"units": "mg/g N",
"value_per_100": 276
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Histidine (mg/g N)",
"nutrient_id": "HIS",
"units": "mg/g N",
"value_per_100": 142
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Isoleucine (mg/g N)",
"nutrient_id": "ILEU",
"units": "mg/g N",
"value_per_100": 289
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Leucine (mg/g N)",
"nutrient_id": "LEU",
"units": "mg/g N",
"value_per_100": 398
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Lysine (mg/g N)",
"nutrient_id": "LYS",
"units": "mg/g N",
"value_per_100": 418
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Methionine (mg/g N)",
"nutrient_id": "MET",
"units": "mg/g N",
"value_per_100": 76
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Phenylalanine (mg/g N)",
"nutrient_id": "PHE",
"units": "mg/g N",
"value_per_100": 233
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Proline (mg/g N)",
"nutrient_id": "PRO",
"units": "mg/g N",
"value_per_100": 209
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Serine (mg/g N)",
"nutrient_id": "SER",
"units": "mg/g N",
"value_per_100": 296
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Threonine (mg/g N)",
"nutrient_id": "THR",
"units": "mg/g N",
"value_per_100": 293
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tryptophan (mg/g N)",
"nutrient_id": "TRYP",
"units": "mg/g N",
"value_per_100": 62
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tyrosine (mg/g N)",
"nutrient_id": "TYR",
"units": "mg/g N",
"value_per_100": 191
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Valine (mg/g N)",
"nutrient_id": "VAL",
"units": "mg/g N",
"value_per_100": 358
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Alanine (mg)",
"nutrient_id": "ALAFD",
"units": "mg",
"value_per_100": 1589
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Arginine (mg)",
"nutrient_id": "ARGFD",
"units": "mg",
"value_per_100": 897
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Aspartic acid (mg)",
"nutrient_id": "ASPFD",
"units": "mg",
"value_per_100": 2311
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Cystine + Cysteine (mg)",
"nutrient_id": "CYSFD",
"units": "mg",
"value_per_100": 235
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glutamic acid (mg)",
"nutrient_id": "GLUFD",
"units": "mg",
"value_per_100": 3003
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glycine (mg)",
"nutrient_id": "GLYFD",
"units": "mg",
"value_per_100": 1179
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Histidine (mg)",
"nutrient_id": "HISFD",
"units": "mg",
"value_per_100": 607
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Isoleucine (mg)",
"nutrient_id": "ILEUFD",
"units": "mg",
"value_per_100": 1234
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Leucine (mg)",
"nutrient_id": "LEUFD",
"units": "mg",
"value_per_100": 1700
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Lysine (mg)",
"nutrient_id": "LYSFD",
"units": "mg",
"value_per_100": 1786
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Methionine (mg)",
"nutrient_id": "METFD",
"units": "mg",
"value_per_100": 325
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Phenylalanine (mg)",
"nutrient_id": "PHEFD",
"units": "mg",
"value_per_100": 995
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Proline (mg)",
"nutrient_id": "PROFD",
"units": "mg",
"value_per_100": 893
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Serine (mg)",
"nutrient_id": "SERFD",
"units": "mg",
"value_per_100": 1264
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Threonine (mg)",
"nutrient_id": "THRFD",
"units": "mg",
"value_per_100": 1252
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tryptophan (mg)",
"nutrient_id": "TRYPFD",
"units": "mg",
"value_per_100": 265
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tyrosine (mg)",
"nutrient_id": "TYRFD",
"units": "mg",
"value_per_100": 816
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Valine (mg)",
"nutrient_id": "VALFD",
"units": "mg",
"value_per_100": 1529
},
{
"category": "Other",
"decimal_places": 0,
"name": "Caffeine",
"nutrient_id": "CAFFEINE",
"units": "mg",
"value_per_100": 0
},
{
"category": "Other",
"decimal_places": 0,
"name": "Cholesterol",
"nutrient_id": "CHOL",
"units": "mg",
"value_per_100": 0
}
],
"observed_at_ms": 1791942985356,
"pfk": "F008785",
"references": [
{
"reference_desc": "Australian Government Analytical Laboratory. (1991) Analysis of Breakfast Cereals. Unpublished, commissioned laboratory report to National Food Authority.",
"reference_id": 46,
"reference_key": "1990 Cereals and cereal products"
},
{
"reference_desc": "Based on the scientific literature and/or product ingredients, the retinol content of these foods is insignificant or zero and has been specified as zero.",
"reference_id": 64,
"reference_key": "Imputed - Retinol"
},
{
"reference_desc": "Based on the scientific literature, the cholesterol content of these foods is insignificant or zero and has been specified as zero.",
"reference_id": 68,
"reference_key": "Imputed - Cholesterol"
},
{
"reference_desc": "National Measurement Institute. (2008) Adult Key Foods Program. Commissioned report to Food Standards Australia New Zealand.",
"reference_id": 168,
"reference_key": "2008 KFP"
},
{
"reference_desc": "National Measurement Institute. (2010) Australian Health Survey Program. Report commissioned by Food Standards Australia New Zealand.",
"reference_id": 170,
"reference_key": "2010 AHS"
}
],
"sampling_details": "The majority of nutrient data were derived from individual and composite samples of 8 purchases of Kraft Vegemite purchased nationally in each state and territory capital city in 2008. Some proximates, vitamins and minerals were also derived from a composite of 5 samples of Kraft Vegemite purchased from five states across Australia in 2010. Folate and folic acid were determined in the 5 individual samples from the 2010 analysis. Retinol, vitamin D and cholesterol were imputed zero. Note that sample is likely to contain carbohydrates not detected with analytical techniques used and were represented by an estimated starch value in this profile.",
"scientific_name": null,
"source_url": "https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/foods/F008785",
"specific_gravity": 0,
"sub_food_group": "Yeast, and yeast vegetable or meat extracts",
"sub_food_group_id": 11,
"unanalysed_portion": "0%",
"url": "https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008785"
}Get food
After search_foods, list_foods_in_group or foods_by_nutrient returned a pfk, or when the user pastes an AFCD food URL. Answers ‘nutrients in Vegemite’ (F008785).
curl --request POST \
--url https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pfk": "F008785"
}
'import requests
url = "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food"
payload = { "pfk": "F008785" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({pfk: 'F008785'})
};
fetch('https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pfk' => 'F008785'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food"
payload := strings.NewReader("{\n \"pfk\": \"F008785\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pfk\": \"F008785\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pfk\": \"F008785\"\n}"
response = http.request(request)
puts response.read_body{
"analysed_portion": "100%",
"classification_id": 31102,
"classification_name": "Yeast extracts",
"derivation": "Analysed",
"description": "Commercial, thick dark brown, salty concentrated yeast extract spread made by treating yeast with acid. Contains added salt, and vitamins B1, B2 and B3.",
"fat_factor": 0.8,
"food_group": "Miscellaneous",
"food_group_id": 2,
"inclusions": null,
"measurements": [
{
"amount": 100,
"measurement": "100 g"
},
{
"amount": 1,
"measurement": "Custom (g)"
}
],
"name": "Spread, yeast, vegemite",
"nitrogen_factor": 5.7,
"nutrient_count": 131,
"nutrients": [
{
"category": "Proximates",
"decimal_places": 0,
"name": "Energy, without dietary fibre",
"nutrient_id": "ENERGY-04",
"units": "kJ",
"value_per_100": 631
},
{
"category": "Proximates",
"decimal_places": 0,
"name": "Energy, with dietary fibre",
"nutrient_id": "ENERGY - AHS",
"units": "kJ",
"value_per_100": 683
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Moisture",
"nutrient_id": "MOIS",
"units": "g",
"value_per_100": 40.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Protein",
"nutrient_id": "PROT",
"units": "g",
"value_per_100": 24.4
},
{
"category": "Proximates",
"decimal_places": 2,
"name": "Nitrogen",
"nutrient_id": "NIT",
"units": "g",
"value_per_100": 4.23
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Fat",
"nutrient_id": "FAT",
"units": "g",
"value_per_100": 0.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Ash",
"nutrient_id": "ASH",
"units": "g",
"value_per_100": 14
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Dietary fibre",
"nutrient_id": "AOACDFTOTW",
"units": "g",
"value_per_100": 6.5
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Alcohol",
"nutrient_id": "ETOHM",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Fructose",
"nutrient_id": "FRU",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Glucose",
"nutrient_id": "GLUC",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Sucrose",
"nutrient_id": "SUC",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Maltose",
"nutrient_id": "MALT",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Lactose",
"nutrient_id": "LACT",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Galactose",
"nutrient_id": "GAL",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Total sugars",
"nutrient_id": "TOTALSUGARS",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Added sugars",
"nutrient_id": "ADDSUG",
"units": "g",
"value_per_100": 0
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Free sugars",
"nutrient_id": "FREESUG",
"units": "g",
"value_per_100": 1.6
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Starch",
"nutrient_id": "STARCH",
"units": "g",
"value_per_100": 9.3
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Available carbohydrate, without sugar alcohols",
"nutrient_id": "AVAILCHO",
"units": "g",
"value_per_100": 10.9
},
{
"category": "Proximates",
"decimal_places": 1,
"name": "Available carbohydrate, with sugar alcohols",
"nutrient_id": "AVAILCHOCNS",
"units": "g",
"value_per_100": 10.9
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Acetic acid",
"nutrient_id": "ACETIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Citric acid",
"nutrient_id": "CITRIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Lactic acid",
"nutrient_id": "LACTIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Malic acid",
"nutrient_id": "MALIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Organic acids",
"decimal_places": 1,
"name": "Quinic acid",
"nutrient_id": "QUINIC",
"units": "g",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Aluminium (Al)",
"nutrient_id": "AL",
"units": "ug",
"value_per_100": 263.3
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Arsenic (As)",
"nutrient_id": "AS",
"units": "ug",
"value_per_100": 14.6
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Cadmium (Cd)",
"nutrient_id": "CD",
"units": "ug",
"value_per_100": 0.5
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Calcium (Ca)",
"nutrient_id": "CA",
"units": "mg",
"value_per_100": 68
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Chromium (Cr)",
"nutrient_id": "CR",
"units": "ug",
"value_per_100": 6.4
},
{
"category": "Minerals",
"decimal_places": 3,
"name": "Copper (Cu)",
"nutrient_id": "CU",
"units": "mg",
"value_per_100": 0.251
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Iodine (I)",
"nutrient_id": "I",
"units": "ug",
"value_per_100": 8.8
},
{
"category": "Minerals",
"decimal_places": 2,
"name": "Iron (Fe)",
"nutrient_id": "FE",
"units": "mg",
"value_per_100": 4.03
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Lead (Pb)",
"nutrient_id": "PB",
"units": "ug",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Magnesium (Mg)",
"nutrient_id": "MG",
"units": "mg",
"value_per_100": 130
},
{
"category": "Minerals",
"decimal_places": 3,
"name": "Manganese (Mn)",
"nutrient_id": "MN",
"units": "mg",
"value_per_100": 0.277
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Mercury (Hg)",
"nutrient_id": "HG",
"units": "ug",
"value_per_100": 0
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Molybdenum (Mo)",
"nutrient_id": "MO",
"units": "ug",
"value_per_100": 46.6
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Phosphorus (P)",
"nutrient_id": "P",
"units": "mg",
"value_per_100": 880
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Potassium (K)",
"nutrient_id": "K",
"units": "mg",
"value_per_100": 2122
},
{
"category": "Minerals",
"decimal_places": 1,
"name": "Selenium (Se)",
"nutrient_id": "SE",
"units": "ug",
"value_per_100": 27
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Sodium (Na)",
"nutrient_id": "NA",
"units": "mg",
"value_per_100": 3000
},
{
"category": "Minerals",
"decimal_places": 0,
"name": "Sulphur (S)",
"nutrient_id": "S",
"units": "mg",
"value_per_100": 220
},
{
"category": "Minerals",
"decimal_places": 2,
"name": "Zinc (Zn)",
"nutrient_id": "ZN",
"units": "mg",
"value_per_100": 4.26
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Retinol",
"nutrient_id": "RET",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Alpha carotene",
"nutrient_id": "ACAR",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Beta carotene",
"nutrient_id": "BCAR",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Beta carotene equivalents",
"nutrient_id": "BCAREQ-04",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Retinol equivalents",
"nutrient_id": "RETEQ-05",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 3,
"name": "Thiamin (B1)",
"nutrient_id": "B1",
"units": "mg",
"value_per_100": 22.778
},
{
"category": "Vitamins",
"decimal_places": 3,
"name": "Riboflavin (B2)",
"nutrient_id": "B2",
"units": "mg",
"value_per_100": 17.111
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin (B3)",
"nutrient_id": "B3",
"units": "mg",
"value_per_100": 124
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin derived from tryptophan",
"nutrient_id": "NIACIN FROM TRYPTOPHAN",
"units": "mg",
"value_per_100": 4.5
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Niacin derived equivalents",
"nutrient_id": "NIACIN EQUIVALENTS (FOR AHS)",
"units": "mg",
"value_per_100": 128.5
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Pantothenic acid (B5)",
"nutrient_id": "PANT",
"units": "mg",
"value_per_100": 4.6
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Pyridoxine (B6)",
"nutrient_id": "B6",
"units": "mg",
"value_per_100": 0.06
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Cobalamin (B12)",
"nutrient_id": "B12",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Folate, natural",
"nutrient_id": "FOLFD",
"units": "ug",
"value_per_100": 100
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Folic acid",
"nutrient_id": "FOLAC",
"units": "ug",
"value_per_100": 2354
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Total folates",
"nutrient_id": "FOLATETOT",
"units": "ug",
"value_per_100": 2454
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Dietary folate equivalents",
"nutrient_id": "FOLDFE-04",
"units": "ug",
"value_per_100": 4031
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Vitamin C",
"nutrient_id": "VITC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Cholecalciferol (D3)",
"nutrient_id": "CHOOL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "Ergocalciferol (D2)",
"nutrient_id": "ERGCAL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "25-OH Cholecalciferol (25-OH D3)",
"nutrient_id": "25HCHOOL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 0,
"name": "25-OH Ergocalciferol (25-OH D2)",
"nutrient_id": "25HERGCAL",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Vitamin D3 equivalents",
"nutrient_id": "VITAMIND3EQ",
"units": "ug",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Alpha tocopherol",
"nutrient_id": "ATOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Beta tocopherol",
"nutrient_id": "BTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Delta tocopherol",
"nutrient_id": "DTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 1,
"name": "Gamma tocopherol",
"nutrient_id": "GTOC",
"units": "mg",
"value_per_100": 0
},
{
"category": "Vitamins",
"decimal_places": 2,
"name": "Vitamin E",
"nutrient_id": "VITE",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total saturated fatty acids (%)",
"nutrient_id": "TOTAL SATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 18.79
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total monounsaturated fatty acids (%)",
"nutrient_id": "TOTAL MONOUNSATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 80.89
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C18:2w6",
"nutrient_id": "P182W6",
"units": "%T",
"value_per_100": 0.3
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C18:3w3",
"nutrient_id": "P183W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C20:5w3",
"nutrient_id": "P205W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C22:5w3",
"nutrient_id": "P225W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "C22:6w3",
"nutrient_id": "P226W3",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total polyunsaturated fatty acids (%)",
"nutrient_id": "TOTAL POLYUNSATURATED FAT - AHS (%)",
"units": "%T",
"value_per_100": 0.32
},
{
"category": "Fatty acids",
"decimal_places": 3,
"name": "Total long chain omega 3 fatty acids (%)",
"nutrient_id": "LCW3TOTAL",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total saturated fatty acids (g)",
"nutrient_id": "TOTAL SATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0.14
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total monounsaturated fatty acids (g)",
"nutrient_id": "TOTAL MONOUNSATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0.58
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C18:2w6FD",
"nutrient_id": "P182W6FD",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C18:3w3FD",
"nutrient_id": "P183W3FD",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C20:5w3FD",
"nutrient_id": "P205W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C22:5w3FD",
"nutrient_id": "P225W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "C22:6w3FD",
"nutrient_id": "P226W3FD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total polyunsaturated fatty acids (g)",
"nutrient_id": "TOTAL POLYUNSATURATED FAT - AHS (FD)",
"units": "g",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 3,
"name": "Total long chain omega 3 fatty acids (mg)",
"nutrient_id": "LCW3TOTALFD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 1,
"name": "Total trans fatty acids (%)",
"nutrient_id": "TOTTRANS",
"units": "%T",
"value_per_100": 0
},
{
"category": "Fatty acids",
"decimal_places": 2,
"name": "Total trans fatty acids (mg)",
"nutrient_id": "TOTTRANSFD",
"units": "mg",
"value_per_100": 0
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Alanine (mg/g N)",
"nutrient_id": "ALA",
"units": "mg/g N",
"value_per_100": 372
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Arginine (mg/g N)",
"nutrient_id": "ARG",
"units": "mg/g N",
"value_per_100": 210
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Aspartic acid (mg/g N)",
"nutrient_id": "ASP",
"units": "mg/g N",
"value_per_100": 541
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Cystine plus cysteine (mg/g N)",
"nutrient_id": "CYS",
"units": "mg/g N",
"value_per_100": 55
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glutamic acid (mg/g N)",
"nutrient_id": "GLU",
"units": "mg/g N",
"value_per_100": 703
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glycine (mg/g N)",
"nutrient_id": "GLY",
"units": "mg/g N",
"value_per_100": 276
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Histidine (mg/g N)",
"nutrient_id": "HIS",
"units": "mg/g N",
"value_per_100": 142
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Isoleucine (mg/g N)",
"nutrient_id": "ILEU",
"units": "mg/g N",
"value_per_100": 289
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Leucine (mg/g N)",
"nutrient_id": "LEU",
"units": "mg/g N",
"value_per_100": 398
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Lysine (mg/g N)",
"nutrient_id": "LYS",
"units": "mg/g N",
"value_per_100": 418
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Methionine (mg/g N)",
"nutrient_id": "MET",
"units": "mg/g N",
"value_per_100": 76
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Phenylalanine (mg/g N)",
"nutrient_id": "PHE",
"units": "mg/g N",
"value_per_100": 233
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Proline (mg/g N)",
"nutrient_id": "PRO",
"units": "mg/g N",
"value_per_100": 209
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Serine (mg/g N)",
"nutrient_id": "SER",
"units": "mg/g N",
"value_per_100": 296
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Threonine (mg/g N)",
"nutrient_id": "THR",
"units": "mg/g N",
"value_per_100": 293
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tryptophan (mg/g N)",
"nutrient_id": "TRYP",
"units": "mg/g N",
"value_per_100": 62
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tyrosine (mg/g N)",
"nutrient_id": "TYR",
"units": "mg/g N",
"value_per_100": 191
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Valine (mg/g N)",
"nutrient_id": "VAL",
"units": "mg/g N",
"value_per_100": 358
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Alanine (mg)",
"nutrient_id": "ALAFD",
"units": "mg",
"value_per_100": 1589
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Arginine (mg)",
"nutrient_id": "ARGFD",
"units": "mg",
"value_per_100": 897
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Aspartic acid (mg)",
"nutrient_id": "ASPFD",
"units": "mg",
"value_per_100": 2311
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Cystine + Cysteine (mg)",
"nutrient_id": "CYSFD",
"units": "mg",
"value_per_100": 235
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glutamic acid (mg)",
"nutrient_id": "GLUFD",
"units": "mg",
"value_per_100": 3003
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Glycine (mg)",
"nutrient_id": "GLYFD",
"units": "mg",
"value_per_100": 1179
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Histidine (mg)",
"nutrient_id": "HISFD",
"units": "mg",
"value_per_100": 607
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Isoleucine (mg)",
"nutrient_id": "ILEUFD",
"units": "mg",
"value_per_100": 1234
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Leucine (mg)",
"nutrient_id": "LEUFD",
"units": "mg",
"value_per_100": 1700
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Lysine (mg)",
"nutrient_id": "LYSFD",
"units": "mg",
"value_per_100": 1786
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Methionine (mg)",
"nutrient_id": "METFD",
"units": "mg",
"value_per_100": 325
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Phenylalanine (mg)",
"nutrient_id": "PHEFD",
"units": "mg",
"value_per_100": 995
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Proline (mg)",
"nutrient_id": "PROFD",
"units": "mg",
"value_per_100": 893
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Serine (mg)",
"nutrient_id": "SERFD",
"units": "mg",
"value_per_100": 1264
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Threonine (mg)",
"nutrient_id": "THRFD",
"units": "mg",
"value_per_100": 1252
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tryptophan (mg)",
"nutrient_id": "TRYPFD",
"units": "mg",
"value_per_100": 265
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Tyrosine (mg)",
"nutrient_id": "TYRFD",
"units": "mg",
"value_per_100": 816
},
{
"category": "Amino acids",
"decimal_places": 0,
"name": "Valine (mg)",
"nutrient_id": "VALFD",
"units": "mg",
"value_per_100": 1529
},
{
"category": "Other",
"decimal_places": 0,
"name": "Caffeine",
"nutrient_id": "CAFFEINE",
"units": "mg",
"value_per_100": 0
},
{
"category": "Other",
"decimal_places": 0,
"name": "Cholesterol",
"nutrient_id": "CHOL",
"units": "mg",
"value_per_100": 0
}
],
"observed_at_ms": 1791942985356,
"pfk": "F008785",
"references": [
{
"reference_desc": "Australian Government Analytical Laboratory. (1991) Analysis of Breakfast Cereals. Unpublished, commissioned laboratory report to National Food Authority.",
"reference_id": 46,
"reference_key": "1990 Cereals and cereal products"
},
{
"reference_desc": "Based on the scientific literature and/or product ingredients, the retinol content of these foods is insignificant or zero and has been specified as zero.",
"reference_id": 64,
"reference_key": "Imputed - Retinol"
},
{
"reference_desc": "Based on the scientific literature, the cholesterol content of these foods is insignificant or zero and has been specified as zero.",
"reference_id": 68,
"reference_key": "Imputed - Cholesterol"
},
{
"reference_desc": "National Measurement Institute. (2008) Adult Key Foods Program. Commissioned report to Food Standards Australia New Zealand.",
"reference_id": 168,
"reference_key": "2008 KFP"
},
{
"reference_desc": "National Measurement Institute. (2010) Australian Health Survey Program. Report commissioned by Food Standards Australia New Zealand.",
"reference_id": 170,
"reference_key": "2010 AHS"
}
],
"sampling_details": "The majority of nutrient data were derived from individual and composite samples of 8 purchases of Kraft Vegemite purchased nationally in each state and territory capital city in 2008. Some proximates, vitamins and minerals were also derived from a composite of 5 samples of Kraft Vegemite purchased from five states across Australia in 2010. Folate and folic acid were determined in the 5 individual samples from the 2010 analysis. Retinol, vitamin D and cholesterol were imputed zero. Note that sample is likely to contain carbohydrates not detected with analytical techniques used and were represented by an estimated starch value in this profile.",
"scientific_name": null,
"source_url": "https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/foods/F008785",
"specific_gravity": 0,
"sub_food_group": "Yeast, and yeast vegetable or meat extracts",
"sub_food_group_id": 11,
"unanalysed_portion": "0%",
"url": "https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008785"
}请求规范
- 方法与路径: POST /apis/v1/afcd-foodstandards-gov-au/foods/get-food
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food
{
"operationId": "afcd-foodstandards-gov-au.foods.get-food",
"method": "POST",
"path": "/apis/v1/afcd-foodstandards-gov-au/foods/get-food",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"pfk": "F008785"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"pfk": {
"description": "Public Food Key such as F008785 (Vegemite); case-insensitive. Give either pfk or url. Pattern: ^[Ff][0-9]{6}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"url": {
"description": "An AFCD food page URL (https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008785) or legacy link (https://afcd.foodstandards.gov.au/foodDetails.aspx?PFKID=F008785).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
An AFCD food page URL (https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/F008785) or legacy link (https://afcd.foodstandards.gov.au/foodDetails.aspx?PFKID=F008785).
响应
The complete AFCD record of one food by Public Food Key (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/foods/{pfk}; also accepts a pasted AFCD food page URL or a legacy afcd.foodstandards.gov.au/foodDetails.aspx?PFKID= link). Returns identity (name, description, inclusions, scientific name, AUSNUT classification, food group and sub food group), derivation and sampling notes, conversion factors, every nutrient with its raw value per 100 g, unit and the decimal places the site displays, grouped by category (Proximates, Minerals, Vitamins, Fatty acids, Amino acids, Organic acids, Other), the measurement options and the data references. Missing optional fields are null. An unknown key is not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
analysed_portion | string | Share of the nutrient profile that was analysed, as AFCD states it (e.g. '100%'); null when none. |
classification_id | number | Five-digit AUSNUT food classification code. |
classification_name | string | Name of the AUSNUT classification; null when AFCD gives none. |
derivation | string | How the nutrient profile was derived: Analysed, Borrowed, Estimated, Imputed, Label Data or Recipe. |
description | string | AFCD description of the food; null when AFCD gives none. |
fat_factor | number | Fatty-acid conversion factor; null when AFCD gives none. |
food_group | string | AFCD food group name (e.g. 'Cereals and cereal products'). |
food_group_id | number | AFCD food group id (1-22, see list_food_groups). |
inclusions | string | Alternative names / included items; null when AFCD gives none. |
measurements | object[] | Measurement options the AFCD site offers for scaling values. |
name | string | Food name as AFCD states it. |
nitrogen_factor | number | Nitrogen-to-protein conversion factor; null when AFCD gives none. |
nutrient_count | number | Number of nutrient values in nutrients. |
nutrients | object[] | Every nutrient AFCD reports for the food, in AFCD's category and display order. |
observed_at_ms | number | Unix milliseconds when this program read the AFCD API. |
pfk | string | Public Food Key, the AFCD food identifier (F followed by six digits, e.g. F008785 Vegemite). |
references | object[] | Data sources AFCD cites for this food (may be empty). |
sampling_details | string | AFCD sampling and derivation notes (which samples, which values were borrowed or imputed); null when none. |
scientific_name | string | Scientific (Latin) name; null when AFCD gives none. |
source_url | string | The AFCD API URL this answer was read from. |
specific_gravity | number | Specific gravity (0 when not applicable); null when AFCD gives none. |
sub_food_group | string | AFCD sub food group name. |
sub_food_group_id | number | AFCD sub food group id (unique across groups, see list_food_groups). |
unanalysed_portion | string | Share of the profile that was not analysed (e.g. '0%'); null when none. |
url | string | Public AFCD food page: https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/food/{pfk}. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.