[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [AFCD foods in a category](https://spiral.ai/integrations/dots/afcd-foods-in-a-category)

# How to Use AFCD foods in a category in dots

Returns the foods in an AFCD category with their provenance notes. Use it to assemble a category inventory, such as ready-to-eat breakfast cereals, before examining nutrient profiles.

|  |  |
| --- | --- |
| Model | AFCD foods in a category |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with AFCD foods in a category in dots

- Each month, use AFCD foods in a category to review ready-to-eat breakfast cereals and report added or removed entries compared with your previous observation.
- Every Monday at 9am: use AFCD foods in a category to look this up and give me the result as a table.
- Pull the latest numbers from AFCD foods in a category and tell me what changed since last week.
- Check AFCD foods in a category and summarize what you find in three bullet points.
- Pull the newest data from AFCD foods in a category and give me the result as a table.

## How to set up AFCD foods in a category in dots

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send dots this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run AFCD foods in a category**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "afcd-foodstandards-gov-au/foods/list_foods_in_group",
    "input": {
      "food_group_id": 1,
      "sub_food_group_id": 1
    }
  }'
```

Then paste one of the prompts above: dots finds AFCD foods in a category on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/dots

## AFCD foods in a category tools and prices

- [Australian Food Composition Database (AFCD, FSANZ) · List foods in group](https://spiral.ai/tools/alexandria/afcd-foodstandards-gov-au/foods/list_foods_in_group) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to … | 1 | 1-based page of the client-side paginated result (the API returns the whole list). |
| page_size | 1 to 200 | 50 | Rows per page (1-200). |

## What can you do with AFCD foods in a category in dots?

Keep an Australian food reference collection ready for editorial or product review. A scheduled agent can compare AFCD categories, definitions, and selected food records across retrievals and report the differences.

### Compare breakfast cereals

Identify the ready-to-eat cereal category, list its foods, and resolve named cereals. Check nutrient definitions, rank the entries by iron, and inspect the selected food profiles and sampling notes.

### Build a cheese reformulation reference

Find AFCD's cheese categories and enumerate the reference foods. Match named cheese types, check sodium definitions and units, then compare sodium values and inspect the underlying profiles.

### Match recipe ingredients to reference foods

Map ingredients such as rolled oats, milk, and almonds to AFCD descriptions. Browse the relevant categories when names are ambiguous, then inspect preparation details and nutrient profiles before calculating recipe estimates.

### Create an Australian food reference browser

Use the category hierarchy and category inventories for navigation, food search for lookup, nutrient definitions for explanations, nutrient comparisons for sorting, and individual profiles for the detail view.

### Review changes to a food reference collection

Periodically compare retrieved categories, food inventories, nutrient definitions, rankings, and selected profiles with earlier observations. Produce a review queue when AFCD descriptions or values change.

### Review the evidence behind category comparisons

List foods in a category, resolve ambiguous names, and inspect selected derivation and sampling notes. Explain which comparisons rely on analyzed foods and which involve calculated or borrowed data.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All dots guides](https://spiral.ai/integrations/dots)

## AFCD foods in a category in other agents

- [Amp](https://spiral.ai/integrations/amp/afcd-foods-in-a-category)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/afcd-foods-in-a-category)
- [Claude](https://spiral.ai/integrations/claude-desktop/afcd-foods-in-a-category)
- [Claude Code](https://spiral.ai/integrations/claude-code/afcd-foods-in-a-category)
- [Cline](https://spiral.ai/integrations/cline/afcd-foods-in-a-category)
- [Codex](https://spiral.ai/integrations/codex/afcd-foods-in-a-category)
- [Cursor](https://spiral.ai/integrations/cursor/afcd-foods-in-a-category)
- [Devin](https://spiral.ai/integrations/devin/afcd-foods-in-a-category)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/afcd-foods-in-a-category)
- [Gemini](https://spiral.ai/integrations/gemini/afcd-foods-in-a-category)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/afcd-foods-in-a-category)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/afcd-foods-in-a-category)
- [goose](https://spiral.ai/integrations/goose/afcd-foods-in-a-category)
- [Grok](https://spiral.ai/integrations/grok/afcd-foods-in-a-category)
- [Grok Build](https://spiral.ai/integrations/grok-build/afcd-foods-in-a-category)
- [Hermes](https://spiral.ai/integrations/hermes/afcd-foods-in-a-category)
- [Instinct](https://spiral.ai/integrations/instinct/afcd-foods-in-a-category)
- [Manus](https://spiral.ai/integrations/manus/afcd-foods-in-a-category)
- [Muse](https://spiral.ai/integrations/muse/afcd-foods-in-a-category)
- [Muse Code](https://spiral.ai/integrations/muse-code/afcd-foods-in-a-category)
- [n8n](https://spiral.ai/integrations/n8n/afcd-foods-in-a-category)
- [Notion](https://spiral.ai/integrations/notion/afcd-foods-in-a-category)
- [OpenClaw](https://spiral.ai/integrations/openclaw/afcd-foods-in-a-category)
- [opencode](https://spiral.ai/integrations/opencode/afcd-foods-in-a-category)
- [Perplexity](https://spiral.ai/integrations/perplexity/afcd-foods-in-a-category)
- [Raycast](https://spiral.ai/integrations/raycast/afcd-foods-in-a-category)
- [VS Code](https://spiral.ai/integrations/vscode/afcd-foods-in-a-category)
- [Windsurf](https://spiral.ai/integrations/windsurf/afcd-foods-in-a-category)
- [Zapier](https://spiral.ai/integrations/zapier/afcd-foods-in-a-category)

## More dots guides

- [AFCD foods by nutrient](https://spiral.ai/integrations/dots/afcd-foods-by-nutrient)
- [AFCD nutrient definitions](https://spiral.ai/integrations/dots/afcd-nutrient-definitions)
- [AFCD food search](https://spiral.ai/integrations/dots/afcd-food-search)
- [AUC current applications](https://spiral.ai/integrations/dots/auc-current-applications)
- [AFCD food nutrient profile](https://spiral.ai/integrations/dots/afcd-food-nutrient-profile)
- [AUC decision and notice text](https://spiral.ai/integrations/dots/auc-decision-and-notice-text)

## Questions about AFCD foods in a category in dots

**Can dots use AFCD foods in a category?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run AFCD foods in a category like any built-in tool.

**How much does AFCD foods in a category cost in dots?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

**Do I need an Alexandria account to use AFCD foods in a category in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs AFCD foods in a category on its own Alexandria account.

**How long does it take to set up AFCD foods in a category in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while AFCD foods in a category runs?**

AFCD foods in a category runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**Which foods does AFCD cover?**

AFCD covers 1,588 foods commonly available in Australia. Its coverage is a reference selection of Australian foods, rather than a complete inventory of products sold worldwide.

**How many nutrients can AFCD describe?**

AFCD reports up to 268 nutrients per food. The nutrient documentation explains the units, derivation, assumptions, and limitations used for those components.

**What changed in the latest AFCD dataset?**

Release 3 incorporated new analytical data for 118 foods and an updated vitamin D dataset. That update describes the dataset as a whole; individual sampling notes provide the evidence behind a particular food.

**Are all AFCD values laboratory measurements?**

Laboratory analysis is the primary source, but a food's derivation can also identify calculated, borrowed, or label-based data. Sampling notes can include how many samples were purchased and where and when they were purchased.

**Are nutrient comparisons based on serving size?**

AFCD's nutrient comparison tables report values per 100 g. A ranking therefore compares equal food weights, which can differ substantially from the amounts someone would serve.

