Agent skill

Fred API

by wentorai in wentorai/research-plugins

Federal Reserve Economic Data API for US economic indicators

MITAuto-check passedData & Analytics

Install Fred API

skills CLI
$ npx skills add wentorai/research-plugins --skill fred-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins fred-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/economics/fred-api .claude/skills/fred-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fred-api
GitHub stars
298
Used in
1 other repo
Token cost
~2k tokens
SKILL.md length
589 words
Files
1
Skills in repo
428
Repo updated
First seen
Licence
MIT

At a glance

Federal Reserve Economic Data API for US economic indicators

  • Works in 3 steps: Register for an account at… → Request an API key at… → Include the key as the api_key query…
  • Tasks that involve Forecasting and time series
  • SKILL.md covers Overview, Authentication, Core Endpoints and Rate Limits, plus 2 more sections
  • Calls curl; reaches api.stlouisfed.org; needs FRED_API_KEY

What it does

Fred API is an agent skill from wentorai/research-plugins. Federal Reserve Economic Data API for US economic indicators

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Forecasting and time series. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Forecasting and time series

Example prompts

  • “/fred-api”

Requirements

  • Python 3
  • A credential in FRED_API_KEY
  • A credential in YOUR_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Register for an account at https://fredaccount.stlouisfed.org/login/secure/
  2. Request an API key at https://fredaccount.stlouisfed.org/apikeys
  3. Include the key as the api_key query parameter in all requests

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.stlouisfed.org

    Also links to:

    • fred.stlouisfed.org
    • fredaccount.stlouisfed.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FRED_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fred API loads about 2k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 589 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 589 words, ~1,957 tokens.

Download SKILL.mdSave it as .claude/skills/fred-api/SKILL.md (or your agent's skills folder).
name
fred-api
description
Federal Reserve Economic Data API for US economic indicators

FRED API Guide

Overview

FRED (Federal Reserve Economic Data) is a database maintained by the Research Division of the Federal Reserve Bank of St. Louis. It contains over 800,000 economic time series from dozens of national and international sources, covering macroeconomic indicators, financial markets, employment, trade, monetary policy, and more.

The FRED API provides programmatic access to this extensive economic data repository. Researchers can retrieve time series observations, search for data series by keyword or category, explore release schedules, and access vintage (real-time) data for historical analysis. The data spans decades and in some cases centuries, making it invaluable for longitudinal economic research.

Economists, financial analysts, policy researchers, data scientists, and academic institutions rely on the FRED API for econometric modeling, macroeconomic forecasting, policy analysis, and teaching. It is one of the most widely used economic data APIs in academic research and is cited in thousands of peer-reviewed publications.

Authentication

Authentication requires a free API key from the Federal Reserve Bank of St. Louis.

  1. Register for an account at https://fredaccount.stlouisfed.org/login/secure/
  2. Request an API key at https://fredaccount.stlouisfed.org/apikeys
  3. Include the key as the api_key query parameter in all requests
bash
curl "https://api.stlouisfed.org/fred/series?series_id=GDP&api_key=YOUR_KEY&file_type=json"

API keys are free and available to anyone who registers. There is no fee or approval process.

Core Endpoints

series: Retrieve Series Metadata

Get metadata about a specific economic data series, including title, frequency, units, seasonal adjustment, and date range.

  • URL: GET https://api.stlouisfed.org/fred/series
  • Parameters:
ParameterTypeRequiredDescription
series_idstringYesFRED series identifier (e.g., GDP)
api_keystringYesYour FRED API key
file_typestringNoResponse format: json or xml (default)
  • Example:
bash
curl "https://api.stlouisfed.org/fred/series?series_id=UNRATE&api_key=YOUR_KEY&file_type=json"
  • Response: Returns seriess array with id, title, observation_start, observation_end, frequency, units, seasonal_adjustment, notes, and popularity ranking.
observations: Retrieve Time Series Data

Fetch actual data points (observations) for a specific economic series over a date range.

  • URL: GET https://api.stlouisfed.org/fred/series/observations
  • Parameters:
ParameterTypeRequiredDescription
series_idstringYesFRED series identifier
api_keystringYesYour FRED API key
observation_startstringNoStart date in YYYY-MM-DD format
observation_endstringNoEnd date in YYYY-MM-DD format
frequencystringNoAggregation: d, w, m, q, a
aggregation_methodstringNoavg, sum, eop (end of period)
file_typestringNojson or xml
  • Example:
bash
curl "https://api.stlouisfed.org/fred/series/observations?series_id=GDP&observation_start=2020-01-01&api_key=YOUR_KEY&file_type=json"
  • Response: Returns observations array with date and value for each observation period.
Show full SKILL.md (217 more words)Show less
category: Browse Data Categories

Navigate the hierarchical FRED category system to discover available data series organized by topic.

  • URL: GET https://api.stlouisfed.org/fred/category
  • Parameters:
ParameterTypeRequiredDescription
category_idintYesCategory ID (0 for root)
api_keystringYesYour FRED API key
file_typestringNojson or xml
  • Example:
bash
curl "https://api.stlouisfed.org/fred/category/children?category_id=0&api_key=YOUR_KEY&file_type=json"
  • Response: Returns categories array with id, name, and parent_id for child categories.
releases: Track Data Release Schedules

Retrieve information about data releases, which group related series that are published together.

  • URL: GET https://api.stlouisfed.org/fred/releases
  • Parameters:
ParameterTypeRequiredDescription
api_keystringYesYour FRED API key
file_typestringNojson or xml
  • Example:
bash
curl "https://api.stlouisfed.org/fred/releases?api_key=YOUR_KEY&file_type=json"
  • Response: Returns releases array with id, name, press_release, link, and release notes.

Rate Limits

The FRED API enforces rate limits that vary by usage. Standard limits allow approximately 120 requests per minute. Exceeding the limit returns HTTP 429 responses. For bulk data retrieval, consider using the FRED Excel add-in or downloading bulk files from https://fred.stlouisfed.org/. Academic users can contact FRED for elevated limits if needed.

Common Patterns

Retrieve and Plot GDP Data

Fetch quarterly GDP observations for macroeconomic analysis:

python
import requests

params = {
    "series_id": "GDP",
    "api_key": "YOUR_KEY",
    "file_type": "json",
    "observation_start": "2015-01-01"
}
resp = requests.get("https://api.stlouisfed.org/fred/series/observations", params=params)
data = resp.json()

for obs in data["observations"]:
    print(f"{obs['date']}: ${obs['value']}B")
Compare Multiple Economic Indicators

Build a multi-series dataset for econometric analysis:

python
import requests

series_ids = ["UNRATE", "CPIAUCSL", "FEDFUNDS", "GDP"]
api_key = os.environ["FRED_API_KEY"]

for sid in series_ids:
    resp = requests.get("https://api.stlouisfed.org/fred/series/observations", params={
        "series_id": sid,
        "api_key": api_key,
        "file_type": "json",
        "observation_start": "2020-01-01",
        "frequency": "m"
    })
    obs = resp.json()["observations"]
    print(f"{sid}: {len(obs)} monthly observations retrieved")
Search for Series by Keyword

Discover available data series on a specific topic:

bash
curl "https://api.stlouisfed.org/fred/series/search?search_text=consumer+price+index&api_key=YOUR_KEY&file_type=json&limit=10"

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/domains/economics/fred-api of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Fred API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fred API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fred API this skillwentorai/research-plugins2981 repos~2kAutomated safety check: PassMIT
TimesFM Forecastinggoogle-research/timesfm34k—~4.7kAutomated safety check: PassApache-2.0
Timesfm ForecastingzLanqing/codex-claude-academic-skills4.6k6 repos~7.5kAutomated safety check: NotesApache-2.0
StatsmodelszLanqing/codex-claude-academic-skills4.6k16 repos~4.9kAutomated safety check: PassBSD-3-Clause
Find Hypertable Candidatestimescale/pg-aiguide1.9k1 repos~2.6kAutomated safety check: PassApache-2.0
Alphaear Predictorninehills/skills2812 repos~531Automated safety check: PassNone

Similar skills

  • TimesFM Forecasting

    google-research/timesfm

    Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.

    34k GitHub stars~4.7k tokensUpdated 7 days ago
    Data & AnalyticsAuto-check passed
  • Timesfm Forecasting

    zLanqing/codex-claude-academic-skills

    Zero-shot time series forecasting with Google's TimesFM foundation model.

    4.6k GitHub starsUsed in 6 repos~7.5k tokens
    Data & AnalyticsAuto-check: notes
  • Statsmodels

    zLanqing/codex-claude-academic-skills

    Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 16 repos~4.9k tokens
    Data & AnalyticsAuto-check passed
  • Find Hypertable Candidates

    timescale/pg-aiguide

    A skill your agent uses to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables.

    1.9k GitHub starsUsed in 1 repo~2.6k tokens
    Data & AnalyticsAuto-check passed
  • Alphaear Predictor

    ninehills/skills

    Market prediction skill using Kronos. An agent skill from ninehills/skills.

    281 GitHub starsUsed in 2 repos~531 tokens
    Data & AnalyticsAuto-check passed
  • Pensieve Search

    arkohut/pensieve

    Search the user's local Pensieve screenshot archive by text, app, or time range.

    1.4k GitHub stars~8.2k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed

More from wentorai/research-plugins

All 428 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Fred API

What does Fred API do?

Federal Reserve Economic Data API for US economic indicators. Fred API is an agent skill from wentorai/research-plugins.

When should I use Fred API?

Fred API fits situations like: tasks that involve Forecasting and time series.

How do I install Fred API in Claude Code?

Run `npx skills add wentorai/research-plugins --skill fred-api -a claude-code`. Or copy the skill folder (skills/domains/economics/fred-api in wentorai/research-plugins) into .claude/skills/fred-api in your project. Claude Code loads it when a task matches its description.

How do I install Fred API in Codex?

Run `npx skills add wentorai/research-plugins --skill fred-api -a codex`. Or copy the skill folder (skills/domains/economics/fred-api in wentorai/research-plugins) into .agents/skills/fred-api in your project. Codex loads it when a task matches its description.

Can I use Fred API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill fred-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fred-api, .gemini/skills/fred-api, .github/skills/fred-api and .opencode/skills/fred-api in your project.

What does Fred API need to run?

Going by SKILL.md and its folder, Fred API needs the command-line tools its instructions call (curl) and credentials named FRED_API_KEY. Our summary lists: Python 3; A credential in FRED_API_KEY; A credential in YOUR_KEY.

Does Fred API access the network?

SKILL.md names 3 domains. In commands or code: api.stlouisfed.org; the agent is likely to contact it when it follows the instructions. As links in the text: fred.stlouisfed.org and fredaccount.stlouisfed.org. This is read from the text; nothing was executed.

Is Fred API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fred API use?

Fred API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fred API use?

About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fred API?

Skills that share tags, products or a category with Fred API: TimesFM Forecasting (google-research/timesfm, 34k stars), Timesfm Forecasting (zLanqing/codex-claude-academic-skills, 4.6k stars), Statsmodels (zLanqing/codex-claude-academic-skills, 4.6k stars) and Find Hypertable Candidates (timescale/pg-aiguide, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fred API?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 428 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.