[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [USDA food nutrition details](https://spiral.ai/integrations/zapier/usda-food-nutrition-details)

# How to Use USDA food nutrition details in Zapier

Returns one food’s nutrient values, units, portions, and available source details from FoodData Central. Use it to inspect a specific food record before comparing foods or calculating recipe nutrients.

|  |  |
| --- | --- |
| Model | USDA food nutrition details |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with USDA food nutrition details in Zapier

- Each month, use USDA food nutrition details for food 2705709 and report any differences from the previous run in nutrients, units, or available portions.
- Every Monday at 9am: use USDA food nutrition details to look this up and give me the result as a table.
- Pull the latest numbers from USDA food nutrition details and tell me what changed since last week.
- Check USDA food nutrition details and summarize what you find in three bullet points.
- Pull the newest data from USDA food nutrition details and give me the result as a table.

## How to set up USDA food nutrition details in Zapier

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

### Use the Spiral skill

1. **Send Zapier 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. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run USDA food nutrition details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds USDA food nutrition details, prices it and runs it each time the step fires.

### 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 USDA food nutrition details**: 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": "fdc-nal-usda-gov/foods/get_food",
    "input": {
      "fdc_id": 1
    }
  }'
```

Then paste one of the prompts above: Zapier finds USDA food nutrition details on Spiral, shows the price and runs it.

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

## USDA food nutrition details tools and prices

- [USDA FoodData Central (fdc.nal.usda.gov) · Get food](https://spiral.ai/tools/alexandria/fdc-nal-usda-gov/foods/get_food) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A food page URL such as https://fdc.nal.usda.gov/food-details/328637/nutrients. |
| fdc_id | 1 to … | — | FoodData Central id (e.g. 328637 Cheese, cheddar; 2705709 Survey cheddar; 2672832 a Branded cracker). Give either fdc_id or url. |

## What can you do with USDA food nutrition details in Zapier?

Produce a recurring USDA reference report for food buyers or menu researchers. Scheduled agents can compare successive food records, category references, nutrient definitions, and ranking results while respecting the source's update cadence.

### Cafeteria ingredient substitution research

Find candidate foods by sodium content, match their descriptions, and inspect complete records. Use nutrient definitions and food categories to organize a comparison of substitutes within the same type of food.

### Plant protein ingredient comparison

Discover foods ranked by reported protein, locate lentil, bean, tofu, and grain records, and compare their nutrient details. Resolve nutrient units and category labels before preparing a purchasing research table.

### Fortified staple food research

Build a reference comparison of enriched and unenriched flour or rice. Resolve the iron definition, discover candidate foods by iron content, verify descriptions, and organize detailed records by USDA category.

### Food comparison teaching tool

Build a classroom explorer with food search, category navigation, nutrient definitions, nutrient rankings, and individual food records. Let students investigate how the chosen food and nutrient change a comparison.

### Recipe ingredient reference sheet

Match oats, milk, nuts, and other recipe ingredients to USDA foods, then collect their nutrient values and available portions in a source-linked reference sheet.

### Packaged product comparison

Find specific packaged foods by name or GTIN and inspect their nutrient and label data. Prepare a comparison for a food buyer using the selected USDA records.

## Overview

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

## USDA food nutrition details in other agents

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

## More Zapier guides

- [USDA food categories](https://spiral.ai/integrations/zapier/usda-food-categories)
- [USDA food search](https://spiral.ai/integrations/zapier/usda-food-search)
- [USCG PSIX vessel search](https://spiral.ai/integrations/zapier/uscg-psix-vessel-search)
- [USDA foods ranked by nutrient](https://spiral.ai/integrations/zapier/usda-foods-ranked-by-nutrient)
- [USCG PSIX vessel register](https://spiral.ai/integrations/zapier/uscg-psix-vessel-register)
- [USDA nutrient reference](https://spiral.ai/integrations/zapier/usda-nutrient-reference)

## Questions about USDA food nutrition details in Zapier

**Can Zapier use USDA food nutrition details?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run USDA food nutrition details like any built-in tool.

**How much does USDA food nutrition details cost in Zapier?**

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

**Do I need an Alexandria account to use USDA food nutrition details in Zapier?**

No. Spiral runs USDA food nutrition details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up USDA food nutrition details in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while USDA food nutrition details runs?**

USDA food nutrition details runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**How often does USDA update FoodData Central?**

Branded Foods data updates monthly through the API. SR Legacy is a fixed historical reference whose final release was April 2018.

**What does Foundation Foods cover?**

Foundation Foods covers commodity and minimally processed food samples. Its metadata helps explain variation between analyzed samples.

**Does USDA use one category system for every food?**

No. Each FoodData Central data type uses a categorization system developed for its own purpose, so category labels should be interpreted within that data type.

**Can I find a packaged food by its barcode?**

FoodData Central supports searching by GTIN as well as food name. It also supports NDB numbers and FNDDS food codes for the relevant data types.

**What information can I inspect behind a nutrient value?**

A food record can include data points, minimum, maximum, median, derivation details, and portions. Which details are available depends on the selected record.

