How do I download SEC Filings from EDGAR API?

By · May 13, 2025 · 5 min read

How do I download SEC Filings from EDGAR API?

Staying up to date on the latest SEC Filings is no easy task. In 2024, SEC EDGAR uploaded over 17,000 10-Q filings alone. Even with the SEC EDGAR search tool, that is a lot to parse through. Luckily, you don’t have to. Our SEC EDGAR API will do the searching for you. Whether you’re an investor, fintech developer, financial analyst, or researcher, SEC Filings has you covered.

Table of Contents

  • What Is Our SEC EDGAR API?
  • Key Features
  • Who Is Our SEC EDGAR API For?
  • Our API Services
  • See Our Query API in Action
  • Example: Searching For 10-Q Filings
  • Example: Technology Sector 8-Ks Mentioning “bankruptcy”
  • Getting Started

    What Is Our SEC EDGAR API?

    Our variety of APIs are fast, reliable, and user-friendly. With our SEC EDGAR API, you can search, stream, parse, convert, and download any publicly available SEC filing. There is no need to waste hours manually downloading filings or navigating clunky databases when the information you need is just a query away.

    Key Features

    • Real-Time Filing Access: Our APIs access all new SEC Filings in less than 200 milliseconds on average.
    • Free API Key: Our free Data and API Services plan includes 125 API calls, so you can try it before you buy it.
    • Comprehensive Filing Coverage: Our database hosts over 18 million filings dating back to 1993.
    • Extensive support: We support over 150 filing types. From 8-K filings to Annual Reports, SEC Filings has it all.
    • User-Friendly Interface: Our Sandbox is just a click away. If you get stuck, our extensive documentation will help you get back on track.

    Who Is Our SEC EDGAR API For?

    Our SEC EDGAR API is for anyone who needs fast and reliable access to the latest filings. Our scalable products can adapt to fit your needs, whether you’re a lone investor or a startup CEO. However, our API is ideal for the following:

    Investors

    Use our API data to stay ahead of the market. Track market-moving events like insider trades or bankruptcies so you can make informed investments.

    Analysts

    Spend more time analyzing your data and less dredging it up. Our APIs update in real time, so you can stay informed down to the millisecond.

    Academic and Economic Researchers

    Seamlessly access financial data dating back to 1993. Watch historical market shifts and discover modern trends on the same platform.

    Compliance and Legal Teams

    Use our APIs as your legal research assistant. Monitor corporate disclosures and regulatory risks, or keep an eye on major material events.

    Startups

    Empower your business and your users at the same time with the latest financial data. Add our SEC EDGAR API to your toolkit to catch industry trends early and run informed risk assessments.

    Financial News Outlets

    Be the first on the scene with real-time access to SEC disclosures. Keep your audience up to date with millions of SEC filings at your fingertips.

    Our API Services

    Query API

    Search your way with over 20 search parameters, including filer ticker symbols, CIKs, date ranges, and more. Our Query API delivers the filings you need in JSON format so you don’t have to wrestle with hard-to-parse files.

    Section 16 Insiders API

    Keeping track of Insider transactions has never been easier. Get instant access to an insider transaction database with our Section 16 Insiders API. Track details like transaction types (buy or sell), transaction dates, the number of shares traded, the insider’s identity, and the transaction price.

    Form D API

    Get the latest security offering information with our Form D API. Our Form D API scans the EDGAR database for you and converts the XML data into a searchable JSON format. You won’t have to struggle to extract valuable data with SEC Filings on your side.

    XBRL to JSON Converter API

    Have a mountain of filings stuck in XBRL format? Our XBRL to JSON Converter API has you covered. The XBRL API converts XBRL into JSON format in seconds, no coding needed. It can also extract financial statements from both annual and quarterly reports, so you only have to read the documents that matter to you.

    Download/PDF Generator API

    Download any SEC filing you need with our PDF Generator API. PDFs are more readable and shareable, so you don’t need to squint at JSON data or struggle to share massive files. With our PDF Generator API, you can access your filings your way.

    Mapping API

    Look up any public company with ease. Give our Mapping API a company’s CIK, ticker symbol, CUSIP, or company name to get all of its details. You can get a company’s business address, industry type, phone number, and more in one user-friendly package. Since the database updates daily, you will always have access to the latest company information.

    See Our Query API in Action

    Searching the entire EDGAR database with our Query API is as easy as typing into the Sandbox. If you need some ideas, see the queries below:

    Example: Searching For 10-Q Filings

    {

    “query”: {

    “query_string”: {

    “query”: “formType:\”10-Q\””

    }

    },

    “from”: “0”,

    “size”: “20”,

    “sort”: [{ “filedAt”: { “order”: “desc” } }]

    }

    Query Explanation

    • “formType:\”10-Q\”” – Just looks for 10-Q filings. It excludes all other filing types.
    • “from”: “0” – Starts counting through your results at 0. If you change this to 5, the API would ignore the first five results and start counting at 6.
    • “size”: “20” – Returns up to 20 results. Changing this number will change the number of results returned.
    • “sort”: [{ “filedAt”: { “order”: “desc” } }] – Sorts by filing date, starting with the newest filings.

    Response Explanation

    The query will return the following:

    • A list of the 20 most recent 10-Q filings from any publicly traded company in the U.S.

    Example: Technology Sector 8-Ks Mentioning “bankruptcy”

    {

    “query”: {

    “query_string”: {

    “query”: “formType:\”8-K\” AND sector:\”Technology\” AND text:\”bankruptcy\””

    }

    },

    “from”: “0”,

    “size”: “50”,

    “sort”: [{ “filedAt”: { “order”: “desc” } }],

    “filter”: {

    “range”: {

    “filedAt”: {

    “gte”: “2024-01-01”,

    “lte”: “2025-04-01”

    }

    }

    }

    }

    Query Explanation

    • “formType:\”8-K\”” – Just looks for 8-K filings. It excludes all other filing types.
    • “sector:\”Technology\”” – Filters for companies in the Technology industry.
    • “text:\”bankruptcy\”” – Only returns filings that contain the word “bankruptcy.” You can change this for a different keyword, or add another “text” parameter to filter for multiple words.
    • “sort”: [{ “filedAt”: { “order”: “desc” } }] – Sorts by filing date, starting with the newest filings.
    • “filter” – Only returns filings dated between January 1st, 2024 and January 1st, 2025. Changing this parameter will change the dates the Query API pulls from.
    • “size”: “50” – Returns up to 50 results. Changing this number will change the number of results returned.

    Response Explanation

    This query will return the following:

    • A list of up to 50 8-K filings that:
      • Were filed between January 1st, 2024 and January 1st, 2025.
      • Belong to Technology sector companies.
      • Contain the word “bankruptcy.”

    Getting Started

    If you have five minutes, you have more than enough time to sign up for your free API key. Getting started is as easy as making your account.

    1. Sign up for or log into your SEC Filingsaccount
    2. Click on your profile in the top right corner of your screen
    3. Select API Usageunder Account
      How do I search SEC Filings using EDGAR
    4. Select Generate under API Configuration
      Tip: If you get an authorization error while using the sandbox for the first time, try clearing your cookies.
      A web page labeled "Account" displays API configuration settings, including user ID, sandbox and live API keys, an API mode dropdown set to "Live," and a blue "GENERATE" button being clicked.
    5. Go to the Sandbox to use your new API

Learn More

Learn about our SEC Filing API and Investor Relations Website Services.

In this article

    Featured

    Tags

    10-K annual report (1) 10-K Filing (2) 10-K Filings (1) 10-K Report (2) 10-Q Filings (2) 10-Q quarterly report (1) 10-Q Report (1) 10-Q vs 10-K (1) 8-K filing (1) 8-K filing requirements (1) analyzing company earnings reports (1) Annual Report (2) Annual Reports (1) API for Investors (1) Assets (1) Blue sky laws (1) Business Model (1) Company Analysis (1) company earnings dates (1) Company Filings (1) Company Reports (1) corporate earnings schedule (1) corporate transactions (1) deal structure (1) earnings announcement dates (1) earnings calendar (1) earnings release dates (1) earnings report guidance and outlook (1) EDGAR Database (1) EDGAR Search (1) Exempt securities (1) Filing Insights (2) Financial Analyst (1) Financial Data API (1) Financial Filings (1) Financial Performance (1) financial reporting (1) Financial Reports (1) financial results dates (1) Financial Statements (5) Fiscal Year (1) Floating Stock (1) Form 1-A (1) Form 10-K (1) Form 10-Q (2) Form 8-K (2) Form D (1) Form DEF 14A (1) Form N-1A (1) Form N-CEN (1) Form N-CSR (1) Form N-Port (1) Form N-PX (1) Form S-1 (3) Going Public (1) Going Public Tips (1) how investors should read earnings reports (1) how to read 10-Q filings (1) how to tell if earnings are good or bad (1) income statement vs balance sheet in earnings (1) Initial Public Offering (1) Insider Buying and Selling (1) Insider Trading API (1) Insider Trading Trends 2025 (1) investment due diligence (1) Investment Signals from Insiders (1) Investor Relations Page (1) Investor Relations Strategy (1) Investor Research (1) IPO Advisors (1) IPO Filings (1) IPO Process (1) IPO Process Steps (1) key metrics in earnings reports (1) Legal Proceedings (2) Liabilities (1) M&A financial analysis (1) Market Sentiment Indicators (1) mergers and acquisitions (1) Opportunistic Insider Purchases (1) Pricing and Allocation (1) Private offerings (1) Proxy Statements (1) public company disclosure (1) Public Trading (1) quarterly earnings dates (1) Quarterly Report (1) quarterly report dates (1) reading SEC filings (10-Q) (1) red flags in earnings reports (1) Red Flags in SEC Filings (1) Registration Statement (2) Regulation D (1) Risk Factors (2) Rule 506 (1) S-1 Registration Statement (1) Search Filings (1) SEC EDGAR (1) SEC EDGAR API (1) SEC EDGAR Forms (1) SEC Filing (4) SEC Filing Data (4) SEC Filing Deadlines (1) SEC Filing Guide (1) SEC Filings (5) SEC Filings Search (1) SEC Form 10-Q (1) SEC Form 4 Insights (1) SEC Form 8-K (1) SEC Forms (1) sec proxy statement form (1) SEC Regulations (1) Securities Marketing (1) Share Issuance (1) Shareholder Equity (1) shareholder information (1) signs of trouble in quarterly earnings reports (1) stock earnings calendar (1) stock market earnings calendar (1) Stock Market Insider Activity (1) Stock Market Listing (1) Stockholders Market (1) understanding 10-Q reports (1) understanding quarterly earnings reports (1) Waiting Period (1) what to look for in earnings reports (1) what to look for in quarterly earnings (1) when do companies report earnings (1) When is a proxy statement filed (1)
    Get Started
    Get free alerts on your SEC filings with data insights
    Start for Free
    Get Started
    Get free alerts on your SEC filings with data insights
    Start for Free
    Share via
    Copy link