

- 20+ million EDGAR filings and 100+ million exhibits — from license agreements, investor presentations, and other Reg FD disclosures, over insider trading, credit & bond agreements, bylaws, IPOs, secondaries & shelf offerings, M&A terms, government contracts, audit reports, SEC enforcement actions, AAERs, and executive employment agreements to board composition, subsidiaries, public float and cybersecurity incidents.
- 1.1M+ entities, survivorship-bias free — covers every SEC-regulated filer that ever reported, including delisted companies, dissolved funds, terminated advisors, and entities no longer reporting. From insiders and public/private companies to financial advisors, ETFs, mutual funds, hedge funds, money-market funds, institutional investors, foreign private issuers, BDCs, REITs, shell companies, brokers, dealers, asset-backed securities issuers, SROs, and more.
- All 500+ EDGAR form types — annual and quarterly reports (10-K, 10-Q, 20-F, 40-F), proxy voting statements (DEF 14A, PRE 14) and voting records, registration statements and prospectuses, and everything in between, including form types no longer in use.
- Full historical time range — from 1993 to present, with data updated in real-time.
The full API documentation is available at sec-api.io/docs.
Quick Start
pip install sec-api
Get your free API key on sec-api.io and replace YOUR_API_KEY with it.
Download EDGAR Filings and Exhibits
from sec_api import DownloadApi
# 200+ requests / second per account
downloadApi = DownloadApi(api_key="YOUR_API_KEY")
filing_url = "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.htm"
data = downloadApi.get_file(filing_url)
print(data[:1000])
Download Entire Datasets of SEC Filings
from sec_api import Datasets
datasets = Datasets(api_key="YOUR_API_KEY")
# downloads all 10-K filings (1993-present) to ./sec-api-datasets/form-10k-content/YYYY/YYYY-MM.zip
datasets.download("form-10k-content")
# all 13-F institutional holdings
datasets.download("form-13f-holdings")
Feature Overview
EDGAR Filing Search & Download APIs
Converter & Extractor APIs
Bulk Datasets
Investment Advisers
Ownership Data APIs
Investment Companies
Security Offerings APIs
Structured Material Event Data from Form 8-K
Public Company Data
Enforcement Actions, Proceedings, AAERs & SRO Filings
Other APIs
SEC EDGAR Filings Query API
The Query API allows you to search and filter all 20 million filings and exhibits published on SEC EDGAR using a large set of search parameters. The database behind the Query API includes all EDGAR filing form types published since 1993 and over 800,000 EDGAR filer entities, with new filings being indexed and searchable as soon as they are published on SEC EDGAR.
You can search filings by ticker, CIK, form type, filing date, SIC code, period of report, series and class IDs, items of 8-K and other filings, and many more. The API returns all filing metadata in a standardized JSON format.
Examples are provided below, in the official documentation, and in our sandbox.
Examples
The following example retrieves all 10-Q filings filed by TSLA in 2025.
from sec_api import QueryApi
queryApi = QueryApi(api_key="YOUR_API_KEY")
query = {
"query": "ticker:TSLA AND filedAt:[2025-01-01 TO 2025-12-31] AND formType:\"10-Q\"",
"from": "0",
"size": "10",
"sort": [{ "filedAt": { "order": "desc" } }]
}
filings = queryApi.get_filings(query)
print(filings)
Example Response (shortened)
{
"total": { "value": 47, "relation": "eq" },
"filings": [
{
"id": "3ba530142cd52e76b7e15cc9000d2c33",
"ticker": "TSLA",
"formType": "10-Q",
"description": "Form 10-Q - Quarterly report [Sections 13 or 15(d)]",
"accessionNo": "0001628280-25-045968",
"cik": "1318605",
"companyNameLong": "Tesla, Inc. (Filer)",
"companyName": "Tesla, Inc.",
"filedAt": "2025-10-22T21:08:43-04:00",
"periodOfReport": "2025-09-30",
"linkToHtml": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/0001628280-25-045968-index.htm",
"linkToFilingDetails": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.htm",
"linkToTxt": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/0001628280-25-045968.txt",
"entities": [
{
"fiscalYearEnd": "1231",
"stateOfIncorporation": "TX",
"act": "34",
"cik": "1318605",
"fileNo": "001-34756",
"irsNo": "912197729",
"companyName": "Tesla, Inc. (Filer)",
"type": "10-Q",
"sic": "3711 Motor Vehicles & Passenger Car Bodies"
}
],
"documentFormatFiles": [
{
"sequence": "1",
"size": "1573631",
"documentUrl": "https://www.sec.gov/ix?doc=/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.htm",
"description": "10-Q",
"type": "10-Q"
}
],
"dataFiles": [
{
"sequence": "5",
"size": "54524",
"documentUrl": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.xsd",
"description": "XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT",
"type": "EX-101.SCH"
}
]
}
]
}
Full example response
Find the most recently reported Form 8-K filings that include Item 9.01 “Financial Statements and Exhibits”.
query = {
"query": "formType:\"8-K\" AND items:\"9.01\"",
"from": "0",
"size": "10",
"sort": [{ "filedAt": { "order": "desc" } }]
}
filings = queryApi.get_filings(query)
Example Response (shortened)
{
"total": { "value": 47, "relation": "eq" },
"filings": [
{
"id": "3ba530142cd52e76b7e15cc9000d2c33",
"ticker": "TSLA",
"formType": "10-Q",
"description": "Form 10-Q - Quarterly report [Sections 13 or 15(d)]",
"accessionNo": "0001628280-25-045968",
"cik": "1318605",
"companyNameLong": "Tesla, Inc. (Filer)",
"companyName": "Tesla, Inc.",
"filedAt": "2025-10-22T21:08:43-04:00",
"periodOfReport": "2025-09-30",
"linkToHtml": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/0001628280-25-045968-index.htm",
"linkToFilingDetails": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.htm",
"linkToTxt": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/0001628280-25-045968.txt",
"entities": [
{
"fiscalYearEnd": "1231",
"stateOfIncorporation": "TX",
"act": "34",
"cik": "1318605",
"fileNo": "001-34756",
"irsNo": "912197729",
"companyName": "Tesla, Inc. (Filer)",
"type": "10-Q",
"sic": "3711 Motor Vehicles & Passenger Car Bodies",
"filmNo": "251411222",
"undefined": "04 Manufacturing)"
}
],
"documentFormatFiles": [
{
"sequence": "1",
"size": "1573631",
"documentUrl": "https://www.sec.gov/ix?doc=/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.htm",
"description": "10-Q",
"type": "10-Q"
}
],
"dataFiles": [
{
"sequence": "5",
"size": "54524",
"documentUrl": "https://www.sec.gov/Archives/edgar/data/1318605/000162828025045968/tsla-20250930.xsd",
"description": "XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT",
"type": "EX-101.SCH"
}
]
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/query-api
Full-Text Search API
Full-text search allows you to search the full text of all EDGAR filings submitted since 2001. The full text of a filing includes all data in the filing itself as well as all attachments (such as exhibits) to the filing.
The example below returns all 8-K and 10-Q filings and their exhibits, filed between 01-01-2021 and 14-06-2021, that include the exact phrase “LPCN 1154”.
from sec_api import FullTextSearchApi
fullTextSearchApi = FullTextSearchApi(api_key="YOUR_API_KEY")
query = {
"query": '"LPCN 1154"',
"formTypes": ['8-K', '10-Q'],
"startDate": '2021-01-01',
"endDate": '2021-06-14',
}
filings = fullTextSearchApi.get_filings(query)
print(filings)
Example Response
{
"total": { "value": 3, "relation": "eq" },
"filings": [
{
"accessionNo": "0001104659-21-080527",
"cik": "1535955",
"companyNameLong": "Lipocine Inc. (LPCN) (CIK 0001535955)",
"ticker": "LPCN",
"description": "EXHIBIT 99.1",
"formType": "8-K",
"type": "EX-99.1",
"filingUrl": "https://www.sec.gov/Archives/edgar/data/1535955/000110465921080527/tm2119438d1_ex99-1.htm",
"filedAt": "2021-06-14"
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/full-text-search-api
Filing & Exhibit Download API
Download any SEC EDGAR filing, exhibit and attached file in its original format (HTML, XML, JPEG, Excel, text, PDF, etc.). The API supports downloading all EDGAR form types, including 10-K, 10-Q, 8-K, 13-F, S-1, 424B4, and many others published since 1993 and provides access to over 18 million filings and over 100 million exhibits and filing attachments. Download up to 40 files per second.
from sec_api import DownloadApi
downloadApi = DownloadApi(api_key="YOUR_API_KEY")
# example URLs: SEC filings, exhibits, images, Excel sheets, PDFs
url_8k_html = "https://www.sec.gov/Archives/edgar/data/1045810/000104581023000014/nvda-20230222.htm"
url_8k_txt = "https://www.sec.gov/Archives/edgar/data/1045810/000104581023000014/0001045810-23-000014.txt"
url_exhibit99 = "https://www.sec.gov/Archives/edgar/data/1045810/000104581023000014/q4fy23pr.htm"
url_xbrl_instance = "https://www.sec.gov/Archives/edgar/data/1045810/000104581023000014/nvda-20230222_htm.xml"
url_excel_file = "https://www.sec.gov/Archives/edgar/data/1045810/000104581023000014/Financial_Report.xlsx"
url_pdf_file = "https://www.sec.gov/Archives/edgar/data/1798925/999999999724004095/filename1.pdf"
url_image_file = "https://www.sec.gov/Archives/edgar/data/1424404/000106299324017776/form10kxz001.jpg"
filing_8k_html = downloadApi.get_file(url_8k_html)
filing_8k_txt = downloadApi.get_file(url_8k_txt)
exhibit99 = downloadApi.get_file(url_exhibit99)
xbrl_instance = downloadApi.get_file(url_xbrl_instance)
# use .get_file() and set return_binary=True
# to get non-text files such as images, PDFs, etc.
excel_file = downloadApi.get_file(url_excel_file, return_binary=True)
pdf_file = downloadApi.get_file(url_pdf_file, return_binary=True)
image_file = downloadApi.get_file(url_image_file, return_binary=True)
# save files to disk
with open("filing_8k_html.htm", "wb") as f:
f.write(filing_8k_html.encode("utf-8"))
with open("pdf_file.pdf", "wb") as f:
f.write(pdf_file)
with open("image.jpg", "wb") as f:
f.write(image_file)
See the documentation for more details: https://sec-api.io/docs/sec-filings-render-api
PDF Generator API
SEC filings, including Forms 10-K, 10-Q, 8-K, and others, are typically published in HTML, XML, or text formats. The PDF Generator API enables the conversion of any SEC filing or exhibit into a PDF file, preserving all original formatting, tables, images, and other elements from the filing.
from sec_api import PdfGeneratorApi
pdfGeneratorApi = PdfGeneratorApi("YOUR_API_KEY")
# examples: 10-K filing, Form 8-K exhibit
url_10k_filing = "https://www.sec.gov/Archives/edgar/data/320193/000032019320000096/aapl-20200926.htm"
url_8k_exhibit_url = "https://www.sec.gov/ix?doc=/Archives/edgar/data/1320695/000132069520000148/ths12-31x201910krecast.htm"
# get PDFs
pdf_10k_filing = pdfGeneratorApi.get_pdf(url_10k_filing)
pdf_8k_exhibit = pdfGeneratorApi.get_pdf(url_8k_exhibit_url)
# save PDFs to disk
with open("pdf_10k_filing.pdf", "wb") as f:
f.write(pdf_10k_filing)
with open("pdf_8k_exhibit.pdf", "wb") as f:
f.write(pdf_8k_exhibit)
See the documentation for more details: https://sec-api.io/docs/sec-filings-render-api
SEC EDGAR Filings Real-Time Stream API
The Stream API provides a live stream (aka feed) of newly published filings on SEC EDGAR via WebSockets. A new filing is sent to your connected client as soon as it is published.
Install the websockets client:
pip install websockets
Run the example script below. Get your free API key on sec-api.io and replace YOUR_API_KEY with it.
import asyncio
import websockets
import json
API_KEY = "YOUR_API_KEY" # Replace this with your actual API key
SERVER_URL = "wss://stream.sec-api.io"
WS_ENDPOINT = SERVER_URL + "?apiKey=" + API_KEY
async def websocket_client():
try:
async with websockets.connect(WS_ENDPOINT) as websocket:
print("✅ Connected to:", SERVER_URL)
while True:
message = await websocket.recv()
filings = json.loads(message)
for f in filings:
print(f["accessionNo"], f["formType"], f["filedAt"], f["cik"])
except Exception as e:
print(f"An unexpected error occurred: {e}")
asyncio.run(websocket_client())
See the documentation for more details: https://sec-api.io/docs/stream-api
XBRL-To-JSON Converter API
Parse and standardize any XBRL and convert it to JSON or pandas dataframes. Extract financial statements and metadata from 10-K, 10-Q and any other SEC filing supporting XBRL.
The entire US GAAP taxonomy is fully supported. All XBRL items are fully converted into JSON, including us-gaap, dei and custom items. XBRL facts are automatically mapped to their respective context including period instants and date ranges.
All financial statements are accessible and standardized:
- StatementsOfIncome
- StatementsOfIncomeParenthetical
- StatementsOfComprehensiveIncome
- StatementsOfComprehensiveIncomeParenthetical
- BalanceSheets
- BalanceSheetsParenthetical
- StatementsOfCashFlows
- StatementsOfCashFlowsParenthetical
- StatementsOfShareholdersEquity
- StatementsOfShareholdersEquityParenthetical
Variants such as ConsolidatedStatementsofOperations or ConsolidatedStatementsOfLossIncome are automatically standardized to their root name, e.g. StatementsOfIncome.
Income Statement - Example Item
{
"StatementsOfIncome": {
"RevenueFromContractWithCustomerExcludingAssessedTax": [
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"startDate": "2019-09-29",
"endDate": "2020-09-26"
},
"value": "274515000000"
},
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"startDate": "2018-09-30",
"endDate": "2019-09-28"
},
"value": "260174000000"
}
]
}
}
Usage
There are 3 ways to convert XBRL to JSON:
htm_url: Provide the URL of the filing ending with .htm.
Example URL: sec.gov/…/tsla-10k_20201231.htm
xbrl_url: Provide the URL of the XBRL file ending with .xml. The XBRL file URL can be found in the dataFiles array returned by our query API. The array item has the description EXTRACTED XBRL INSTANCE DOCUMENT or similar.
Example URL: sec.gov/…/tsla-10k_20201231_htm.xml
accession_no: Provide the accession number of the filing, e.g. 0001564590-21-004599
from sec_api import XbrlApi
xbrlApi = XbrlApi("YOUR_API_KEY")
# 10-K HTM File URL example
xbrl_json = xbrlApi.xbrl_to_json(
htm_url="https://www.sec.gov/Archives/edgar/data/320193/000032019320000096/aapl-20200926.htm"
)
# access income statement, balance sheet and cash flow statement
print(xbrl_json["StatementsOfIncome"])
print(xbrl_json["BalanceSheets"])
print(xbrl_json["StatementsOfCashFlows"])
# 10-K XBRL File URL example
xbrl_json = xbrlApi.xbrl_to_json(
xbrl_url="https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231_htm.xml"
)
# 10-K accession number example
xbrl_json = xbrlApi.xbrl_to_json(accession_no="0001564590-21-004599")
Example Response (shortened)
{
"CoverPage": {
"DocumentPeriodEndDate": "2020-09-26",
"EntityRegistrantName": "Apple Inc.",
"EntityIncorporationStateCountryCode": "CA",
"EntityTaxIdentificationNumber": "94-2404110",
"EntityAddressAddressLine1": "One Apple Park Way",
"EntityAddressCityOrTown": "Cupertino",
"EntityAddressStateOrProvince": "CA",
"EntityAddressPostalZipCode": "95014",
"CityAreaCode": "408",
"LocalPhoneNumber": "996-1010",
"TradingSymbol": "AAPL",
"EntityPublicFloat": {
"decimals": "-6",
"unitRef": "usd",
"period": {
"instant": "2020-03-27"
},
"value": "1070633000000"
},
"EntityCommonStockSharesOutstanding": {
"decimals": "-3",
"unitRef": "shares",
"period": {
"instant": "2020-10-16"
},
"value": "17001802000"
},
"DocumentFiscalPeriodFocus": "FY",
"CurrentFiscalYearEndDate": "--09-26"
},
"StatementsOfIncome": {
"RevenueFromContractWithCustomerExcludingAssessedTax": [
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"startDate": "2019-09-29",
"endDate": "2020-09-26"
},
"segment": {
"dimension": "srt:ProductOrServiceAxis",
"value": "us-gaap:ProductMember"
},
"value": "220747000000"
},
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"startDate": "2018-09-30",
"endDate": "2019-09-28"
},
"segment": {
"dimension": "srt:ProductOrServiceAxis",
"value": "us-gaap:ProductMember"
},
"value": "213883000000"
}
]
},
"BalanceSheets": {
"CashAndCashEquivalentsAtCarryingValue": [
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"instant": "2020-09-26"
},
"value": "38016000000"
},
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"instant": "2019-09-28"
},
"value": "48844000000"
},
{
"decimals": "-6",
"unitRef": "usd",
"period": {
"instant": "2020-09-26"
},
"segment": {
"dimension": "us-gaap:FinancialInstrumentAxis",
"value": "us-gaap:CashMember"
},
"value": "17773000000"
}
]
}
}
See the documentation for more details: https://sec-api.io/docs/xbrl-to-json-converter-api
The Extractor API returns individual sections from 10-Q, 10-K and 8-K filings. The extracted section is cleaned and standardized - in raw text or in standardized HTML. You can programmatically extract one or multiple sections from any 10-Q, 10-K and 8-K filing.
Supported sections:
10-K Sections
- 1 - Business
- 1A - Risk Factors
- 1B - Unresolved Staff Comments
- 1C - Cybersecurity (introduced in 2023)
- 2 - Properties
- 3 - Legal Proceedings
- 4 - Mine Safety Disclosures
- 5 - Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities
- 6 - Selected Financial Data (prior to February 2021)
- 7 - Management’s Discussion and Analysis of Financial Condition and Results of Operations
- 7A - Quantitative and Qualitative Disclosures about Market Risk
- 8 - Financial Statements and Supplementary Data
- 9 - Changes in and Disagreements with Accountants on Accounting and Financial Disclosure
- 9A - Controls and Procedures
- 9B - Other Information
- 10 - Directors, Executive Officers and Corporate Governance
- 11 - Executive Compensation
- 12 - Security Ownership of Certain Beneficial Owners and Management and Related Stockholder Matters
- 13 - Certain Relationships and Related Transactions, and Director Independence
- 14 - Principal Accountant Fees and Services
- 15 - Exhibits and Financial Statement Schedules
10-Q Sections
-
Part 1:
- 1 - Financial Statements
- 2 - Management’s Discussion and Analysis of Financial Condition and Results of Operations
- 3 - Quantitative and Qualitative Disclosures About Market Risk
- 4 - Controls and Procedures
-
Part 2:
- 1 - Legal Proceedings
- 1A - Risk Factors
- 2 - Unregistered Sales of Equity Securities and Use of Proceeds
- 3 - Defaults Upon Senior Securities
- 4 - Mine Safety Disclosures
- 5 - Other Information
- 6 - Exhibits
8-K Sections
- 1.01: Entry into a Material Definitive Agreement
- 1.02: Termination of a Material Definitive Agreement
- 1.03: Bankruptcy or Receivership
- 1.04: Mine Safety - Reporting of Shutdowns and Patterns of Violations
- 1.05: Material Cybersecurity Incidents (introduced in 2023)
- 2.01: Completion of Acquisition or Disposition of Assets
- 2.02: Results of Operations and Financial Condition
- 2.03: Creation of a Direct Financial Obligation or an Obligation under an Off-Balance Sheet Arrangement of a Registrant
- 2.04: Triggering Events That Accelerate or Increase a Direct Financial Obligation or an Obligation under an Off-Balance Sheet Arrangement
- 2.05: Cost Associated with Exit or Disposal Activities
- 2.06: Material Impairments
- 3.01: Notice of Delisting or Failure to Satisfy a Continued Listing Rule or Standard; Transfer of Listing
- 3.02: Unregistered Sales of Equity Securities
- 3.03: Material Modifications to Rights of Security Holders
- 4.01: Changes in Registrant’s Certifying Accountant
- 4.02: Non-Reliance on Previously Issued Financial Statements or a Related Audit Report or Completed Interim Review
- 5.01: Changes in Control of Registrant
- 5.02: Departure of Directors or Certain Officers; Election of Directors; Appointment of Certain Officers: Compensatory Arrangements of Certain Officers
- 5.03: Amendments to Articles of Incorporation or Bylaws; Change in Fiscal Year
- 5.04: Temporary Suspension of Trading Under Registrant’s Employee Benefit Plans
- 5.05: Amendments to the Registrant’s Code of Ethics, or Waiver of a Provision of the Code of Ethics
- 5.06: Change in Shell Company Status
- 5.07: Submission of Matters to a Vote of Security Holders
- 5.08: Shareholder Nominations Pursuant to Exchange Act Rule 14a-11
- 6.01: ABS Informational and Computational Material
- 6.02: Change of Servicer or Trustee
- 6.03: Change in Credit Enhancement or Other External Support
- 6.04: Failure to Make a Required Distribution
- 6.05: Securities Act Updating Disclosure
- 6.06: Static Pool
- 6.10: Alternative Filings of Asset-Backed Issuers
- 7.01: Regulation FD Disclosure
- 8.01: Other Events
- 9.01: Financial Statements and Exhibits
- Signature
Usage
from sec_api import ExtractorApi
extractorApi = ExtractorApi("YOUR_API_KEY")
#
# 10-K example
#
# Tesla 10-K filing
filing_url_10k = "https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231.htm"
# get the standardized and cleaned text of section 1A "Risk Factors"
section_text = extractorApi.get_section(filing_url_10k, "1A", "text")
# get the original HTML of section 7 "Management’s Discussion and Analysis of Financial Condition and Results of Operations"
section_html = extractorApi.get_section(filing_url_10k, "7", "html")
#
# 10-Q example
#
# Tesla 10-Q filing
filing_url_10q = "https://www.sec.gov/Archives/edgar/data/1318605/000095017022006034/tsla-20220331.htm"
# extract section 1A "Risk Factors" in part 2 as cleaned text
extracted_section_10q = extractorApi.get_section(filing_url_10q, "part2item1a", "text")
#
# 8-K example
#
filing_url_8k = "https://www.sec.gov/Archives/edgar/data/66600/000149315222016468/form8-k.htm"
# extract section 1.01 "Entry into Material Definitive Agreement" as cleaned text
extracted_section_8k = extractorApi.get_section(filing_url_8k, "1-1", "text")
See the documentation for more details: https://sec-api.io/docs/sec-filings-item-extraction-api
Bulk Datasets
Download complete datasets for offline analysis and large-scale processing. All datasets are updated daily between 10:30 PM and 11:30 PM EST. Browse all available datasets at sec-api.io/datasets.
| Dataset |
Form Types |
Coverage |
Format |
| Form 10-K - Annual Reports |
10-K, 10-K/A, 10-KSB, 10-KT |
1993-present |
ZIP (HTML, TXT) |
| Form 10-Q - Quarterly Reports |
10-Q, 10-Q/A |
1993-present |
ZIP (HTML, TXT) |
| Form 8-K Exhibit 99 - Press Releases |
8-K, 8-K/A |
1994-present |
ZIP (HTML, TXT, PDF) |
| Earnings Results (Item 2.02) |
8-K, 8-K/A |
2004-present |
ZIP (HTML, TXT, PDF) |
| Form 4 - Changes in Ownership |
4, 4/A |
2009-present |
JSONL |
| Form 13F - Institutional Holdings |
13F-HR, 13F-HR/A |
2013-present |
JSONL |
| Form N-PORT - Fund Holdings |
NPORT, NPORT/A |
2019-present |
JSONL |
| Form DEF 14A - Proxy Statements |
DEF 14A |
1994-present |
ZIP (HTML, TXT) |
| View all datasets… |
|
|
|
Download a Dataset
Downloads are atomic (written to a .tmp file first, renamed on completion), so interrupted downloads are automatically resumed on the next run. Only new or updated files are downloaded — existing files are skipped if their size matches the remote. This makes it easy to keep a local copy of any dataset in sync with a single line of code.
from sec_api import Datasets
datasets = Datasets(api_key="YOUR_API_KEY")
# first run: downloads all containers to ./sec-api-datasets/form-10k-content/
datasets.download("form-10k-content")
# subsequent runs: only downloads new or updated containers, skips the rest
datasets.sync("form-10k-content")
# specify a custom directory
datasets.download("form-10k-content", path="./my-data/form-10k-content")
Alternatively, download the entire dataset as a single ZIP file:
datasets.download("form-10k-content", strategy="zip")
Set up a daily cron job or scheduled task to keep your local dataset up to date:
# sync.py - run daily via cron, e.g.: 0 6 * * * python sync.py
from sec_api import Datasets
datasets = Datasets(api_key="YOUR_API_KEY")
datasets.sync("form-10k-content", path="./my-data/form-10k-content")
List Available Datasets
from sec_api import Datasets
datasets = Datasets()
# no API key required - returns raw JSON list
all_datasets = datasets.get_all()
Example Response (shortened)
[
{
"datasetId": "1f11ba9b-e03a-6950-a464-a23fcc53ee6f",
"datasetIdInUrl": "audit-fees",
"name": "Audit Fees",
"description": "Structured dataset of annual audit fees extracted from SEC filings...",
"formTypes": ["DEF 14A"],
"containerFormat": ".jsonl.gz",
"fileTypes": ["JSONL"],
"updatedAt": "2026-04-09T05:00:01.000Z",
"earliestSampleDate": "2001-03-01",
"totalRecords": null,
"totalSize": 9792910
},
{
"datasetId": "1f12abbc-262c-65a0-8b3e-1288c41dcc76",
"datasetIdInUrl": "earnings-results-form-8-k-item-2-02",
"name": "Earnings Results - Form 8-K, Item 2.02 (2004-Present)",
"description": "The Form 8-K Item 2.02 Results Dataset contains all disclosures filed on EDGAR...",
"formTypes": ["8-K", "8-K/A"],
"containerFormat": "ZIP",
"fileTypes": ["HTML", "JSON", "TXT", "GIF", "JPG", "PDF"],
"updatedAt": "2026-04-09T07:07:44.885Z",
"earliestSampleDate": "2004-08-01",
"totalRecords": 2242018,
"totalSize": 154607640756
}
]
Or use show_all() for formatted terminal output:
datasets.show_all()
ID Name Format Size
────────────────────────────────────────────────── ─────────────────────────────────────────────────────── ────────── ────────────
audit-fees Audit Fees .jsonl.gz 9.8 MB
earnings-results-form-8-k-item-2-02 Earnings Results - Form 8-K, Item 2.02 (2004-Present) ZIP 154.6 GB
form-10k-content Form 10-K - Annual Reports - Filing Contents ZIP 33.8 GB
form-4 Form 4 – Statement of Changes in Beneficial Ownership .jsonl.gz 912.2 MB
...
28 datasets available. Browse all at https://sec-api.io/datasets
Get Dataset Details
# returns raw JSON dict
details = datasets.get_dataset_details("form-10k-content")
Example Response (shortened)
{
"datasetId": "1f11bb55-d58b-6080-bace-e7a62567f4b9",
"datasetDownloadUrl": "https://api.sec-api.io/datasets/form-10k-content.zip",
"name": "Form 10-K - Annual Reports - Filing Contents",
"description": "HTML and TXT files of all Form 10-K filings published since 1993...",
"updatedAt": "2026-04-09T07:07:57.058Z",
"earliestSampleDate": "1993-10-01",
"totalRecords": 303021,
"totalSize": 33809939825,
"formTypes": [
"10-K",
"10-K/A",
"10-K405",
"10-K405/A",
"10-KSB",
"10-KSB/A",
"10-KT",
"10-KT/A"
],
"containerFormat": "ZIP",
"fileTypes": ["TXT", "JSON", "HTML", "PAPER"],
"containers": [
{
"downloadUrl": "https://api.sec-api.io/datasets/form-10k-content/2026/2026-04.zip",
"key": "2026/2026-04.zip",
"size": 15593008,
"records": 167,
"updatedAt": "2026-04-09T07:07:57.058Z"
},
{
"downloadUrl": "https://api.sec-api.io/datasets/form-10k-content/2026/2026-03.zip",
"key": "2026/2026-03.zip",
"size": 616726590,
"records": 6468,
"updatedAt": "2026-04-02T02:52:01.741Z"
}
]
}
Or use show_dataset_details() for formatted terminal output:
datasets.show_dataset_details("form-10k-content")
Name: Form 10-K - Annual Reports - Filing Contents
Description: HTML and TXT files of all Form 10-K filings published since 1993...
Updated: 2026-04-09T07:07:57.058Z
Earliest data: 1993-10-01
Form types: 10-K, 10-K/A, 10-K405, 10-K405/A, 10-KSB, 10-KSB/A, 10-KT, 10-KT/A
Format: ZIP
Total records: 303,021
Total size: 33.8 GB
Containers: 390
Search and access Form ADV data for registered investment advisers, including firm information, individual advisors, direct/indirect owners, private fund data, and brochures.
Search Advisory Firms
from sec_api import FormAdvApi
formAdvApi = FormAdvApi("YOUR_API_KEY")
response = formAdvApi.get_firms(
{
"query": "Info.FirmCrdNb:361",
"from": "0",
"size": "10",
"sort": [{"Info.FirmCrdNb": {"order": "desc"}}],
}
)
print(response["filings"])
Example Response (shortened)
{
"total": { "value": 1, "relation": "eq" },
"filings": [
{
"Info": {
"SECRgnCD": "NYRO",
"FirmCrdNb": 361,
"SECNb": "801-16048",
"BusNm": "GOLDMAN SACHS & CO. LLC",
"LegalNm": "GOLDMAN SACHS & CO. LLC"
},
"MainAddr": {
"Strt1": "200 WEST STREET",
"City": "NEW YORK",
"State": "NY",
"Cntry": "United States",
"PostlCd": "10282",
"PhNb": "212-902-1000"
},
"Rgstn": [
{ "FirmType": "Registered", "St": "APPROVED", "Dt": "1981-05-13" }
],
"FormInfo": {
"Part1A": {
"Item1": { "Q1F5": 18, "Q1ODesc": "More than $50 billion" },
"Item5A": { "TtlEmp": 2268 },
"Item5F": { "Q5F2C": 133644228926, "Q5F2F": 46269 }
}
},
"id": 361
}
]
}
Full example response
Search Individual Advisors
response = formAdvApi.get_individuals(
{
"query": "CrntEmps.CrntEmp.orgPK:149777",
"from": "0",
"size": "10",
"sort": [{"id": {"order": "desc"}}],
}
)
print(response["filings"])
Example Response (shortened)
{
"total": { "value": 10000, "relation": "gte" },
"filings": [
{
"Info": {
"lastNm": "Nebot",
"firstNm": "Roman",
"indvlPK": 8213636,
"actvAGReg": "Y",
"link": "https://adviserinfo.sec.gov/individual/summary/8213636"
},
"CrntEmps": {
"CrntEmp": [
{
"orgNm": "MORGAN STANLEY",
"orgPK": 149777,
"CrntRgstns": {
"CrntRgstn": [
{
"regAuth": "FL",
"regCat": "RA",
"st": "APPROVED",
"stDt": "2026-02-02"
}
]
}
}
]
},
"Exms": {
"Exm": [
{
"exmCd": "S66",
"exmNm": "Uniform Combined State Law Examination",
"exmDt": "2025-12-08"
}
]
},
"id": 8213636
}
]
}
Full example response
Get Direct Owners (Schedule A)
direct_owners = formAdvApi.get_direct_owners(crd="793")
print(direct_owners)
Example Response (shortened)
[
{
"name": "ZEMLYAK, JAMES MARK",
"ownerType": "I",
"titleStatus": "EXECUTIVE VICE PRESIDENT & DIRECTOR",
"dateTitleStatusAcquired": "2002-08",
"ownershipCode": "NA",
"isControlPerson": true,
"isPublicReporting": false,
"crd": "1586132"
},
{
"name": "STIFEL FINANCIAL CORP.",
"ownerType": "DE",
"titleStatus": "SHAREHOLDER",
"dateTitleStatusAcquired": "1982-02",
"ownershipCode": "E",
"isControlPerson": true,
"isPublicReporting": true
}
]
Full example response
Get Indirect Owners (Schedule B)
indirect_owners = formAdvApi.get_indirect_owners(crd="326262")
print(indirect_owners)
Example Response (shortened)
[
{
"name": "CORIENT PARTNERS LLC",
"ownerType": "DE",
"entityOwned": "CORIENT PRIVATE WEALTH LLC",
"status": "OWNER",
"dateStatusAcquired": "2022-02",
"ownershipCode": "E",
"isControlPerson": true,
"isPublicReporting": false,
"crd": ""
},
{
"name": "CI FINANCIAL CORP.",
"ownerType": "FE",
"entityOwned": "CORIENT HOLDINGS INC",
"status": "OWNER",
"dateStatusAcquired": "2019-11",
"ownershipCode": "E",
"isControlPerson": true,
"isPublicReporting": false,
"crd": ""
}
]
Full example response
Get Other Business Names (Schedule D, Section 1.B)
other_business_names = formAdvApi.get_other_business_names(crd="149777")
print(other_business_names)
Example Response (shortened)
[
{
"name": "MORGAN STANLEY SMITH BARNEY",
"jurisdictions": [
"AL",
"AK",
"AZ",
"AR",
"CA",
"CO",
"CT",
"DE",
"DC",
"FL"
]
},
{
"name": "MORGAN STANLEY WEALTH MANAGEMENT",
"jurisdictions": [
"AL",
"AK",
"AZ",
"AR",
"CA",
"CO",
"CT",
"DE",
"DC",
"FL"
]
}
]
Full example response
Get Separately Managed Accounts (Schedule D, Section 5.K)
Retrieve details about separately managed accounts, including asset type distributions, borrowings, derivative exposures, and custodians.
separately_managed_accounts = formAdvApi.get_separately_managed_accounts(crd="149777")
print(separately_managed_accounts)
Example Response (shortened)
{
"1-separatelyManagedAccounts": {
"a": {
"i-exchangeTradedEquity": { "midYear": "58 %", "endOfYear": "58 %" },
"ii-nonExchangeTradedEquity": { "midYear": "0 %", "endOfYear": "0 %" },
"iii-usGovernmentBonds": { "midYear": "2 %", "endOfYear": "2 %" }
}
},
"2-borrowingsAndDerivatives": {
"a-i-midYear": {
"regulatoryAssetsUnderManagement": {
"lessThan10": "$ 1,556,490,216,199",
"between10And149": "$ 113,832,393,489",
"moreThan150": "$ 16,522,479,023"
},
"borrowings": {
"lessThan10": "$ 1,640,415,435",
"between10And149": "$ 53,635,978,014",
"moreThan150": "$ 67,201,944,992"
}
}
},
"3-custodiansForSeparatelyManagedAccounts": [
{
"a-legalName": "MORGAN STANLEY SMITH BARNEY LLC",
"b-businessName": "MORGAN STANLEY",
"d-isRelatedPerson": true,
"g-amountHeldAtCustodian": "$ 1,733,996,722,410"
}
]
}
Full example response
Get Financial Industry Affiliations (Schedule D, Section 7.A)
Retrieve related persons and financial industry affiliations, such as affiliated broker-dealers, investment advisers, insurance companies, and pooled investment vehicle sponsors.
financial_industry_affiliations = formAdvApi.get_financial_industry_affiliations(crd="149777")
print(financial_industry_affiliations)
Example Response (shortened)
[
{
"1-nameOfRelatedPerson": "MS CAPITAL PARTNERS ADVISER INC.",
"2-businessName": "MS CAPITAL PARTNERS ADVISER INC.",
"3-secFileNumber": "80169426",
"4a-crdNumber": "147521",
"5-typesOfRelatedPerson": ["b-otherAdviser", "f-commodityPoolOperator"],
"6-controlsRelatedPerson": false,
"7-underCommonControl": false,
"8a-relatedPersonActsAsCustodian": false,
"9a-exemptFromRegistration": false,
"11-shareSupervisedPersons": true,
"12-shareSameLocation": false
}
]
Full example response
Get Private Funds (Schedule D, Section 7.B.1)
private_funds = formAdvApi.get_private_funds(crd="793")
print(private_funds)
Example Response (shortened)
[
{
"1a-nameOfFund": "EI FUND II LLC",
"1b-fundIdentificationNumber": "805-4502496130",
"2-lawOrganizedUnder": { "state": "Missouri", "country": "United States" },
"3a-namesOfGeneralPartnerManagerTrusteeDirector": [
"STIFEL NICOLAUS & COMPANY, INC."
],
"6c-isFeederFundInMasterFeederAgreement": true,
"6d-nameIdOfMasterFund": "EI FUND V, LP",
"10-typeOfFund": {
"selectedTypes": ["other private fund"],
"otherFundType": "FEEDER INTO PRIVATE EQUITY FUND"
},
"11-grossAssetValue": 2027469,
"12-minInvestmentCommitment": 100000,
"13-numberOfBeneficialOwners": 25
}
]
Full example response
Get Brochures
response = formAdvApi.get_brochures(149777)
print(response["brochures"])
Example Response
{
"brochures": [
{
"versionId": 1033575,
"name": "CONSULTING GROUP ADVISOR PROGRAM BROCHURE",
"dateSubmitted": "2026-03-30",
"url": "https://files.adviserinfo.sec.gov/IAPD/Content/Common/crd_iapd_Brochure.aspx?BRCHR_VRSN_ID=1033575"
},
{
"versionId": 1033576,
"name": "PORTFOLIO MANAGEMENT AND INSTITUTIONAL CASH ADVISORY PROGRAM BROCHURE",
"dateSubmitted": "2026-03-30",
"url": "https://files.adviserinfo.sec.gov/IAPD/Content/Common/crd_iapd_Brochure.aspx?BRCHR_VRSN_ID=1033576"
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/investment-adviser-and-adv-api
Insider Trading Data API
Access Form 3, 4, and 5 filings that disclose insider ownership and trading activity by company officers, directors, and beneficial owners.
from sec_api import InsiderTradingApi
insiderTradingApi = InsiderTradingApi("YOUR_API_KEY")
data = insiderTradingApi.get_data({
"query": "documentType:3 AND issuer.tradingSymbol:NTB",
"from": "0",
"size": "50",
"sort": [{"filedAt": {"order": "desc"}}],
})
print(data["transactions"])
Example Response
{
"total": { "value": 10000, "relation": "gte" },
"transactions": [
{
"id": "9ec6b4513d930d643aa7bd45821be7ab",
"accessionNo": "0001975035-26-000012",
"filedAt": "2026-04-01T08:46:43-04:00",
"schemaVersion": "X0607",
"documentType": "3",
"periodOfReport": "2026-03-31",
"notSubjectToSection16": false,
"issuer": {
"cik": "1653242",
"name": "Bank of N.T. Butterfield & Son Ltd",
"tradingSymbol": "NTB"
},
"reportingOwner": {
"cik": "2120720",
"name": "Henton Andrew Michael",
"address": {
"street1": "59 FRONT STREET",
"city": "HAMILTON",
"zipCode": "HM 12"
},
"relationship": {
"isDirector": true,
"isOfficer": false,
"isTenPercentOwner": false,
"isOther": false
}
},
"nonDerivativeTable": {
"holdings": [
{
"securityTitle": "Bank of N.T. Butterfield & Son Ltd",
"coding": {},
"postTransactionAmounts": {
"sharesOwnedFollowingTransaction": 667
},
"ownershipNature": {
"directOrIndirectOwnership": "D"
}
}
]
},
"ownerSignatureName": "Tara Hidalgo, by power of attorney for Andr",
"ownerSignatureNameDate": "2026-04-01"
}
]
}
Full example response
data = insiderTradingApi.get_data({
"query": "documentType:4 AND issuer.tradingSymbol:TSLA",
"from": "0",
"size": "50",
"sort": [{"filedAt": {"order": "desc"}}],
})
print(data["transactions"])
Example Response
{
"total": { "value": 837, "relation": "eq" },
"transactions": [
{
"id": "b5e3ff9eca7a16f1b7fef6aef6767fbc",
"accessionNo": "0001104659-26-025379",
"filedAt": "2026-03-09T19:00:14-04:00",
"schemaVersion": "X0508",
"documentType": "4",
"periodOfReport": "2026-03-05",
"notSubjectToSection16": false,
"issuer": {
"cik": "1318605",
"name": "Tesla, Inc.",
"tradingSymbol": "TSLA"
},
"reportingOwner": {
"cik": "1771340",
"name": "Taneja Vaibhav",
"address": {
"street1": "C/O TESLA, INC.",
"street2": "1 TESLA ROAD",
"city": "AUSTIN",
"state": "TX",
"zipCode": "78725"
},
"relationship": {
"isDirector": false,
"isOfficer": true,
"officerTitle": "Chief Financial Officer",
"isTenPercentOwner": false,
"isOther": false
}
},
"nonDerivativeTable": {
"transactions": [
{
"securityTitle": "Common Stock",
"transactionDate": "2026-03-05",
"coding": {
"formType": "4",
"code": "M",
"equitySwapInvolved": false,
"footnoteId": ["F1"]
},
"amounts": {
"shares": 6538,
"pricePerShare": 0,
"acquiredDisposedCode": "A"
},
"postTransactionAmounts": {
"sharesOwnedFollowingTransaction": 20371,
"sharesOwnedFollowingTransactionFootnoteId": ["F2"]
},
"ownershipNature": {
"directOrIndirectOwnership": "D"
}
}
// ... more transactions
],
"holdings": [
{
"securityTitle": "Common Stock",
"coding": {},
"postTransactionAmounts": {
"sharesOwnedFollowingTransaction": 111000
},
"ownershipNature": {
"directOrIndirectOwnership": "I",
"natureOfOwnership": "See Footnote",
"natureOfOwnershipFootnoteId": ["F4"]
}
}
]
},
"derivativeTable": {
"transactions": [
{
"securityTitle": "Restricted Stock Unit",
"conversionOrExercisePrice": 0,
"transactionDate": "2026-03-05",
"coding": {
"formType": "4",
"code": "M",
"equitySwapInvolved": false
},
"exerciseDateFootnoteId": ["F5"],
"expirationDateFootnoteId": ["F5"],
"underlyingSecurity": {
"title": "Common Stock",
"shares": 6538
},
"amounts": {
"shares": 6538,
"pricePerShare": 0,
"acquiredDisposedCode": "D"
},
"postTransactionAmounts": {
"sharesOwnedFollowingTransaction": 65382
},
"ownershipNature": {
"directOrIndirectOwnership": "D"
}
}
]
},
"footnotes": [
{
"id": "F1",
"text": "Shares of the Issuer's common stock were issued to the reporting person upon the vesting of restricted stock units on March 5, 2026."
}
// ... more footnotes
],
"ownerSignatureName": "By: Aaron Beckman, Power of Attorney For: Vaibhav Taneja",
"ownerSignatureNameDate": "2026-03-09"
}
]
}
Full example response
data = insiderTradingApi.get_data({
"query": "documentType:5 AND issuer.tradingSymbol:SPWR",
"from": "0",
"size": "50",
"sort": [{"filedAt": {"order": "desc"}}],
})
print(data["transactions"])
Example Response
{
"total": { "value": 10000, "relation": "gte" },
"transactions": [
{
"id": "00101d987e5fd4e6d2bdcd1d9c17b170",
"accessionNo": "0001213900-26-031111",
"filedAt": "2026-03-18T18:49:54-04:00",
"schemaVersion": "X0609",
"documentType": "5",
"periodOfReport": "2025-12-28",
"notSubjectToSection16": false,
"issuer": {
"cik": "1838987",
"name": "SunPower Inc.",
"tradingSymbol": "SPWR"
},
"reportingOwner": {
"cik": "1253573",
"name": "MAIER LOTHAR",
"address": {
"street1": "C/O SUNPOWER INC.",
"street2": "45600 NORTHPORT LOOP EAST",
"city": "FREMONT",
"state": "CA",
"zipCode": "94538"
},
"relationship": {
"isDirector": true,
"isOfficer": false,
"isTenPercentOwner": false,
"isOther": false
}
},
"nonDerivativeTable": {
"transactions": [
{
"securityTitle": "Common Stock",
"transactionDate": "2025-05-23",
"coding": {
"formType": "4",
"code": "A",
"equitySwapInvolved": false
},
"timeliness": "L",
"amounts": {
"shares": 243169,
"pricePerShare": 0,
"pricePerShareFootnoteId": ["F1"],
"acquiredDisposedCode": "A"
},
"postTransactionAmounts": {
"sharesOwnedFollowingTransaction": 243169
},
"ownershipNature": {
"directOrIndirectOwnership": "D"
}
}
]
},
"footnotes": [
{
"id": "F1",
"text": "On May 23, 2025, the Company granted the Reporting Person 243,169 restricted stock units pursuant to the Company's 2023 Equity Incentive Plan, as amended, each of which fully vested into one share of common stock on the grant date."
}
],
"ownerSignatureName": "/s/ Lothar Maier",
"ownerSignatureNameDate": "2026-03-17"
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/insider-ownership-trading-api
The Form 144 API allows you to search and access all Form 144 filings from 2022 to present. Form 144 filings are filed with the SEC by corporate insiders who intend to sell restricted securities, such as vested stocks. The database includes information about the CIK and name of the insider, the issuer name and trading symbol, number of shares intended to be sold, the date of the transaction, the total value of the transaction, and more.
from sec_api import Form144Api
form144Api = Form144Api("YOUR_API_KEY")
search_params = {
"query": "entities.ticker:TSLA",
"from": "0",
"size": "50",
"sort": [{"filedAt": {"order": "desc"}}],
}
response = form144Api.get_data(search_params)
print(response["data"])
Example Response
{
"total": { "value": 72, "relation": "eq" },
"data": [
{
"id": "3196e422cd21d5a12a3acf756bb3e0a1",
"accessionNo": "0001950047-26-003078",
"fileNo": "001-34756",
"formType": "144",
"filedAt": "2026-03-30T17:31:46-04:00",
"entities": [
{
"cik": "1318605",
"ticker": "TSLA",
"companyName": "Tesla, Inc. (Subject)",
"type": "144"
},
{ "cik": "1331680", "companyName": "Wilson-Thompson Kathleen (Reporting)", "type": "144" }
],
"issuerInfo": {
"issuerCik": "1318605",
"issuerTicker": "TSLA",
"issuerName": "Tesla, Inc.",
"secFileNumber": "001-34756",
"issuerAddress": {
"street1": "1 Tesla Road",
"city": "Austin",
"stateOrCountry": "TX",
"zipCode": "78725"
},
"nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold": "KATHLEEN WILSON-THOMPSON",
"relationshipsToIssuer": "Director"
},
"securitiesInformation": [
{
"securitiesClassTitle": "Common",
"numberOfUnitsToBeSold": 25809,
"aggregateMarketValue": 9338470.47,
"approxSaleDate": "2026-03-30",
"securitiesExchangeName": "NASDAQ"
}
],
"securitiesToBeSold": [
{
"securitiesClassTitle": "Common",
"acquiredDate": "2026-03-30",
"natureOfAcquisitionTransaction": "Exercise of Stock Options",
"nameOfPersonFromWhomAcquired": "Issuer",
"amountOfSecuritiesAcquired": 1648
}
]
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/form-144-restricted-sales-api
Access Form 13F holdings in structured JSON format, including information on current and historical portfolio holdings of SEC-registered funds and investment managers, including issuer name, title of the securities class, CUSIP, CIK and ticker of the holding, value of the position in dollar, the number of shares held, investment discretion, voting authority, and more.
from sec_api import Form13FHoldingsApi
form13FHoldingsApi = Form13FHoldingsApi(api_key="YOUR_API_KEY")
search_params = {
"query": "cik:1350694 AND periodOfReport:2024-03-31",
"from": "0",
"size": "10",
"sort": [{ "filedAt": { "order": "desc" } }]
}
response = form13FHoldingsApi.get_data(search_params)
holdings = response["data"]
print(holdings)
Example Response
{
"total": { "value": 209, "relation": "eq" },
"data": [
{
"id": "289428b455d4eb55f298d84f544d3d61",
"accessionNo": "0001193125-26-054580",
"cik": "1067983",
"ticker": "BRK.B",
"companyName": "BERKSHIRE HATHAWAY INC",
"formType": "13F-HR",
"description": "Form 13F-HR - Quarterly report filed by institutional managers, Holdings",
"filedAt": "2026-02-17T16:05:04-05:00",
"periodOfReport": "2025-12-31",
"holdings": [
{
"nameOfIssuer": "ALLY FINL INC",
"cusip": "02005N100",
"titleOfClass": "COM",
"value": 576074081,
"shrsOrPrnAmt": { "sshPrnamt": 12719675, "sshPrnamtType": "SH" },
"investmentDiscretion": "DFND",
"votingAuthority": { "Sole": 12719675, "Shared": 0, "None": 0 },
"otherManager": "4",
"ticker": "ALLY",
"cik": "40729"
}
]
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/form-13-f-filings-institutional-holdings-api
Form 13F Cover Pages API
Search and access cover pages of Form 13F filings in standardized JSON format. Cover pages include details about the investment manager and fund, such as CIK, SEC file and CRD number, name, address, report type, other managers, and more.
from sec_api import Form13FCoverPagesApi
form13FCoverPagesApi = Form13FCoverPagesApi(api_key="YOUR_API_KEY")
search_params = {
"query": "cik:1698218 AND periodOfReport:[2023-01-1 TO 2024-12-31]",
"from": "0",
"size": "10",
"sort": [{ "filedAt": { "order": "desc" }}]
}
response = form13FCoverPagesApi.get_data(query)
cover_pages = response["data"]
print(cover_pages)
Example Response
{
"total": { "value": 13, "relation": "eq" },
"data": [
{
"id": "1ef1c3fa0b53c72620f026f0ab47e7c6",
"accessionNo": "0001350694-26-000001",
"filedAt": "2026-02-13T16:03:50-05:00",
"formType": "13F-HR",
"cik": "1350694",
"crdNumber": "105129",
"secFileNumber": "801-35875",
"form13FFileNumber": "028-11794",
"periodOfReport": "2025-12-31",
"isAmendment": false,
"filingManager": {
"name": "Bridgewater Associates, LP",
"address": {
"street": "One Nyala Farms Road",
"city": "Westport",
"stateOrCountry": "CT",
"zipCode": 6880
}
},
"reportType": "13F HOLDINGS REPORT",
"signature": {
"name": "Michael Kitson",
"title": "Chief Compliance Officer and Counsel",
"phone": "203-226-3030",
"signature": "/s/Michael Kitson",
"city": "Westport",
"stateOrCountry": "CT",
"signatureDate": "02-13-2026"
},
"tableEntryTotal": 1040,
"tableValueTotal": 27421613830
}
]
}
Full example response
See the documentation for more details: https://sec-api.io/docs/form-13-f-filings-institutional-holdings-api
The API allows you to easily search and access all SEC Form 13D and Form 13G filings in a standardized JSON format. You can search the database by any form field, such as the CUSIP of the acquired security, name of the security owner, or the aggregate amount owned in percetnage of total shares outstanding.
from sec_api import Form13DGApi
form13DGApi = Form13DGApi("YOUR_API_KEY")
# find the 50 most recently filed 13D/G filings disclosing 10% of 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)
print(response["filings"])
Example Response
{
"total": {
"value": 8,
"relation": "eq"
},
"filings": [
{
"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"]
}
]
}
]
}
README 内容过长,已截取前 64 KB。完整内容请前往 GitHub 仓库查看。
评论