No output for 13 F resource scraping from SEC EDGAR API, but the request is successful
My goal is to scrape a 13 F resource and output the text. I'm getting "Request successful!" and yet also getting "Number of filings found: 0" I tried this code: !pip install pexpect import pexpect import json import requests # Set the API endpoint URL , using placeholder token! endpoint = "https://api.sec-api.io?token=010101" # Set the search parameters params = { "query": { "query_string": { "query": "name:\"Bridgewater Associates, LP\"" } }, "from": "0", "size": "10", "sort": [ { "filedAt": { "order": "desc" } } ], "range": { "filedAt": { "gte": "2021-01-01", "lte": "2021-03-15" } } } # Send
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.