Files
OpenBB/openbb_platform/providers/sec
dlee-bq f9b667816a fix(deps): resolve Dependabot security alerts (#7838)
* fix(deps): bump tornado, opentelemetry-api, soupsieve, dnspython, joserfc in uv.lock files

- tornado 6.5.10 -> 6.6.1
- opentelemetry-api 1.45.1 -> 1.45.2
- soupsieve 3.0.3 -> 4.1 (Python >= 3.11.5)
- dnspython 2.9.0 -> 2.9.2
- joserfc 1.7.5 -> 1.7.6

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump glob, minimatch, seroval

- glob 13.0.6 -> 14.0.6
- minimatch 10.2.6 -> 11.0.8
- seroval 1.6.9 -> 1.8.1
- raise the package.json floors to the patched versions

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump zip to 9.5.1 via tauri-cli and tauri-plugin-updater

- tauri-cli 2.12.2 -> 2.12.4
- tauri-plugin-updater 2.14.0 -> 2.14.1
- zip 2.4.2, 4.6.1, 8.6.0 -> 9.5.1

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(deps): raise requires-python to >=3.11.5

- soupsieve 3.x and 4.x need Python >= 3.11.5; the 2.10 fork stayed vulnerable for 3.11.0-3.11.4
- 39 pyproject.toml files (38 projects + cookiecutter template)
- relock all 38 uv.lock files: soupsieve 2.10 fork gone, tomli and async-timeout dropped

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

---------

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-11-28 20:39:03 +00:00
..
2026-09-29 14:45:53 +00:00
2026-09-29 14:45:53 +00:00
2026-09-29 14:45:53 +00:00

OpenBB SEC Provider

Free, key-less access to U.S. SEC EDGAR data for the OpenBB Platform — filings, financial statements, fund holdings, ownership, and full-text search, with a built-in OpenBB Workspace backend.

No credentials or API key required. Responses are persisted to a local disk cache so repeated queries are fast and offline-friendly.

Quick start

Launch the OpenBB Workspace backend with no prior install — uv fetches the package and runs it in one step:

uvx openbb-sec serve --host 0.0.0.0 --port 6900

Then add http://localhost:6900 as a custom backend in the OpenBB Workspace.

Installation

pip install openbb-sec

A single install brings the provider, the OpenBB Workspace dashboards, the Filing Viewer MCP, and the openbb-sec command.

Coverage

All endpoints are available under obb.sec.* in the Python/HTTP interface.

Area Endpoints
Filings & documents company_filings, latest_financial_reports, filing_headers, htm_file, full_text_search, rss_litigation, exhibit
10-K / 10-Q sections company_overview, risk_factors, legal_proceedings, disclosures, segment_revenue, financial_statements
Proxy statement (DEF 14A) executive_compensation, pay_versus_performance, beneficial_ownership, management_profiles
Funds nport_disclosure, nport_fund_metrics
Reference & lookups cik_map, symbol_map, institutions_search, sic_search, schema_files

The SEC provider also implements standard models — financial statements (balance_sheet, income_statement, cash_flow, and their *_growth), compare_company_facts, equity_search, equity_ftd, insider_trading, form_13f, and management_discussion_analysis. When openbb-equity / openbb-etf are installed these are reached as obb.equity.* / obb.etf.* with provider="sec"; when they are not, the same models register directly as obb.sec.*.

Basic usage

from openbb import obb

# Resolve identifiers
obb.sec.cik_map(symbol="AAPL")
obb.sec.symbol_map(query="0000320193")

# Filings and full-text search
obb.sec.company_filings(symbol="AAPL", form_type="10-K")
obb.sec.full_text_search(query="climate change", form_type="8-K")

# 10-K / 10-Q content (defaults to the latest filing)
obb.sec.risk_factors(symbol="AAPL")
obb.sec.financial_statements(symbol="AAPL", statement_type="balance")
obb.sec.segment_revenue(symbol="AAPL", calendar_year=2023)

# Proxy statement disclosures
obb.sec.executive_compensation(symbol="CAT")
obb.sec.pay_versus_performance(symbol="CAT")

# Fund holdings (N-PORT) and metrics
obb.sec.nport_disclosure(symbol="VTI")
obb.sec.nport_fund_metrics(symbol="VTI")

OpenBB Workspace

The package ships ready-to-use OpenBB Workspace dashboards (SEC Form 10-K/Q and SEC Filings), a Filing Viewer that re-serves EDGAR documents for in-app rendering, and an MCP server that exposes the open document to the Workspace agent as text.

Launch a self-contained Workspace backend:

openbb-sec serve --host 0.0.0.0 --port 6900

Cache management

The openbb-sec command also inspects and manages the disk cache:

openbb-sec info     # resolved cache folder, size limit, and disk usage
openbb-sec path     # print the resolved cache folder
openbb-sec clear    # empty the cache

The cache folder is resolved from, in order of precedence: the --cache-dir argument, the OPENBB_SEC_CACHE_DIR environment variable, the cache_directory preference from openbb.toml / user settings, then the OpenBB default (~/OpenBBUserData/cache/sec).

Variable Purpose Default
OPENBB_SEC_CACHE_DIR SEC cache folder ~/OpenBBUserData/cache/sec
OPENBB_SEC_CACHE_SIZE_LIMIT Max cache size (bytes or e.g. "8GB") 8GB
OPENBB_SEC_REQUESTS_PER_SECOND EDGAR request rate 9
OPENBB_SEC_MCP_HOST Filing Viewer MCP host 127.0.0.1
OPENBB_SEC_MCP_PORT Filing Viewer MCP port 7769

Documentation

Full documentation is available at docs.openbb.co.