SEC EDGAR Data API

⭐ Beginner's Pick Finance / No Auth Required Beginner HTTPS CORS
Free to Use Varies (check documentation)

Overview

SEC EDGAR Data API provides free access to financial filings, annual reports (10-K), quarterly reports (10-Q), and ownership data for all publicly traded US companies. No API key is required — just use your email address as the User-Agent header to comply with SEC fair-access rules. It is a powerful resource for financial research, stock analysis, and building data-driven investment tools.

💡

Beginner Tip

Always set a descriptive User-Agent header including your email address (e.g., "MyApp/1.0 [email protected]") — the SEC requires this for API access and will block requests that omit it.

Available Data

SEC EDGAR Data data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from SEC EDGAR Data",
    "description": "API to access annual reports of public US companies",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

cik The company Central Index Key, a unique identifier assigned by the SEC.
name Official registered name of the company.
tickers Stock ticker symbols associated with this company.
exchanges Stock exchanges where the company is listed.
filings.recent Arrays of recent filing metadata including form type, date, and accession number.
sic Standard Industrial Classification code describing the industry.

Implementation Example

const url = "https://www.sec.gov/edgar/sec-api-documentation";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

403 Forbidden or rate limit block Missing, generic, or bot-like User-Agent header.
Set a User-Agent like "CompanyName AppName/Version [email protected]" as the SEC explicitly requires this format.
404 Not Found Incorrect CIK number format.
CIK numbers must be zero-padded to 10 digits (e.g., CIK0000320193 for Apple). Look up CIKs at https://www.sec.gov/cgi-bin/browse-edgar.
Large/slow response Company submissions files can be very large for major corporations.
Use the companyfacts or frames endpoints for aggregated data instead of parsing all raw submissions.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 42ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Finance
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →