FRED API

From NovaOrdis Knowledge Base
Revision as of 01:24, 8 October 2023 by Ovidiu (talk | contribs) (→‎Search)
Jump to navigation Jump to search

External

Internal

Installation

pip3 install fredapi

Get the API Key

Request an API key from here: https://fred.stlouisfed.org/docs/api/api_key.html

Code Examples

Initialization

from fredapi import Fred
fred = Fred(api_key='...')

Search

fred.search("text", limit=1000, order_by=None, sort_order=None, filter=None)

Do a full text search for series in the FRED data set. Returns the results as a data frame.

Get Series

Organizatorium