on-internet
← Community

Error: Request Rate Threshold Exceeded - Your Request Originates from an Undeclared Automated Tool

Stack Overflow ·

I am attempting to retrieve SEC filings from sec.gov using their API with Python 3, and getting this error no matter what I do: Error: Request Rate Threshold Exceeded - Your Request Originates from an Undeclared Automated Tool Following the example provided here, including headers: https://www.sec.gov/about/webmaster-frequently-asked-questions#code-support def get01(): myHeaders = { "User-Agent": "Example_Company [email protected]", "Accept-Encoding": "gzip, deflate", "Host": "www.sec.gov" } url = "https://www.sec.gov/Archives/edgar/data/2062466/000206246625000004/wk-form4_1743625808.xml" resp

Comments

Sign in or sign up to comment and upvote.

No comments yet.