SEC EDGAR
The U.S. Securities and Exchange Commission's public corporate-filing system, exposing structured XBRL 'company facts' via a JSON API — the raw public-data source in the wizard post's transparency pipeline.
Estimated reading time: 1 minute
Page Improvements
- Improve Page Polish content, structure, and presentation of this page
- Expand Page Add depth, examples, and missing sections to this page
- Update Page Refresh outdated content, versions, links, and screenshots
- Fix Page Issue Report a typo, broken link, layout glitch, or content bug
- SEO Optimize Improve discoverability, metadata, and structured data
- Accessibility Audit Audit this page for WCAG 2.1 AA compliance
Site Improvements
- UI/UX Improvement Propose a design or UX refinement for the theme
- New Feature Propose a new site-wide feature or capability
- Component Enhancement Improve a Jekyll layout, include, or shared component
- Performance Optimization Improve load time, Core Web Vitals, and asset delivery
Table of Contents
On this page
SEC EDGAR
Overview
EDGAR (Electronic Data Gathering, Analysis, and Retrieval) is the U.S. SEC’s public repository of corporate filings. In the wizard post it is the archetypal input to the transparency pipeline — the “boring 30-line script that pulls a public filing” starts here. The post uses its structured XBRL company-facts JSON API at data.sec.gov.
Key Facts
- Endpoint used:
https://data.sec.gov/api/xbrl/companyfacts/CIK{cik}.json, where the CIK (Central Index Key) is zero-padded to 10 digits. The post’s example fetches Apple Inc. (CIK0000320193). - Access etiquette / gotchas (from the post’s FAQ):
- EDGAR requires a descriptive
User-Agentwith a contact email; omitting it returns 403. - Stay under ~10 requests/second — don’t hammer the API.
- EDGAR requires a descriptive
- Role in the pipeline: one of three named public data sources (with GLEIF and OpenCorporates); committing the fetched JSON to a public repo is “the first stone of an ‘open ledger.’”
- Reference: the post links the SEC EDGAR XBRL API documentation.
Connections
- Radical Transparency — EDGAR is the pipeline’s first node; the full ingest snippet lives on that page.
- GLEIF — a sibling open corporate-data source.
Sources
- Wizard Topples Capitalist Dominance Ingeniously — “Example 1: A Transparent Financial Ingest” and the EDGAR-403 FAQ.