Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Finance

How to Use FRED related categories in Gemini

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.

Prompts to try with FRED related categories in Gemini

Copy an example into Gemini, or ask in your own words.

Use FRED related categories to look this up and give me the result as a table.

FRED related categoriesGemini
Try asking
  • 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 Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.

    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: Gemini finds FRED related categories on Spiral, shows the price and runs it.

FRED related categories providers and prices

Spiral runs FRED related categories through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
FRED · Related categories
fred/categories/related

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Category IDa number

The category to read. Required here, though the identical-looking parameter defaults to the root on categories/category and categories/children.

Every API field of FRED · Related categories is on its tool page: open its card above.

What can you do with FRED related categories in Gemini?

Turn an economic research question into a shortlist of FRED topics and candidate measures. A chat app can explain category relationships and interpret catalog descriptions before you choose data for a report.

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.

Questions about FRED related categories in Gemini

Can Gemini use FRED related categories?

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

How much does FRED related categories cost in Gemini?

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

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

No. Spiral runs FRED related categories on its own Alexandria account. You sign in to Spiral once and never paste a key.

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

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while FRED related categories runs?

FRED related categories runs in the background. Gemini 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.

Get started

Start using FRED related categories in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options