EDGAR Tool
2.1.2Command line interface to search and retrieve corporate and financial data from the SEC EDGAR database.
- Verified 24 Sept 2026
- pip 2.1.2
- MIT
- 216 stars
Install and run
otlite install edgar-toolInstalls
edgar-tool==2.1.2into its own virtualenv. otlite lists what it will install and asks before it starts.otlite run edgar-tool -- q:exampleType your own value to rewrite the commands. It stays in this page: nothing is sent or saved.
edgarreceivesedgar text-search example
No otlite yet? Install it in one line
curl -fsSL https://get.otinstaller.com/otlite | shLinux and macOS, no Docker. It uses your Python and pipx when both are there, and otherwise brings its own Python. About otlite · otlite docs
What it takes
Typed inputs after -- become EDGAR Tool's own arguments. Anything else after -- passes through unchanged, so every option of the tool still works.
| Input | With otlite | edgar receives |
|---|---|---|
Search termq: | otlite run edgar-tool -- q:example | edgar text-search example |
What a run leaves
Every run is saved under results/ where you run otlite (or --output, or OTLITE_RESULTS_DIR): what the tool printed, a sidecar with how it ran, and an envelope.
results/edgar-tool/example/<time>_edgar-tool_example_<run id>.txtresults/edgar-tool/example/<time>_edgar-tool_example_<run id>.meta.jsonresults/edgar-tool/example/<time>_edgar-tool_example_<run id>.envelope.json
{
"envelope": 1,
"tool": "edgar-tool@2.1.2",
"runtime": "otlite",
"input": { "target": "example" },
"case": null,
"started_at": "…", "ended_at": "…", "duration_ms": …,
"exit_code": 0,
"status": "complete",
"entities": [{ "type": "url", "value": "…" }, …],
"warnings": [],
"output": { "path": "results/edgar-tool/example/<time>_edgar-tool_example_<run id>.txt", "sha256": "…", "bytes": … }
}otlite results --tool edgar-toolotlite extract edgar-toolotlite diff edgar-tool exampleList the saved runs, pull out every indicator, or compare the two latest runs against the same target.
With other tools
Batch runs can't pass it a value, so run it on its own.