SEC EDGAR Data

SEC EDGAR Data

Finance

API to access annual reports of public US companies

Visit APIπŸ” Alternatives

πŸ“š Documentation & Examples

Everything you need to integrate with SEC EDGAR Data

πŸš€ Quick Start Examples

SEC EDGAR Data Javascript Examplejavascript
// SEC EDGAR Data API Example
const response = await fetch('https://www.sec.gov/edgar/sec-api-documentation', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Accessing annual reports of public US companies has never been easier with the comprehensive API provided by the SEC. This API enables developers to programmatically retrieve detailed financial disclosures and performance summaries from thousands of registered companies, streamlining the process of data analysis and research. By harnessing this powerful tool, users can effortlessly access the latest filings, making it invaluable for investors, analysts, and researchers seeking up-to-date corporate information to inform their decisions or studies. The well-designed API documentation available here provides clear guidelines on how to implement this service, ensuring that developers can integrate it seamlessly into their applications.

Utilizing the SEC's annual reports API offers numerous advantages. Here are just a few key benefits:

  • Access to a vast repository of SEC filings including 10-Ks, 10-Qs, and more.
  • Timely updates on company financials and business operations.
  • Customizable queries to filter reports based on specific criteria such as filing date or company name.
  • Enhanced capabilities for data analysis and reporting, essential for investment strategies.
  • Increased efficiency in research efforts, saving time and resources.

Here’s a simple JavaScript example for calling the SEC annual reports API:

const fetch = require('node-fetch');

async function fetchAnnualReport(ticker) {
    const url = `https://www.sec.gov/edgar/api/company/${ticker}/annual-reports`;
    try {
        const response = await fetch(url);
        if (!response.ok) {
            throw new Error(`Error fetching data: ${response.statusText}`);
        }
        const data = await response.json();
        console.log('Annual Report Data:', JSON.stringify(data, null, 2));
    } catch (error) {
        console.error('Fetching annual report failed:', error);
    }
}

fetchAnnualReport('AAPL'); // Example for Apple Inc.
πŸ”’

Security Assessment

D
πŸ”’HTTPS
Enabled
SSL Grade: T
πŸ›‘οΈHeaders
95/100
HSTSCSPXFO
πŸ•’Last Assessed
11 months ago
ℹ️Click for detailed analysis

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

May 5May 7May 9May 11May 13May 15May 17May 19May 21May 23May 25May 27May 29May 31Jun 304008001440Minutes
Online
Offline

Related APIs in Finance