[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [FRED related categories](https://spiral.ai/integrations/n8n/fred-related-categories)

# How to Use FRED related categories in n8n

Returns FRED's cross-links between categories outside the parent-child hierarchy. Use it to find another route into a topic; most categories have no related categories.

|  |  |
| --- | --- |
| Model | FRED related categories |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with FRED related categories in n8n

- Every Monday at 9am: use FRED related categories to look this up and give me the result as a table.
- Pull the latest numbers from FRED related categories and tell me what changed since last week.
- Check FRED related categories and summarize what you find in three bullet points.
- Pull the newest data from FRED related categories and give me the result as a table.
- Check FRED related categories every morning and tell me only when something changed.

## How to set up FRED related categories in n8n

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

### Use the Spiral skill

1. **Send n8n 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 a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

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

4. **Run FRED related categories in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds FRED related categories, 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 FRED related categories**: 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": "fred/categories/related",
    "input": {
      "category_id": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds FRED related categories on Spiral, shows the price and runs it.

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

## FRED related categories tools and prices

- [FRED · Related categories](https://spiral.ai/tools/alexandria/fred/categories/related) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| realtime_end |  | — | End of the real-time period, YYYY-MM-DD. Defaults to today. Set 9999-12-31 for the full revision history. |
| realtime_start |  | — | Start of the real-time period, YYYY-MM-DD. Defaults to today, which means the current vintage only. Set 1776-07-04 for the full revision history. Setting one bound implies the other. |

## What can you do with FRED related categories in n8n?

Prepare a fresh FRED research agenda for a recurring economics review. A scheduled agent can inspect the current catalog and suggest topics or candidate measures without treating catalog metadata as newly released economic values.

### Prepare an economic research outline

Identify a topic, examine its subtopics and cross-links, then inspect series descriptions and tags to decide which measures deserve further research.

### Plan a trade indicators briefing

Explore international transactions by category, inspect available series, and use tag combinations to narrow the briefing's scope.

### Teach economic data discovery

Walk students through category navigation, cross-links, series descriptions, and tag intersections before selecting indicators for a classroom exercise.

### Scope a regional economics study

Inspect regional categories and any cross-links, review candidate series, and examine geographic tags to define the study's coverage.

### Resolve a category reference

Confirm a category's name and parent, inspect its immediate children, and distinguish hierarchy links from directional related-category links.

## Overview

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

## FRED related categories in other agents

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

## More n8n guides

- [FRED recently updated series](https://spiral.ai/integrations/n8n/fred-recently-updated-series)
- [FRED related release tags](https://spiral.ai/integrations/n8n/fred-related-release-tags)
- [FRED publisher releases](https://spiral.ai/integrations/n8n/fred-publisher-releases)
- [FRED related search tags](https://spiral.ai/integrations/n8n/fred-related-search-tags)
- [FRED publisher directory](https://spiral.ai/integrations/n8n/fred-publisher-directory)
- [FRED related tags](https://spiral.ai/integrations/n8n/fred-related-tags)

## Questions about FRED related categories in n8n

**Can n8n use FRED related categories?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run FRED related categories like any built-in tool.

**How much does FRED related categories cost in n8n?**

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

**Do I need an Alexandria account to use FRED related categories in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs FRED related categories on its own Alexandria account.

**How long does it take to set up FRED related categories in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while FRED related categories runs?**

FRED related categories runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does FRED cover only U.S. economic data?**

No. FRED includes economic series from national and international sources, including both public and private organizations.

**Who originally publishes the data in FRED?**

FRED aggregates data from many organizations. Its sources include the Bureau of Economic Analysis, Bureau of Labor Statistics, and U.S. Census Bureau.

**Do category lookups return economic measurements?**

These category tools return catalog information: categories, series descriptions, and tags. FRED provides observation values through a separate series observations request.

**How does FRED publish revisions?**

FRED displays a source's latest series version after validation. The version it replaces is archived in ALFRED.

**What checks does FRED perform before adding data?**

FRED checks downloads against existing series and verifies frequency, date formats, and value formats. Unexpected values are flagged for review and clarification with the source.

