# SEC filings in ChatGPT: the sec-api.dev app

Canonical: https://sec-api.dev/chatgpt

> sec-api.dev is an app in ChatGPT. Connect it with a free account (OAuth, no API key in the chat) and ask about filings, insider trades, 13F holdings and XBRL financials; answers cite SEC documents.

Open the app: https://chatgpt.com/plugins/plugin_asdk_app_6ae0ef2436ac8191941dae8a4d732669

## Example prompts

- What did Apple report as revenue in its last three 10-K filings? Cite the filings. (tools: search_companies, get_companyfacts)
- List the insider purchases (code P) filed for NVIDIA in the latest quarter, with prices. (tools: query_insider_transactions)
- Find Microsoft’s most recent 8-K and summarize Item 2.02. (tools: get_filings, get_documents, extract_section)
- What is the CIK for Berkshire Hathaway and what forms has it filed recently? (tools: search_companies, get_filings)
- Search 10-K filings from 2026 that mention "tariff" in risk factors. (tools: search_filing_text)
- Show the 13F holdings table from Berkshire Hathaway’s latest 13F-HR. (tools: get_filings, get_13f_holdings)

## Tools

- `search_companies`: Ticker/name → CIK. Current ticker directory.
- `get_company`: CIK → source company profile.
- `get_filings`: CIK → filings, exact form, recent or available full history.
- `get_companyfacts`: CIK → reported facts; taxonomy, concept and unit filters.
- `search_filing_text`: SEC document matches; query, form, CIK and date filters.
- `get_daily_index`: A published SEC daily index; not a live feed.
- `get_documents`: Accession → manifest, then bounded text from a listed filename.
- `extract_section`: 10-K/10-Q/8-K heading-based extraction; verify boundaries.
- `get_insider_records`: One Forms 3/4/5 XML: transactions, holdings and footnotes.
- `get_13f_holdings`: One 13F information table; not a reconciled portfolio.
- `get_filing_xml`: One verified XML document → source-native JSON.
- `query_insider_transactions`: Imported quarterly transactions with exact filters, facets and snapshot guard; default1/max10 rows.

---
Independent. Not affiliated with, endorsed by, or sponsored by the U.S. Securities and Exchange Commission. Data is reproduced from public SEC filings and datasets. Not investment advice.
API: https://sec-api.dev/docs · ChatGPT app: https://chatgpt.com/plugins/plugin_asdk_app_6ae0ef2436ac8191941dae8a4d732669 · Free key: https://sec-api.dev/sign-up
