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.
[ Parent
| on HN ]
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(',')}`;