# SEC EDGAR Filing API Documentation > Documentation for 40+ SEC EDGAR APIs: filing search, full-text search, real-time stream, XBRL to JSON, section extractor, insider trading, Form 13F, Form ADV, Form D and more. Every filing since 1993 in JSON. Source: https://sec-api.io/docs Documentation for all APIs that search, stream, parse and download SEC EDGAR data. 100M+ filings and exhibits from 1.1M+ SEC registered entities across 500+ form types, going back to 1993. New filings are available 300 ms after publication. Every entity that ever reported is covered, from mega-cap issuers to dissolved funds and terminated advisers, survivorship bias free. ## How to access the data SEC and EDGAR data can be accessed in five ways: through the APIs, as bulk datasets in compressed archives, through a real-time stream of new EDGAR filings, through the MCP server from an AI assistant, and in the data browser, where any API can be queried without writing code. [APIsOver 40 endpoints. JSON, XML, text, files or PDF.](https://sec-api.io/docs)[Bulk datasets490 archives. Download once, query locally.](https://sec-api.io/datasets)[Real-time streamNew filings available 300 ms after publication.](https://sec-api.io/docs/stream-api)[MCP serverConnect Claude, ChatGPT, Codex and 50 more agents. One URL, nothing to install.](https://sec-api.io/docs/mcp-server)[Data browserRun any endpoint in the browser. No code.](https://sec-api.io/data-browser/query-api/recent-10-q) ## Quick start [More in Data Browser](https://sec-api.io/data-browser) #### Request [Run in Data Browser](https://sec-api.io/data-browser/query-api?query=formType%3A%2210-Q%22&from=0&size=50&sort=%5B%7B%22filedAt%22%3A%7B%22order%22%3A%22desc%22%7D%7D%5D) formType:"10-Q" Results per response Offset ``` from sec_api import QueryApi queryApi = QueryApi("YOUR_API_KEY") response = queryApi.get_filings({ "query": "formType:\"10-Q\"", "from": "0", "size": "50", "sort": [{"filedAt": {"order": "desc"}}], }) ``` ``` import { queryApi } from "sec-api"; queryApi.setApiKey("YOUR_API_KEY"); const response = await queryApi.getFilings({ query: 'formType:"10-Q"', from: "0", size: "50", sort: [{ filedAt: { order: "desc" } }], }); ``` ``` package main import ( "bytes" "fmt" "io" "net/http" ) func main() { payload := []byte(`{ "query": "formType:\"10-Q\"", "from": "0", "size": "50", "sort": [{ "filedAt": { "order": "desc" } }] }`) req, _ := http.NewRequest("POST", "https://api.sec-api.io", bytes.NewBuffer(payload)) req.Header.Set("Authorization", "YOUR_API_KEY") req.Header.Set("Content-Type", "application/json") res, err := http.DefaultClient.Do(req) if err != nil { panic(err) } defer res.Body.Close() out, _ := io.ReadAll(res.Body) fmt.Println(string(out)) } ``` ``` import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; public class Example { public static void main(String[] args) throws Exception { String payload = """ { "query": "formType:\\"10-Q\\"", "from": "0", "size": "50", "sort": [{ "filedAt": { "order": "desc" } }] }"""; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.sec-api.io")) .header("Authorization", "YOUR_API_KEY") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(payload)) .build(); HttpResponse response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""formType:\""10-Q\"""", ""from"": ""0"", ""size"": ""50"", ""sort"": [{ ""filedAt"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""\""LPCN 1154\"""", ""formTypes"": [""8-K"", ""10-Q""], ""startDate"": ""2021-01-01"", ""endDate"": ""2021-06-14"" }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/full-text-search", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""formType:\""13F-HR\"""", ""from"": ""0"", ""size"": ""1"", ""sort"": [{ ""filedAt"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/form-13f/holdings", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""nonDerivativeTable.transactions.coding.code:P"", ""from"": ""0"", ""size"": ""50"", ""sort"": [{ ""filedAt"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/insider-trading", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""ticker:TSLA AND year:2024"", ""from"": ""0"", ""size"": ""50"", ""sort"": [{ ""year"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/compensation", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""item4_01.engagementEndReason:\""dismissal\"""", ""from"": ""0"", ""size"": ""20"", ""sort"": [{ ""filedAt"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/form-8k", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var response = await client.GetAsync("https://api.sec-api.io/extractor?url=https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231.htm&item=1A&type=text"); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var payload = @"{ ""query"": ""Info.FirmCrdNb:361"", ""from"": ""0"", ""size"": ""10"", ""sort"": [{ ""Info.FirmCrdNb"": { ""order"": ""desc"" } }] }"; var content = new StringContent(payload, Encoding.UTF8, "application/json"); var response = await client.PostAsync("https://api.sec-api.io/form-adv/firm", content); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } } ``` ``` using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; class Example { static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("Authorization", "YOUR_API_KEY"); var response = await client.GetAsync("https://edgar-mirror.sec-api.io/815094/000156459021006205/abmd-8k_20210211.htm"); Console.WriteLine(await response.Content.ReadAsStringAsync()); } } ``` ``` abmd-8k_20210211.htm
... ``` ## All APIs ### EDGAR Filing Search & Download Find, stream and retrieve any filing or exhibit, and convert it into the format you need. [Filing Search & MetadataSearch every filing since 1993 by ticker, CIK, form type, date and 20 more fields.](https://sec-api.io/docs/query-api)[Full-Text SearchSearch the body of filings and their exhibits with keywords, phrases and boolean operators.](https://sec-api.io/docs/full-text-search-api)[Real-Time Filing StreamA WebSocket feed that pushes each new filing to your client as it is published.](https://sec-api.io/docs/stream-api)[EDGAR Ingestion Log & File IndexTrack what EDGAR published and when, and walk the daily and quarterly index archives.](https://sec-api.io/docs/edgar-index-apis)[Filing & Exhibit DownloadDownload any filing, exhibit, image, XML or TXT file exactly as it was filed.](https://sec-api.io/docs/edgar-file-and-sec-filings-download-api)[Filing to PDFConvert any HTML, XML or text filing into a PDF that keeps the original layout.](https://sec-api.io/docs/sec-filings-to-pdf-generator-api)[XBRL to JSONParse and standardise any XBRL from a filing into JSON, including every US GAAP element.](https://sec-api.io/docs/xbrl-to-json-converter-api)[Financial StatementsIncome statement, balance sheet and cash flow statement as searchable fields.](https://sec-api.io/docs/financial-statements)[Section Extractor10-K/10-Q/8-KPull any item from a 10-K, 10-Q or 8-K as clean text or standardised HTML.](https://sec-api.io/docs/sec-filings-item-extraction-api)[Bulk DatasetsDownload whole datasets as files when a query-by-query approach is too slow.](https://sec-api.io/datasets) ### Insider Trading & Institutional Ownership Who owns what, who bought and sold, and when they disclosed it. [Insider Trading3, 4, 5Every derivative and non-derivative transaction, with footnotes, in standardised JSON.](https://sec-api.io/docs/insider-ownership-trading-api)[Institutional Portfolio Holdings13FQuarterly holdings per manager, with CUSIP, ticker, share count and position value.](https://sec-api.io/docs/form-13-f-filings-institutional-holdings-api)[Fund Portfolio HoldingsN-PORTQuarterly portfolio holdings reported by mutual funds and other investment companies.](https://sec-api.io/docs/n-port-data-api)[Beneficial Ownership Reports13D/13GActivist and passive stakes above five percent, with issuer, security and event date.](https://sec-api.io/docs/form-13d-13g-search-api)[Insider & 5% Holder OwnershipDEF 14ASecurity ownership tables with 5% holders, directors and officers, pledged shares and voting power from proxy statements.](https://sec-api.io/docs/insider-5pct-holder-ownership-data-api)[Restricted Securities Sales144Notices of proposed sales of restricted securities, including amounts and sale dates.](https://sec-api.io/docs/form-144-restricted-sales-api) ### Investment Advisers Registration, assets under management and disciplinary history. [Investment Adviser RegistrationsADVMore than 400,000 firm and individual advisors including schedules A, B, D and brochures.](https://sec-api.io/docs/investment-adviser-and-adv-api) ### Investment Companies Annual reporting and proxy voting by registered funds. [Annual Reports by Investment CompaniesN-CENAnnual census reporting filed by registered investment companies.](https://sec-api.io/docs/form-ncen-api-annual-reports-investment-companies)[Proxy Voting RecordsN-PXHow each fund voted on every ballot item, filed annually.](https://sec-api.io/docs/form-npx-proxy-voting-records-api)[Fund Governance & FeesAdvisers and sub-advisers, advisory fee rates and breakpoints, expense caps and board approval factors from fund proxy statements.](https://sec-api.io/docs/fund-governance-data-api)[Fund ReorganizationsFund mergers, investment policy changes, structure conversions and liquidations from fund proxy statements.](https://sec-api.io/docs/fund-reorganizations-data-api) ### Offerings & Capital Raises Public and private offerings, from IPO prospectus to exemption. [Registration Statements & ProspectusesS-1/424B4IPOs, debt and rights offerings, with the registered amounts and terms.](https://sec-api.io/docs/form-s1-424b4-data-search-api)[Private Placements & Exempt OfferingsDIssuer, exemption claimed, security type, amount sold and still offered, minimum investment and investor counts.](https://sec-api.io/docs/form-d-xml-json-api)[Crowdfunding OfferingsCSecurity type, price, target and maximum raise, deadline, plus revenue, assets, debt and employee counts.](https://sec-api.io/docs/form-c-crowdfunding-api)[Regulation A Offering Statements1-A/1-K/1-ZOffering statements, annual reports and exit reports under Regulation A.](https://sec-api.io/docs/reg-a-offering-statements-api) ### Material Events Structured data extracted from the 8-K items that move a share price. [Entry into Material Agreements8-K 1.01Merger, credit, purchase, license and other material agreements, with parties, amounts, terms and amendments.](https://sec-api.io/docs/material-definitive-agreements-form-8k-item-1-01-data-api)[Agreement Terminations8-K 1.02Terminated material agreements, with the date, the party that ended them, the reasons, fees and replacements.](https://sec-api.io/docs/agreement-terminations-form-8k-item-1-02-data-api)[Bankruptcy and Receivership8-K 1.03Chapter 11 and Chapter 7 petitions, receiverships, DIP financing, restructuring support agreements and plan terms.](https://sec-api.io/docs/bankruptcy-receivership-form-8k-item-1-03-data-api)[Cybersecurity Incidents8-K 1.05Material cybersecurity incidents, with attack type, affected data, impact, response and disclosure delays.](https://sec-api.io/docs/cybersecurity-incidents-form-8k-item-1-05-data-api)[Auditor Changes & Accounting Disagreements8-K 4.01Former and new auditor, dismissal or resignation, disagreements, going concern and ICFR weaknesses.](https://sec-api.io/docs/auditor-accountant-changes-form-8k-item-4-01-data-api)[Financial Restatements & Non-Reliance8-K 4.02Statements that previously issued financials can no longer be relied upon.](https://sec-api.io/docs/financial-restatements-non-reliance-form-8k-item-4-02-data-api)[Director, Officer & Compensation Plan Changes8-K 5.02Appointments, departures and changes to compensation arrangements.](https://sec-api.io/docs/director-officer-changes-form-8k-item-5-02-data-api)[Shareholder Voting Results8-K 5.07Director elections, say-on-pay, auditor ratifications and shareholder proposals, with the votes for and against.](https://sec-api.io/docs/shareholder-voting-results-form-8k-item-5-07-data-api) ### Executive & Director Pay What companies pay their executives and directors, and how the pay is set. [Executive CompensationSalary, bonus, stock and option awards, incentive pay, pension change and total, per officer and year.](https://sec-api.io/docs/executive-compensation-api)[Director CompensationCash fees, stock and option awards and total pay per non-employee director, with retainers and ownership guidelines.](https://sec-api.io/docs/director-compensation-data-api)[Pay Versus PerformanceCompensation actually paid, total shareholder return, net income and the company-selected measure per year.](https://sec-api.io/docs/pay-versus-performance-data-api)[Executive Compensation GovernanceSay-on-pay response, clawbacks, gross-ups, pay consultants, peer groups, risk reviews and grant timing rules from proxy statements.](https://sec-api.io/docs/executive-compensation-governance-data-api)[Severance & Change in ControlPotential payments on termination or change in control per executive, with multiples, triggers and gross-ups.](https://sec-api.io/docs/severance-change-in-control-data-api) ### Board & Corporate Governance Board structure, oversight, shareholder rights and related party dealings. [Directors & Board MembersName, age, position, committee seats, independence, class and date first elected, per director.](https://sec-api.io/docs/directors-and-board-members-data-api)[Board OversightBoard size and independence, leadership roles, committees, meeting attendance and risk oversight.](https://sec-api.io/docs/board-oversight-data-api)[Shareholder Rights & DefensesClassified boards, dual-class voting, special meeting rights, supermajority votes, poison pills and forum provisions.](https://sec-api.io/docs/shareholder-rights-data-api)[Related Party TransactionsTransactions with directors, officers and 5% holders, with relationship, amount, approval and policy.](https://sec-api.io/docs/related-party-transactions-data-api)[ESG & Risk OversightBoard oversight of sustainability, cybersecurity and AI, climate targets, board diversity and ESG metrics in pay.](https://sec-api.io/docs/esg-oversight-data-api)[Compliance SignalsLate Section 16(a) reports, clawback flags, insider trading policies, filer status and exchange deficiency notices.](https://sec-api.io/docs/compliance-signals-data-api) ### Shareholder Meetings & Votes What shareholders vote on, how the meeting works and who challenges the board. [Ballot Items & Vote StandardsEach proposal with its proposer, board recommendation, required vote and the treatment of abstentions and broker non-votes.](https://sec-api.io/docs/vote-standards-data-api)[Shareholder Meetings CalendarMeeting date, format, location, record date, shares entitled to vote and voting deadlines.](https://sec-api.io/docs/shareholder-meetings-calendar-data-api)[Shareholder Proposals and Proxy ContestsShareholder proposals, proxy contests, settlement agreements, engagement and proxy access terms from proxy statements.](https://sec-api.io/docs/shareholder-proposals-proxy-contests-data-api)[M&A & Strategic TransactionsMergers, going-private deals, asset sales and SPAC transactions, with price, premium, fairness opinions and fees.](https://sec-api.io/docs/strategic-transactions-data-api) ### Audit & Company Data Audit, subsidiaries, share counts and equity plans. [Audit Reports on Financials & ICFRAuditor, tenure and PCAOB ID, opinion type, going concern, material weaknesses and critical audit matters.](https://sec-api.io/docs/audit-reports-database-api)[Audit FeesAudit, audit-related, tax and other fees paid to the auditor.](https://sec-api.io/docs/audit-fees-api)[Company SubsidiariesSubsidiaries disclosed by listed companies, with jurisdiction.](https://sec-api.io/docs/subsidiary-api)[Outstanding Shares & Public FloatShare counts and public float as reported on the filing cover page.](https://sec-api.io/docs/outstanding-shares-float-api)[Equity Plans & DilutionEquity compensation plan tables, share requests, burn rate, overhang, authorized share increases and reverse splits.](https://sec-api.io/docs/equity-plans-dilution-data-api) ### Broker-Dealers Financial and operational reporting by registered broker-dealers. [FOCUS ReportsX-17A-5Balance sheet, net capital and operational data filed by broker-dealers.](https://sec-api.io/docs/form-x-17a-5-focus-report-api) ### SEC Enforcement & Rulemaking What the SEC and the self-regulatory organisations published. [Enforcement ActionsAdministrative and civil actions brought by the SEC.](https://sec-api.io/docs/sec-enforcement-actions-database-api)[Litigation ReleasesCivil actions filed in federal court, with the release text.](https://sec-api.io/docs/sec-litigation-releases-database-api)[Administrative ProceedingsProceedings heard before an administrative law judge.](https://sec-api.io/docs/sec-administrative-proceedings-database-api)[Accounting & Auditing Enforcement ReleasesAAEREnforcement matters involving accounting and auditing failures.](https://sec-api.io/docs/aaer-database-api)[SRO Rule FilingsProposed rule changes filed by exchanges and other SROs.](https://sec-api.io/docs/sro-filings-database-api) ### Identifiers & Entities Resolve an identifier to an entity, and list what exists. [CIK, Ticker & CUSIP MappingMap any identifier to its entity, and list listed and delisted US stocks.](https://sec-api.io/docs/mapping-api)[EDGAR Entities DatabaseEvery filer registered with the SEC, with address, SIC and former names.](https://sec-api.io/docs/edgar-entities-database-api) ## Next steps [Create a free API keyNo card needed. Run your first query in a minute.](https://sec-api.io/signup)[API referenceEvery parameter, every response field, every status code.](https://sec-api.io/api-reference)[PricingRequest volumes and what each plan includes.](https://sec-api.io/pricing)