Skip to content

FRED

FRED publishes hundreds of thousands of economic series, such as the Consumer Price Index (CPIAUCSL) and retail sales (RSXFS). A FRED connection reads the series you name with your account’s own FRED API key. BInbox keeps a copy of them on the schedule you set, and the Dashboard, the report and its emails read that copy like any other source.

This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

FRED’s series belong to their owners: the Bureau of Labor Statistics, the Census Bureau, the Bureau of Economic Analysis, the Federal Reserve and others. Each owner’s terms apply to its series, and FRED’s own terms apply to the API. The key is your account’s own, your account chooses which series to read and how often to copy them, and your account is responsible for using them within those terms. BInbox shows each series’ source where it shows a dataset’s source: on Pick series and in the Data view’s Source section.

  • A dataset names 1 to 10 series by their FRED ids, separated by commas. Each series is a column, side by side with the others by date. BInbox does not join FRED series to your other data; each dataset stands on its own.
  • Every observation of each series is read. A value FRED marks missing is shown as not available, never as 0.
  • A quarterly series is dated by the first day of each quarter, so its value sits in the quarter’s first month. A quarter’s or a year’s figure is then that quarter’s value, or the year’s four values combined.
  • How a series adds up over a quarter or a year comes from its units on FRED. An index, a percent, a rate, a ratio, a price or a level is averaged, so a year of the Consumer Price Index is the average of its months. A flow, such as retail sales in millions of dollars, is added up. You can change either one in the Data view, with Check the setup.
  • Each series is named by its FRED title. You can rename it in the Data view.
  • A series dataset is read from its copy only, never live. The first copy is taken when the dataset is saved, and then every day at 06:00 UTC unless you choose another time under Source.

FRED allows about 2 requests a second for each key. BInbox paces its requests under that limit, shared by every dataset that uses the same key. When FRED still asks BInbox to slow down, BInbox waits and tries again, up to 4 times. If FRED keeps refusing, the copy stops with a message that says so, and nothing is kept: the last full copy stays in use, and the next scheduled copy tries again. BInbox never keeps part of a series.

On New connection, choose FRED.

Field What to enter
Series to try Optional. A FRED series id the test reads, such as CPIAUCSL. The test reads CPIAUCSL when it is empty. Authors can pick any series once the connection is saved.
API key Your FRED API key: 32 lowercase letters and digits.
  1. Sign in to your FRED account at fredaccount.stlouisfed.org, or make one.
  2. Open API Keys and request a key. FRED asks for a short description of the application. Request a key for BInbox alone, so that no other program shares its rate limit.
  3. Copy the key. Paste it only into BInbox’s Connect form.

Choose Test connection in BInbox. Both permissions must be Granted:

Permission Granted when
Sign in with the API key FRED accepts the key.
Read the series to try FRED answers the series to try, and its first observation.

If Sign in with the API key is refused, check that the key was copied whole. If Read the series to try is refused, the series id is wrong: FRED’s own page for the series shows its id after the title.

An owner or admin opens the Data tab at app.binbox.ai, chooses Connect, then New connection, fills in the fields above, and chooses Test and save. Connections describes the screen.

An author chooses the FRED connection on Connect. The screen asks for series ids instead of listing tables.

  1. Type the ids, such as CPIAUCSL, RSXFS, and choose Check. For each series, BInbox shows its title, its units, how often it is published, whether it is averaged or added up, and its source.
  2. Choose Open on the Dashboard. BInbox reads the series and opens them on the Dashboard, as a table opens.
  3. Save the dataset as you save any other. The first copy is taken when it is saved.