I started this thread https://yahoo.uservoice.com/forums/382977-finance/suggestions/31332256-yahoo-finance-paid-api on Yahoo's website where one can make suggestions on their services. I suggested yahoo bring back their API ad a low budget paid service. If anyone wants to contribute click and support
Try www.tiingo.com or www.quandl.com if you want a free stocks api. Tiingo have etfs that quandl free is lacking.
There is talk on the forums of a new Yahoo historical data JSON API that does not require crumb and cookie and links to the code I know Multicharts, Amiquote have fixed historical as have others coding for e.g Matlab. The streaming data never went away but it stops after 10-20 minutes without a workaround. https://forums.yahoo.net/t5/Yahoo-Finance-help/Is-Yahoo-Finance-API-broken/td-p/250503/page/22 This one is the Link one return csv format and require crumb and cookie: https://stackoverflow.com/questions/44034229/yahoo-finance-api-stopped-working This one Link two return json format and not require crumb nor cookie: https://stackoverflow.com/questions/44030983/yahoo-finance-url-not-working/44050039#44050039
Yahoo still works, at least when it comes to csv download. Tiingo is definitely the best choice at the moment, $10 a month.
I had to rewrite many of my scripts to use google when yahoo historical api stopped working. Quandl also has free data.
Looks like to me its double the work. The method used requires using the one request to get the cookie and a second to download the data. I used this link https://ca.finance.yahoo.com/quote/...36669&interval=1d&filter=history&frequency=1d and then scarped the json data out of it. The time stamps return a 1 year historical quote
I gave it try. The free API has a few limitations but the paid is pretty awesome for $10 a month. Only reason I do not use it is because there is no support for Canadian indices at the moment. I still think Quandl has the best API and indices coverage but $49.99 a month is a bit steep for my wallet.
You don't need to get a new cookie every time but they do ban cookies that are used for too many requests so you have to work around that. Not that hard.