data
SEC EDGAR CLI for AI Agents
Use the SEC EDGAR CLI from KosmoKrator to call SEC EDGAR tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.SEC EDGAR CLI Setup
SEC EDGAR can be configured headlessly with `kosmokrator integrations:configure sec-edgar`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure sec-edgar --enable --read allow --write ask --json
kosmokrator integrations:doctor sec-edgar --json
kosmokrator integrations:status --json Credentials
Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
No credentials are required.
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call sec-edgar.sec_edgar_submissions '{}' --json kosmo integrations:sec-edgar sec_edgar_submissions '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs sec-edgar --json
kosmo integrations:docs sec-edgar.sec_edgar_submissions --json
kosmo integrations:schema sec-edgar.sec_edgar_submissions --json
kosmo integrations:search "SEC EDGAR" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
sec-edgar.sec_edgar_submissions
Retrieve current public filing history for a CIK.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_submissions '{}' --json kosmo integrations:sec-edgar sec_edgar_submissions '{}' --json sec-edgar.sec_edgar_submission_file
Retrieve an additional paginated submissions JSON file.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_submission_file '{}' --json kosmo integrations:sec-edgar sec_edgar_submission_file '{}' --json sec-edgar.sec_edgar_company_facts
Retrieve all standardized XBRL company facts for a CIK.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_company_facts '{}' --json kosmo integrations:sec-edgar sec_edgar_company_facts '{}' --json sec-edgar.sec_edgar_company_concept
Retrieve one taxonomy concept across filings for a CIK.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_company_concept '{}' --json kosmo integrations:sec-edgar sec_edgar_company_concept '{}' --json sec-edgar.sec_edgar_frames
Retrieve an XBRL frame across reporting entities.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_frames '{}' --json kosmo integrations:sec-edgar sec_edgar_frames '{}' --json sec-edgar.sec_edgar_company_tickers
Retrieve SEC CIK, ticker, and company-title mappings.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_company_tickers '{}' --json kosmo integrations:sec-edgar sec_edgar_company_tickers '{}' --json sec-edgar.sec_edgar_company_tickers_exchange
Retrieve SEC CIK, ticker, exchange, and company-title mappings.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_company_tickers_exchange '{}' --json kosmo integrations:sec-edgar sec_edgar_company_tickers_exchange '{}' --json sec-edgar.sec_edgar_bulk_archives
Return official SEC bulk archive ZIP URLs.
read - Parameters
- none
kosmo integrations:call sec-edgar.sec_edgar_bulk_archives '{}' --json kosmo integrations:sec-edgar sec_edgar_bulk_archives '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
sec-edgar.sec_edgar_submissions 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_submissions --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_submission_file 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_submission_file --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_company_facts 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_company_facts --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_company_concept 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_company_concept --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_frames 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_frames --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_company_tickers 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_company_tickers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_company_tickers_exchange 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_company_tickers_exchange --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
sec-edgar.sec_edgar_bulk_archives 0 parameters
kosmo integrations:schema sec-edgar.sec_edgar_bulk_archives --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.