Search Form 13D & 13G Filings With Python
The Python tutorial illustrates how to find Form 13D and 13G filings using different form fields as search parameter. The search result includes the filings converted into a standardized JSON format.
Click on "Open in Colab" to run the Python code in a Jupyter notebook on Google Colab in your browser.
Quick Start
!pip install sec-api
from sec_api import Form13DGApi
form13DGApi = Form13DGApi("YOUR_API_KEY")
# find the 50 most recently filed 13D/G filings
# disclosing 10% or more ownership of any Point72 company.
query = {
"query": "owners.name:Point72 AND owners.amountAsPercent:[10 TO *]",
"from": "0",
"size": "50",
"sort": [{ "filedAt": { "order": "desc" }}]
}
response = form13DGApi.get_data(query)
import json
print(json.dumps(response["filings"][0], indent=2))
{
"id": "bbb1ef1892bfc12a2e398c903871e3ae",
"accessionNo": "0000902664-22-005029",
"formType": "SC 13D",
"filedAt": "2022-12-05T16:00:20-05:00",
"filers": [
{
"cik": "1813658",
"name": "Tempo Automation Holdings, Inc. (Subject)"
},
{
"cik": "1954961",
"name": "Point72 Private Investments, LLC (Filed by)"
}
],
"nameOfIssuer": "Tempo Automation Holdings, Inc.",
"titleOfSecurities": "Common Stock, par value $0.0001 per share",
"cusip": [
"88024M108"
],
"eventDate": "2022-11-22",
"schedule13GFiledPreviously": false,
"owners": [
{
"name": "Point72 Private Investments, LLC",
"memberOfGroup": {
"a": false,
"b": false
},
"sourceOfFunds": [
"OO"
],
"legalProceedingsDisclosureRequired": false,
"place": "Delaware",
"soleVotingPower": 0,
"sharedVotingPower": 5351000,
"soleDispositivePower": 0,
"sharedDispositivePower": 5351000,
"aggregateAmountOwned": 5351000,
"amountExcludesCertainShares": false,
"amountAsPercent": 20.3,
"typeOfReportingPerson": [
"OO"
]
},
{
"name": "Steven A. Cohen",
"memberOfGroup": {
"a": false,
"b": false
},
"sourceOfFunds": [
"OO"
],
"legalProceedingsDisclosureRequired": false,
"place": "United States",
"soleVotingPower": 0,
"sharedVotingPower": 5351000,
"soleDispositivePower": 0,
"sharedDispositivePower": 5351000,
"aggregateAmountOwned": 5351000,
"amountExcludesCertainShares": false,
"amountAsPercent": 20.3,
"typeOfReportingPerson": [
"IN"
]
}
]
}