Australian Food Composition Database (AFCD, FSANZ) API

How to connect Australian Food Composition Database (AFCD, FSANZ) to Grok Bot

Add the Firecrawl plugin to Grok Bot once and it can call the Australian Food Composition Database (AFCD, FSANZ) API and every other provider in Firecrawl Alexandria, with no Australian Food Composition Database (AFCD, FSANZ) integration code.

Open Markdown

To connect Australian Food Composition Database (AFCD, FSANZ) to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for Australian Food Composition Database (AFCD, FSANZ) data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses Australian Food Composition Database (AFCD, FSANZ) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Australian Food Composition Database (AFCD, FSANZ).

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect Australian Food Composition Database (AFCD, FSANZ) to Grok Bot?

  1. Add the Firecrawl plugin

    In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

    Grok Bot's Connect Apps window with Firecrawl and its Connect button
  2. Connect your Firecrawl account

    Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button
  3. Ask your Bot for the data

    In a chat, ask in plain language and mention Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

    Use Firecrawl to run Australian Food Composition Database (AFCD, FSANZ)'s Foods by nutrient capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

What can Grok Bot do with Australian Food Composition Database (AFCD, FSANZ)?

Food Standards Australia New Zealand's Australian Food Composition Database (AFCD Release 3.0, December 2025), the reference nutrient database for Australia: about 1,600 foods with up to 268 nutrients each (proximates, minerals, vitamins, fatty acids, amino acids, organic acids) per 100 g, with derivation and sampling notes, AUSNUT classification and food groups. Food search by name, letter or group, the complete nutrient profile of one food by Public Food Key, the food group hierarchy, the foods of a sub group, the nutrient catalogue and every food ranked by one nutrient. Anonymous JSON API behind the public AFCD search pages on www.foodstandards.gov.au (afcd.foodstandards.gov.au redirects there). Licence: CC BY 4.0, attribution 'Food Standards Australia New Zealand'; some borrowed values cite third-party sources (USDA, NZ FCD).

Grok Bot can run any of Australian Food Composition Database (AFCD, FSANZ)'s 6 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Foods by nutrient: Every AFCD food's amount of one nutrient (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/nutrients/{nutrient_id}): the nutrient's metadata and 1,588 rows of pfk, name, inclusions and value per 100 g, which the program sorts (by value descending by default), optionally narrows with a name `query` and/or a food group / sub food group (joining the food catalogue, GET /foods/alphabetical, which also fills the group fields of each row) and pages. Rows carry the public food page URL. An unknown nutrient code is `not_found` (use list_nutrients); a filter nothing matches is an empty list. Costs 5 Firecrawl credits per call.
  • Get food: 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`. Costs 5 Firecrawl credits per call.
  • List food groups: The AFCD food group hierarchy (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/food-groups/hierarchy): the 22 food groups with their sub food groups and the number of foods in each. The ids are the `food_group_id` / `sub_food_group_id` filters of search_foods and foods_by_nutrient and the path of list_foods_in_group. Costs 5 Firecrawl credits per call.
  • List foods in group: The foods AFCD files under one sub food group (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/food-groups/{food_group_id}/{sub_food_group_id}), with each food's description, inclusions, scientific name, classification, derivation, sampling notes and conversion factors (no nutrient values: use get_food). Paged client-side; the API returns the whole group. An existing sub group with no foods returns an empty list; an unknown group / sub group pair is `not_found`. Costs 5 Firecrawl credits per call.
  • List nutrients: The AFCD nutrient catalogue (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/nutrients): 7 categories and 266 nutrients with code, name, definition / method note, unit, display decimals and order. `query` filters by code or name (case-insensitive substring) and `category_id` by category; both are applied by the program. The codes are the `nutrient_id` of foods_by_nutrient and of the rows get_food returns. An empty filter result is an empty list; an unknown category_id is `not_found`. Costs 5 Firecrawl credits per call.
  • Search foods: Search the Australian Food Composition Database (AFCD Release 3.0, Food Standards Australia New Zealand) for foods by name (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/foods/alphabetical, the complete catalogue of 1,588 foods, or /foods/alphabetical/{letter} when `letter` is given). AFCD has no server-side search: the program applies `query` as a case-insensitive substring match over the food name and its `inclusions` (alternative names), exactly as the AFCD site does, then filters by food group / sub food group and pages the result. Each row carries the Public Food Key (pfk) for get_food, the AUSNUT classification code, the food group pair and the public food page URL. Returns an empty `foods` list for a query nothing matches; `not_found` for a food_group_id / sub_food_group_id that does not exist in AFCD or a page past the last one. Costs 5 Firecrawl credits per call.

What should I ask Grok Bot?

Name Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

  • Use Firecrawl to run Australian Food Composition Database (AFCD, FSANZ)'s Foods by nutrient capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
  • Use Firecrawl to run Australian Food Composition Database (AFCD, FSANZ)'s Get food capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
  • Use Firecrawl to run Australian Food Composition Database (AFCD, FSANZ)'s List food groups capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
  • Use Firecrawl to run Australian Food Composition Database (AFCD, FSANZ)'s List foods in group capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

Troubleshooting

Why doesn't my Bot use Australian Food Composition Database (AFCD, FSANZ)?

Attach Firecrawl to the chat with @ before you ask, and name Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria in the prompt.

Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

Use Australian Food Composition Database (AFCD, FSANZ) in other AI apps

The same Firecrawl account reaches Australian Food Composition Database (AFCD, FSANZ) from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Grok Bot

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Australian Food Composition Database (AFCD, FSANZ) among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a Australian Food Composition Database (AFCD, FSANZ) MCP server for Grok Bot?

Grok Bot reaches Australian Food Composition Database (AFCD, FSANZ) through Firecrawl's hosted MCP server, which serves Australian Food Composition Database (AFCD, FSANZ) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Australian Food Composition Database (AFCD, FSANZ).

What does connecting Australian Food Composition Database (AFCD, FSANZ) to Grok Bot unlock?

Grok Bot can run all 6 of Australian Food Composition Database (AFCD, FSANZ)'s capabilities, including Foods by nutrient, Get food and List food groups, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Grok Bot can combine Australian Food Composition Database (AFCD, FSANZ) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own Australian Food Composition Database (AFCD, FSANZ) account or API key to use it in Grok Bot?

No. Grok Bot calls Australian Food Composition Database (AFCD, FSANZ) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Australian Food Composition Database (AFCD, FSANZ) account or API key.

How much does it cost to use Australian Food Composition Database (AFCD, FSANZ) in Grok Bot?

Each Australian Food Composition Database (AFCD, FSANZ) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.

Can Grok Bot use other providers besides Australian Food Composition Database (AFCD, FSANZ)?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use Australian Food Composition Database (AFCD, FSANZ) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Australian Food Composition Database (AFCD, FSANZ) capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options