From endpoint
to working workflow.
Original JavaScript and Python examples for the data the API actually returns. Run the request, keep its context, and understand its limits.
Find recent SEC filings from a ticker with JavaScript
Build a two-request Node.js workflow: resolve a ticker to a CIK, filter recent SEC filings by form, and retain the original document links and source metadata.
Build this workflow ↗PYTHON / WORKFLOWExport SEC companyfacts to CSV with Python
Use Python’s standard library to export bounded pages of reported SEC facts, preserving units, periods, accession numbers, and a separate source-provenance file.
Build this workflow ↗JAVASCRIPT / WORKFLOWBuild a provenance check for SEC filing responses
Write a small Node.js check for source URLs, fetch timestamps, stale flags, filing identifiers, and document links without overstating what metadata proves.
Build this workflow ↗JAVASCRIPT / WORKFLOWPaginate available SEC filing history with JavaScript
Traverse an issuer’s available SEC history with a bounded request budget, deduplicate accessions, and detect source snapshot changes.
Build this workflow ↗JAVASCRIPT / WORKFLOWFind and download SEC filing document text
Resolve a filing accession, inspect its real document manifest, and retrieve a bounded page of document text with Node.js.
Build this workflow ↗JAVASCRIPT / WORKFLOWExtract a 10-K risk-factor section with source context
Find an annual report and request Item1A using bounded heading-based extraction, retaining method and source metadata.
Build this workflow ↗JAVASCRIPT / WORKFLOWRead insider ownership XML without confusing holdings and trades
Find a Form4 accession and inspect parsed ownership records, transaction codes, decimal strings, and source footnotes.
Build this workflow ↗JAVASCRIPT / WORKFLOWRead a 13F information table without inventing value units
Retrieve an investment manager’s13F rows and preserve reported values, security identifiers, and amendment context.
Build this workflow ↗JAVASCRIPT / WORKFLOWSearch SEC filing text across companies with JavaScript
Query official SEC document matches with a phrase, form filter, and filing-date bounds while preserving pagination and match identity.
Build this workflow ↗PYTHON / WORKFLOWRead a daily SEC filing index with Python
Retrieve a published daily master index, preserve its source metadata, and distinguish daily filing discovery from real-time alerts.
Build this workflow ↗PYTHON / WORKFLOWDownload SEC filing metadata CSV and preserve its headers
Export a bounded annual-filing metadata page with Python, saving source and pagination headers next to the CSV.
Build this workflow ↗JAVASCRIPT / WORKFLOWCompare original and amended filing metadata
Retrieve10-K and10-K/A records separately and inspect their accessions and reporting dates without overwriting the original filing.
Build this workflow ↗JAVASCRIPT / WORKFLOWInspect SEC XML as source-native JSON
Select an actual XML document from a filing manifest and inspect its JSON representation while preserving source semantics.
Build this workflow ↗JAVASCRIPT / WORKFLOWExport Form D offering notices with JavaScript
Download a bounded page of quarterly Form D notices, preserve source strings and save archive provenance with the result.
Build this workflow ↗JAVASCRIPT / WORKFLOWSelect annual SEC revenue observations with JavaScript
Request exact annual periods, detect conflicting selected-filing values and preserve source provenance without inventing quarterly totals.
Build this workflow ↗What these tutorials cover
Company identity, available filing history, cross-company search, daily indexes, document text, section extraction, ownership XML,13F tables, source-native XML, reported XBRL observations, and CSV exports. They use the shipped endpoints and preserve the distinction between source data and your application’s interpretation.
Start with the quickstart to create an API key. Use the endpoint reference for parameter and response definitions, or inspect a real response in the playground. Source background is available in the official SEC API documentation.