SEC EDGAR Filings Data via API

Search the SEC EDGAR database and extract full filing documents. 10-K, 10-Q, 8-K, and more. Two endpoints for company search and document retrieval. Structured JSON responses.

Company search across SEC EDGAR database Full document extraction (10-K, 10-Q, 8-K) Structured JSON responses Combine with LinkedIn company data for full intelligence

SEC Data Is Public but Not Easy to Use

SEC EDGAR is one of the most valuable public datasets for financial research, due diligence, and competitive intelligence. Every public company's financial statements, risk factors, executive compensation, and material events are documented in mandatory filings.

But EDGAR's interface was built in the 1990s and hasn't fundamentally changed. Downloading filings means navigating a web interface, finding the right document type, downloading HTML or plain text, and parsing the content yourself. For one company, this is tedious. For a portfolio of 50 companies, it's a project.

The SEC's EDGAR full-text search API exists but returns XML with nested filing metadata. Extracting the actual document content requires additional requests and parsing. Most financial data vendors charge $1,000–10,000+/month for structured access to the same public data.

Two Endpoints for SEC EDGAR Data

Company Search

POST https://api.anysite.io/api/sec/search/companies

Search the SEC EDGAR database by company name, CIK number, or ticker symbol. Returns matching companies with CIK numbers, filing history, and company metadata.

Parameters

Parameter Type Required Description
query string Yes Company name, CIK, or ticker
count integer No Number of results to return
Cost: 1 credit per request

Document Retrieval

POST https://api.anysite.io/api/sec/document

Get the full content of any SEC filing. Supports all filing types: 10-K (annual reports), 10-Q (quarterly reports), 8-K (material events), DEF 14A (proxy statements), S-1 (IPO filings), and more.

Parameters

Parameter Type Required Description
url string Yes SEC filing URL
filing_type string No Filing type filter (10-K, 10-Q, 8-K, etc.)
Cost: 1 credit per request

Code Examples

Python — Company Research
import requests

API_KEY = "YOUR_API_KEY"
BASE = "https://api.anysite.io"
headers = {"access-token": API_KEY}

# Search for a company
companies = requests.post(
    f"{BASE}/api/sec/search/companies",
    headers=headers,
    json={"query": "Tesla", "count": 5}
).json()

for company in companies["results"]:
    print(f"{company['name']} (CIK: {company['cik']})")

# Get a specific filing
filing = requests.post(
    f"{BASE}/api/sec/document",
    headers=headers,
    json={
        "url": companies["results"][0]["latest_10k_url"],
        "filing_type": "10-K"
    }
).json()

print(f"Filing date: {filing['date']}")
print(f"Content length: {len(filing['content'])} characters")
Anysite CLI
# Search companies
anysite api /api/sec/search/companies query="Tesla" count=5

# Get filing document
anysite api /api/sec/document url="https://sec.gov/..." filing_type=10-K

Use Cases

Investment Due Diligence

Problem

Evaluating a company for investment requires reading 10-K filings for financial performance, risk factors, and management discussion. For a portfolio of companies, this means accessing dozens of filings.

Solution

Search for target companies, pull their latest annual and quarterly filings, and extract the content for analysis. Feed into LLM summarization for quick risk factor extraction and financial highlights.

Competitive Financial Analysis

Problem

Understanding competitor financials — revenue growth, margins, R&D spending, and strategic priorities — requires reading their public filings regularly.

Solution

Set up a pipeline that pulls quarterly filings for your competitive set. Track financial metrics over time. Use LLM analysis to extract and compare specific data points.

Regulatory and Compliance Research

Problem

Tracking 8-K filings (material events) for companies in your portfolio or coverage universe. Executive departures, acquisitions, lawsuits, and other material events are disclosed in 8-K filings, often before they appear in news.

Solution

Monitor 8-K filings for target companies on a schedule. Extract event descriptions and dates for alerting and analysis.

Endpoint Pricing

Pay only for the data you pull. Credits are shared across all Anysite endpoints.

Endpoint Credit Cost
Company Search 1 credit
Document Retrieval 1 credit

At 1 credit per request, financial research is extremely cost-efficient. Pulling 10-K filings for 100 public companies costs approximately $0.33 on the Starter plan.

Frequently Asked Questions

What filing types are available?
All SEC filing types are accessible: 10-K (annual), 10-Q (quarterly), 8-K (current events), DEF 14A (proxy), S-1 (registration), 20-F (foreign private issuer), and more.
How current is the data?
The API accesses the SEC EDGAR database in real-time. Filings are available as soon as they appear on EDGAR.
Can I combine this with LinkedIn company data?
Yes. Use SEC data for financial intelligence and LinkedIn company data for employee metrics, leadership teams, and hiring signals. The combination provides a more complete picture than either source alone. Same API key, same credit balance.

Start Accessing SEC EDGAR Data

7-day free trial with 1,000 credits. Company search, full filing documents. Structured JSON from public financial data.