FRED (Federal Reserve Economic Data) API

How to connect FRED (Federal Reserve Economic Data) to Grok Bot

Add the Firecrawl plugin to Grok Bot once and it can call the FRED (Federal Reserve Economic Data) API and every other provider in Firecrawl Alexandria, with no FRED (Federal Reserve Economic Data) integration code.

Open Markdown

To connect FRED (Federal Reserve Economic Data) to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for FRED (Federal Reserve Economic Data) data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses FRED (Federal Reserve Economic Data) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for FRED (Federal Reserve Economic Data).

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect FRED (Federal Reserve Economic Data) to Grok Bot?

  1. Add the Firecrawl plugin

    In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

    Grok Bot's Connect Apps window with Firecrawl and its Connect button
  2. Connect your Firecrawl account

    Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button
  3. Ask your Bot for the data

    In a chat, ask in plain language and mention FRED (Federal Reserve Economic Data) or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

    Use Firecrawl to find five FRED series matching unemployment rate, with their series IDs, units and observation date ranges.

What can Grok Bot do with FRED (Federal Reserve Economic Data)?

FRED (Federal Reserve Economic Data), the St. Louis Fed's database of US and international economic time series: headline US indicators such as the monthly unemployment rate (UNRATE), CPI inflation (CPIAUCSL), GDP (GDP, GDPC1), nonfarm payrolls (PAYEMS), the federal funds rate (FEDFUNDS) and Treasury yields (DGS10), plus 800,000+ other series, including the BLS producer price indexes (PPI) for steel: iron and steel (WPU101), hot-rolled steel sheet / HRC (WPU10170301, discontinued after 2022), hot-rolled bars and plates (WPU101704) and cold-rolled sheet (WPU101707), with latest level and month-over-month and year-over-year change in one call (an index, not a cash HRC quote). Search series by text, browse categories, releases, sources and tags, read one series' metadata (units, frequency, seasonal adjustment, source, notes, date range, last update) and fetch its observations (daily, weekly, monthly, quarterly or annual values) with date window, frequency aggregation and transformation, paginated, from the site's keyless JSON, CSV and HTML endpoints.

Grok Bot can run any of FRED (Federal Reserve Economic Data)'s 11 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Category: Browse the FRED category tree from the site's category pages (server-rendered HTML). Without `category_id` (or with 0) it lists the top-level categories; with an id it returns that category's name, breadcrumb path, child categories (with FRED's printed series count) and the series listed on one page (50 per page, `pageID` pagination via `page`/`next_page`), each with id, title, the attributes line as printed (units, frequency, seasonal adjustment) and the observation range as printed. An unknown category id is `not_found`. Costs 5 Firecrawl credits per call.
  • Release: One FRED release from its site page (/release?rid=): name, publishing source, the release's website link, its release tables (element ids with FRED's printed record counts, for the site's /release/tables view) and one 50-row page of the series in the release (id, group title, attributes line split into units / frequency / seasonal adjustment when FRED's vocabulary allows, observation range as printed), with `page`/`next_page`. An unknown release id is `not_found`. Costs 5 Firecrawl credits per call.
  • Releases: List FRED data releases (e.g. Gross Domestic Product, Employment Situation) from the site's /releases page: alphabetical, 50 per page with `page`/`next_page`; `total` is the count FRED prints ("Releases 1 - 50 of 332"). A page past the end is `not_found`. Costs 5 Firecrawl credits per call.
  • Series: Metadata for one FRED economic time series (e.g. UNRATE unemployment rate, CPIAUCSL consumer price index, GDP) from the site's series JSON (graph/api/series): title, units, frequency, seasonal adjustment, source, notes, first and last observation date, last update, the transformations (units codes) and aggregation frequencies FRED offers for it. An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Series observations: The data points of one FRED economic time series, e.g. the monthly US unemployment rate (UNRATE), CPI inflation (CPIAUCSL), quarterly GDP, nonfarm payrolls (PAYEMS), the federal funds rate (FEDFUNDS) or the 10-year Treasury yield (DGS10), from the site's keyless CSV export (graph/fredgraph.csv): date/value rows, optionally windowed by date, aggregated to a lower frequency and transformed (percent change, change from year ago, ...). The full CSV is fetched once and paginated client-side with `limit`/`offset`; `count` is the total number of rows FRED returned for the request. Values FRED leaves blank (not yet published, missing) are `value: null` with `raw: "."`, matching the FRED API's missing-value marker. The CSV is always FRED's current vintage, identified by `last_updated` / `vintage_date` (the series' last update, from the response's Last-Modified header, in FRED's US Central clock) with `realtime_start` / `realtime_end` as the period the vintage is known to have been current (vintage date to fetch date); past vintages (as-of values) are not available keyless (the CSV ignores `vintage_date` / `revision_date`). An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Series search: Search FRED series by free text through the site's series autocomplete (graph/api/series/sitesearch). Returns matching series with id, title, observation date range, frequency, units and seasonal adjustment; at most `limit` results (the site answers with a bounded suggestion list, so there is no further page). A query with no match is an empty result. Costs 5 Firecrawl credits per call.
  • Source: One FRED data source from its site page (/source?soid=): name and the releases it publishes (id, name, url). An unknown source id is `not_found`. Costs 5 Firecrawl credits per call.
  • Sources: List FRED data sources (statistical agencies, central banks, researchers) from the site's /sources page: alphabetical, 50 per page with `page`/`next_page`; `total` is the count FRED prints. A page past the end is `not_found`. Costs 5 Firecrawl credits per call.
  • Steel ppi: Latest level, month-over-month and year-over-year change of the US steel producer price indexes (BLS PPI, republished by FRED), each with its FRED source URL https://fred.stlouisfed.org/series/{id}. Default basket: WPU101 iron and steel, WPU1017 steel mill products, WPU10170301 hot-rolled steel sheet and strip (HRC; BLS stopped publishing it after February 2022, so it is flagged `discontinued` with a note naming the current proxies), WPU101704 hot-rolled bars, plates and structural shapes, WPU101707 cold-rolled steel sheet and strip, and PCU331110331110 iron and steel mills and ferroalloy manufacturing (industry PPI). Any other FRED series id can be passed in `series_ids`. For each series: title, units (index base), frequency, seasonal adjustment, last update, the latest non-missing observation, the observation one month earlier (`mom_pct`) and twelve months earlier (`yoy_pct`), percent changes rounded to 0.01. These are BLS producer price index levels, not a cash HRC price, spot quote or CME HRC futures settlement. An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Tag series: Series carrying every one of the given tags, from the site's /tags/series page: 50 per page in FRED's popularity order with `page`/`next_page`; `total` is the count in the page title ("9,767 Series"); `tags` echoes the tags FRED applied (machine name and display name). Each series carries id, group title, the attributes line (units / frequency / seasonal adjustment split out when FRED's vocabulary allows) and the observation range as printed. A tag FRED does not know is `not_found` (the site would otherwise ignore it and list the whole catalogue). Costs 5 Firecrawl credits per call.

See all 11 capabilities and their inputs on the FRED (Federal Reserve Economic Data) API page.

What should I ask Grok Bot?

Name FRED (Federal Reserve Economic Data) or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

  • Use Firecrawl to find five FRED series matching unemployment rate, with their series IDs, units and observation date ranges.
  • Use Firecrawl to read the FRED GDP series metadata and explain its units, frequency, seasonal adjustment and source.
  • Use Firecrawl to help with this: Retrieve FRED UNRATE monthly observations from January 2020 through December 2025 using the current published vintage.
  • Use Firecrawl to list the first page of FRED series tagged both gdp and quarterly, with their series IDs and titles.

Troubleshooting

Why doesn't my Bot use FRED (Federal Reserve Economic Data)?

Attach Firecrawl to the chat with @ before you ask, and name FRED (Federal Reserve Economic Data) or Firecrawl Alexandria in the prompt.

Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

Use FRED (Federal Reserve Economic Data) in other AI apps

The same Firecrawl account reaches FRED (Federal Reserve Economic Data) from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Grok Bot

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, FRED (Federal Reserve Economic Data) among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a FRED (Federal Reserve Economic Data) MCP server for Grok Bot?

Grok Bot reaches FRED (Federal Reserve Economic Data) through Firecrawl's hosted MCP server, which serves FRED (Federal Reserve Economic Data) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for FRED (Federal Reserve Economic Data).

What does connecting FRED (Federal Reserve Economic Data) to Grok Bot unlock?

Grok Bot can run all 11 of FRED (Federal Reserve Economic Data)'s capabilities, including Category, Release and Releases, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find five FRED series matching unemployment rate, with their series IDs, units and observation date ranges." In the same conversation, Grok Bot can combine FRED (Federal Reserve Economic Data) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own FRED (Federal Reserve Economic Data) account or API key to use it in Grok Bot?

No. Grok Bot calls FRED (Federal Reserve Economic Data) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate FRED (Federal Reserve Economic Data) account or API key.

How much does it cost to use FRED (Federal Reserve Economic Data) in Grok Bot?

Each FRED (Federal Reserve Economic Data) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.

Can Grok Bot use other providers besides FRED (Federal Reserve Economic Data)?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use FRED (Federal Reserve Economic Data) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same FRED (Federal Reserve Economic Data) capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options