Australian Food Composition Database (AFCD, FSANZ) API

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

Add the Firecrawl plugin to ChatGPT 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 ChatGPT, add the Firecrawl plugin to ChatGPT, 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 ChatGPT and Codex, and you set it up once.

ChatGPT 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).

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, 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 ChatGPT?

  1. Install the Firecrawl plugin

    Open the Firecrawl listing in ChatGPT's plugin directory and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

    The Firecrawl plugin page in ChatGPT with the Install plugin button
  2. Connect your Firecrawl account

    ChatGPT opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl
  3. Attach Firecrawl to a chat

    Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

    ChatGPT's + menu with the Firecrawl plugin listed
  4. Ask ChatGPT for the data

    Ask in plain language and mention Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria. ChatGPT finds the Australian Food Composition Database (AFCD, FSANZ) capability that fits and runs it. 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 ChatGPT 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).

ChatGPT 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 ChatGPT?

Name Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria in the prompt so ChatGPT reaches for it. Each example opens in ChatGPT with the prompt filled in.

Troubleshooting

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

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name Australian Food Composition Database (AFCD, FSANZ) or Firecrawl Alexandria in the prompt.

How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

Why does ChatGPT say Australian Food Composition Database (AFCD, FSANZ) isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

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 ChatGPT

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 ChatGPT, 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. ChatGPT 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 ChatGPT?

ChatGPT 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 ChatGPT unlock?

ChatGPT 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, ChatGPT 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 ChatGPT?

No. ChatGPT 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 ChatGPT?

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 ChatGPT, and finding the right capability is free.

Can ChatGPT 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 Claude, Cursor, Grok Bot, 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