cs50/docs

Wrong API URL in CS50 Finance

TenType opened this issue · 1 comments

In the CS50 Finance problem, following the API URL example with a valid API key leads to an error:

Indeed, IEX lets you download stock quotes via their API (application programming interface) using URLs like https://cloud-sse.iexapis.com/stable/stock/nflx/quote?token=API_KEY.

Looking at the documentation on IEX, the SSE endpoint is only available for paid users. I believe the correct URL should be https://cloud.iexapis.com/stable/stock/nflx/quote?token=API_KEY (cloud-sse -> cloud), which is used in the problem distribution code.