Unable to connect to given URL.

url = 'https://fred.stlouisfed.org/';
c = fred(url)
Error using fred (line 65)
Unable to connect to given URL.
Unable to connect to given URL.

1 Comment

Rik
Rik on 9 Apr 2026 at 6:50
Are you sure this is the correct URL?

Sign in to comment.

Answers (1)

Ritam
Ritam on 14 Apr 2026 at 6:12
It seems that “https://fred.stlouisfed.org/” is down.
FRED is moving away from this URL for its data retrieval to a new API.
This new API is supported by this interface:

Tags

Asked:

on 9 Apr 2026 at 2:55

Answered:

on 14 Apr 2026 at 6:12

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!