News for hackers. Stuff that matters.
Re:Show HN: A free, lightweight static page to get stock quo... by ape4 on Monday April 30, 2018 @10:49AM (#16958966)
Looks like it gets an html page from https://iextrading.com/apps/stocks/#/<stock> then scrapes it. Not really an API. Edit: ok, I'm wrong.
Re:Show HN: A free, lightweight static page to get stock quo... by samfisher83 on Monday April 30, 2018 @11:02AM (#16959109)
It uses the iex api. I have used the api before its really good.

Here is the code author uses to get data:

      const BASE_URL = 'https://api.iextrading.com/1.0/stock/market/batch';

        let url = `${BASE_URL}?types=quote&symbols=${symbols.join(',')}&filter=${filters.join(',')}`;
Re:Show HN: A free, lightweight static page to get stock quo... by dxxvi on Monday April 30, 2018 @11:01AM (#16959093)
You might want to look at the code, serve that html page from your local machine and console.log(url) inside the updateDataForBatch(symbols, addTitle) function to see how it works.
Re:Show HN: A free, lightweight static page to get stock quo... by bitpow on Monday April 30, 2018 @11:08AM (#16959174)
That url is just used to build a link. It uses api.iextrading.com for the quote data