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

Codex · Finance

How to Use FRED economic series by tag in Codex

Find economic series matching every selected tag, with IDs, titles, units, frequency, coverage dates, and update timestamps. Use it to choose indicators for research; the response contains series descriptions rather than observation values.

Prompts to try with FRED economic series by tag in Codex

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

Use FRED economic series by tag for Slovenia and food, then render the returned titles, IDs, units, frequencies, and coverage dates in a comparison table.

FRED economic series by tagCodex
Try asking
  • Use FRED economic series by tag to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FRED economic series by tag and tell me what changed since last week.

  • Check FRED economic series by tag and summarize what you find in three bullet points.

  • Pull the newest data from FRED economic series by tag and give me the result as a table.

How to set up FRED economic series by tag in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 economic series by tag

    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/tags/series",
        "input": {
          "tag_names": "<tag_names>"
        }
      }'

Then paste one of the prompts above: Codex finds FRED economic series by tag on Spiral, shows the price and runs it.

FRED economic series by tag providers and prices

Spiral runs FRED economic series by tag through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
FRED · Series by tag
fred/tags/series

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limita number up to 10001000

Records to return. The default is the maximum, so a naive call is a large response rather than a page.

Offseta number0

Records to skip. Page by adding limit to it; count in the envelope is the full match total.

Order byseries_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated and 4 moreseries_id

Which series attribute to sort by.

Sort orderasc or descasc

Sort direction.

Every API field of FRED · Series by tag is on its tool page: open its card above.

What can you do with FRED economic series by tag in Codex?

Build an economic indicator picker that uses FRED's own vocabulary and series descriptions. An agent can connect topic filters to matching series IDs and show units, frequency, and coverage dates before a user chooses an indicator.

Choose indicators for a US economic briefing

Find FRED's labels for GDP and employment, inspect related geography and frequency tags, and shortlist matching series with their units and coverage dates.

Scope a country comparison

Look up geography tags for Slovenia and the United States, inspect available topic combinations, and identify candidate series before comparing their definitions.

Find monthly labor market indicators

Discover employment and unemployment labels, check which related tags support monthly research, and review the matching series descriptions.

Separate seasonal adjustment choices

Identify seasonal adjustment labels, inspect their relationship to a chosen economic topic, and find series whose adjustment descriptions fit the analysis.

Prepare a food inflation reading list

Find food-related vocabulary, inspect associated geography and source tags, and assemble a shortlist of series descriptions for a Slovenia research assignment.

Investigate weekly monetary indicators

Look up monetary aggregates terminology, explore tags associated with weekly series, and identify series IDs and definitions for further research.

Questions about FRED economic series by tag in Codex

Can Codex use FRED economic series by tag?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FRED economic series by tag like any built-in tool.

How much does FRED economic series by tag cost in Codex?

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

Do I need an Alexandria account to use FRED economic series by tag in Codex?

No. Spiral runs FRED economic series by tag 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 economic series by tag in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while FRED economic series by tag runs?

FRED economic series by tag runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does FRED cover only US economic data?

No. FRED includes national and international economic series from public and private sources. Geography tags help identify which places are represented in a search.

Will these results include GDP, inflation, or employment values?

These requests return tags or series descriptions. Numerical observations require FRED's separate series observations request.

How many results can one request return?

Each of these FRED requests returns at most 1,000 records. Responses include a total count and offset, so a larger result set requires additional pages.

Why does adding another tag reduce the results?

FRED requires series to match every included tag. A search combining Slovenia and food therefore targets series carrying both labels.

What kinds of distinctions do FRED tags describe?

FRED has eight filter sections, including geography, frequency, source, release, seasonal adjustment, and citation and copyright. These distinctions help separate otherwise similar economic series.

Get started

Start using FRED economic series by tag in Codex

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

Paste this into Codex:

Set up Codex

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