I am getting "rate limited" error with yfinance, is this temporary? #2431
Replies: 8 comments 11 replies
-
Yeah, the "rate limited" error with yfinance is usually temporary. Yahoo tends to block IPs for a while if too many requests are made in a short time. Since it's already been over 24 hours, the block might be a bit longer than usual, but it's not permanent. Reducing your request frequency and adding delays between calls should help avoid this in the future. You might also consider using a different IP or waiting a bit longer to see if access is restored. |
Beta Was this translation helpful? Give feedback.
-
I implemented a throttle limiter into my code. I found that I could make about 100 requests, then I needed to delay for 30 seconds before making another request, then repeat this pattern. As of today though, I can't make any requests :( |
Beta Was this translation helpful? Give feedback.
-
I updated my code to use the HEAD, which includes PR #2430 that addresses this issue. It didn't fully fix it though. yf.download() still doesn't work. |
Beta Was this translation helpful? Give feedback.
-
Same issue. Seems to be a rate limiter as the data I download using this patch only gets up to 33% before hanging. Any ideas? |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I am having the same issue. Just used yfinance for the first time in 3-4 weeks and on the first ticket I am getting the error yfinance JSONDecodeError DAILY, retyring has anyone been able to solve this? |
Beta Was this translation helpful? Give feedback.
-
I have an application to test and I can't connect to yfinance: Error loading data: "No data downloaded Please try again later or check your internet connection." Does anyone know if the interruption is temporary or permanent? |
Beta Was this translation helpful? Give feedback.
-
yfinance.exceptions.YFRateLimitError: Too Many Requests. Rate limited. Try after a while. We have this rate limit again, too bad. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Error - YFRateLimitError('Too Many Requests. Rate limited. Try after a while.')
Wondering if this blacklisting is temporary or permanent? Its been more than 24hrs now. I am planning to limit the frequency of calls if this gets resolved.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions