Skip to main content

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.

Metadata

Release files for openbb-sec 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openbb-sec 2.0.0
File Size Uploaded
openbb_sec-2.0.0.tar.gz 570.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openbb-sec 2.0.0
File Interpreter ABI Platform
openbb_sec-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / openbb_sec-2.0.0.tar.gz

Download URL openbb_sec-2.0.0.tar.gz
Size 570.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b084ac586089cf145a1ea9d0910375dc9c52fa82fdeab34d56e60ebafc67a292
BLAKE2b-256 checksum
How to use checksums
9a3900522fba587f2c01d6e27e0c75abadcdb8314ee08691e51511ac1af2e0d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / openbb_sec-2.0.0-py3-none-any.whl

Download URL openbb_sec-2.0.0-py3-none-any.whl
Size 629.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cebdc4fc5cde743c34db39b04ae88af3a48a2542dec9d233322816315308beec
BLAKE2b-256 checksum
How to use checksums
587265804205ec2787c895291a3b9cefffed70f0fd4827021551612bf11564cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page