# FRED - Federal Reserve of Economic Data

## 1. Obtain API Key.

Go to <https://research.stlouisfed.org/docs/api/api\\_key.html> and obtain your API Key to use FRED APIs.

## 2. Open FRED Import Dialog

Click '+' button next to 'Data Frames' and select 'Import Cloud Apps Data'.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN0X39XzG_qmQv2-F%2Fimport-cloudapps.png?generation=1586795454579146\&alt=media)

Click 'FRED (Economic Data)'.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2Fsync%2F92376df7e6206322c723a8df0d74fd27a5f951ad.png?generation=1629671802181730\&alt=media)

Create connection from here if you don't have.

Type connection name and FRED API Key. Test connection and if it works ok, click "Add" button.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2Fsync%2F4d6ff2369ae1562b0aeea9b348f5da3b705eef0a.png?generation=1629414302085923\&alt=media)

Type in Series ID, e.g. UNRATE for unemployment rate. You can set multiple Series ID by separating them by comma(,). For example, you can type in MIXRSA, NYXRSA, SFXRSA as Series IDs to get Real State Price Index for Miami, New York, and San Francisco.

You can search Series ID in <https://fred.stlouisfed.org/tags/series>

Start Date and End Date are optional. If you leave them blank, it will get all data available.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4HLCK3olgduYoe3RVS%2Fuploads%2Fgit-blob-87b423134c219fbc90a269e0a0e49ef7ddaad1ab%2Ffred_preview.png?alt=media)

Click the "Run" button to preview data. If the preview looks okay, click the "Save" button.

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4HLCK3olgduYoe3RVS%2Fuploads%2Fgit-blob-b60bb9a60c5ab5d7c520f67374ec69bf3bd194b9%2Ffred_preview2.png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/data_import/cloud-apps-data/fred.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
