The Yahoo! Finance API is slowly blocking access to its data. So, you my have got the "Will be right back... Thank you for your patience. Our engineers are working quickly to resolve the issue" error when you try to make an API call. Or, you may have gotten the "code": "Unauthorized", "description:", "Invalid Crumb" JSON response.
And you may have gone to Reddit or StackOverflow and when you tried to use this version:
https://query2.finance.yahoo.com/v10/..., you were told to try other versions like https://query2.finance.yahoo.com/v6/f....
Well, unfortunately, neither work anymore (or in March of 2024 they didn't). My workaround is to use the #yfinance #python library to get the current value and annual dividend information and then #webscrabe using #selenium to get the dividend and next payment date information. If you're interested in the whole code, here are the two videos I reference throughout this video.
Part 1 of building my own dividend tracker: • Build a Dividend Portfolio Tracker wi...
Webscraping the NASDAQ website: • Unleash the Power of Selenium: Webscr...
Watch video Yahoo! Finance API Blocked Access Workarounds | online without registration, duration hours minute second in high quality. This video was added by user Brandon Jacobson (Jacobson Enterprises) 12 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,198 once and liked it 9 people.