EIA API

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

amrsherif
Posts: 99
Joined: Mon Jul 23, 2018 4:34 pm

EIA API

Postby amrsherif » Tue Feb 15, 2022 7:49 am

Hello,

I am having trouble with EIA's database again (please see the below snapshots). It seems like they've made changes, but i cannot be sure. Any idea what is going on?

I am using EVIews 12 Feb 1 2022 edition

Thanks
Attachments
Capture2.PNG
Capture2.PNG (117.87 KiB) Viewed 4209 times
Capture1.PNG
Capture1.PNG (3.29 KiB) Viewed 4211 times
Capture.PNG
Capture.PNG (3.05 KiB) Viewed 4211 times

dman
Posts: 24
Joined: Mon Jul 18, 2016 10:50 am

Re: EIA API

Postby dman » Tue Feb 15, 2022 12:56 pm

Same issue, Eviews 11.
It would seem that the EIA has disabled HTTP access and now requires HTTPS connections only.

https://www.eia.gov/opendata/register.php

Notice: As of February 11th, 2022: The API now only respond to HTTPS. Insecure (HTTP) web protocols are no longer supported.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: EIA API

Postby EViews Gareth » Tue Feb 15, 2022 4:06 pm

EViews 12 patch addressing this has been released.
Follow us on Twitter @IHSEViews

amrsherif
Posts: 99
Joined: Mon Jul 23, 2018 4:34 pm

Re: EIA API

Postby amrsherif » Tue Feb 15, 2022 5:32 pm

I just downloaded the patch. I now get he following error message:

"The request was aborted: Could not create SSL/TLS secure channel."
"Database Error: EIA library error: unable to fetch series from server."

EViews Katerina
Posts: 51
Joined: Thu Jun 25, 2015 9:54 am

Re: EIA API

Postby EViews Katerina » Wed Feb 16, 2022 9:22 am

Please email to support@eviews.com with the issue for (EIA error : SSL/TLS secure channel) and we can contact you directly.

amrsherif
Posts: 99
Joined: Mon Jul 23, 2018 4:34 pm

Re: EIA API

Postby amrsherif » Wed Feb 16, 2022 12:35 pm

Done. Thanks

amrsherif
Posts: 99
Joined: Mon Jul 23, 2018 4:34 pm

Re: EIA API

Postby amrsherif » Fri Feb 18, 2022 10:21 am

Just downloaded another patch, and it now works on EViews 12. Thank you

dman
Posts: 24
Joined: Mon Jul 18, 2016 10:50 am

Re: EIA API

Postby dman » Thu Nov 03, 2022 9:00 am

EIA API having issues for the second day in a row for me.

I'm getting like 5% of requests processed normally, the rest return "unexpected reply from server" errors. Simply opening the database and hitting 'browse' results in the same error.

Any help would appreciated.

I'm on Eviews 12, October 17th build
Thanks!

P.S. could be related to this message that shows up in their online V1 API:
"EIA will discontinue support for its legacy API (APIv1) in November, 2022"

EViews Katerina
Posts: 51
Joined: Thu Jun 25, 2015 9:54 am

Re: EIA API

Postby EViews Katerina » Tue Nov 08, 2022 9:31 am

We have noticed the instability of getting reply from EIA API as well. We are not sure if it is related to their work on the v2 API. The v1 API will be deprecated (which means no further support) but it should continue to work.
We are working on adding the EIA v2 API in EViews and we will let you know as soon as we release it.
Note that the new version of EIA API does not support the existing series ID. When v2 API is available all fetch commands will have to use new ids.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 18 guests