Frequently Asked Questions (FAQ)#

Here are answers to common questions about FedFred, the modern Python client for the FRED® API.

What is FedFred?#

See Answer

FedFred is a feature-rich Python client for the St. Louis Federal Reserve Economic Database (FRED®).

Highlights:

  • Synchronous and asynchronous access to FRED datasets,

  • Native support for DataFrame formats: Pandas, Polars, and Dask,

  • Built-in caching, retry handling, and structured typed object models.

➔ See the Quick Start Guide for a simple example.

How is FedFred different from fredapi and other FRED clients?#

See Answer

FedFred improves upon traditional FRED libraries like fredapi by offering:

➔ See the full library comparison in Comparison with Other FRED Clients.

Does FedFred support GeoFRED (Maps API) data?#

See Answer

Yes! FedFred includes robust support for geographic datasets via:

You can retrieve:

  • Regional economic indicators,

  • Shapefiles for states, counties, metro areas,

  • Output ready for GIS tools as GeoDataFrame.

➔ Explore regional analysis examples in Example Use Cases.

Is caching supported in FedFred?#

See Answer

Yes! FedFred supports local FIFO caching natively.

  • Stores recent API responses (default 256 items),

  • Fully async-aware: works seamlessly across sync and async clients.

Example usage:

import fedfred as fd

fred = fd.FredAPI(api_key="your_api_key_here", cache_mode=True, cache_size=1000)

➔ Learn more in the Advanced Usage Examples section.