beanprice icon indicating copy to clipboard operation
beanprice copied to clipboard

IEX source no longer works

Open chrisberkhout opened this issue 3 years ago • 1 comments

IEX API 1.0 (https://api.iextrading.com/1.0/...)

Now returns 403.

bean-price -e 'USD:iex/AAPL'
ERROR   : Error fetching AAPL: Invalid response (403): <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>

ERROR   : Could not fetch for job: DatedPrice(base='AAPL', quote='USD', date=None, sources=[PriceSource(module=<module 'beanprice.sources.iex' from '/home/chris/.local/pipx/venvs/beanprice/lib/python3.10/site-packages/beanprice/sources/iex.py'>, symbol='AAPL', invert=False)])

The old API seems to have been shut down. The IEX-API repo in IEX's Github account is gone.

IEX Historical Data from IEX Exchange is now only in the format of 3-6 GB/symbol/day pcap data dumps.

IEX Cloud

Now there's IEX Cloud for API access to financial data.

A free account gets "50k credits on a limited, but free plan", which would allow about 5.5k API requests, and is estimated to be enough for "Fifty days of open, high, low, and close (OHLC) for the top 500 U.S. stocks".

Paid plans starts at $19/month or $108/year, for personal use.

The API docs look good. Relevant endpoints include:

chrisberkhout avatar May 15 '22 08:05 chrisberkhout

IEX Cloud shut down in 2024, so this source should just be removed.

hoostus avatar Feb 27 '25 23:02 hoostus