SEC EDGAR: filings, insider trades, 13F

v1.0.3
io.github.Bosco-Labs/sec-edgar-insider-trades Checked 4 days ago Published 18 days ago

SEC EDGAR filings (8-K, 10-K, 10-Q), Form 4 insider trading, 13F holdings and XBRL financials

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_lei_record LEI lookup (GLEIF, free)

Free, no API token needed. Legal Entity Identifier (LEI) lookup in the official GLEIF register: about 2.9 million companies, funds and other legal entities worldwide (source: GLEIF API, CC0 open data). Use it to identify a company: its exact legal name, LEI, whether it is active, its jurisdiction and country, its local registration number and its ultimate parent company. Pass an LEI (exact record) or a company name (best matches first; check `legal_name`). Returns one row per entity: lei, legal_name, entity_status (ACTIVE/INACTIVE), registration_status (ISSUED, LA…

ParameterTypeDescription
query *stringA 20-character LEI, e.g. 724500Y6DUVHQD6OXN27, or a company name, e.g. "Heineken"
max_resultsintegerMax companies for a name search (1-5).

find_sec_company SEC company lookup: ticker to CIK (free)

Free, no API token needed. Identify a US-listed (SEC-registered) company: CIK, official name, ticker(s), exchange(s), industry (SIC code) and state of incorporation (source: SEC EDGAR company tickers file and submissions API). Use it to turn a ticker or name into the CIK that SEC tools take, or to check which exchange a stock trades on. Pass a ticker, a CIK or part of the name (best matches first, then by company size; check `name`). A name search covers companies with a listed ticker (about 10,000); a CIK also finds filers without one. Returns one row per company…

ParameterTypeDescription
query *stringA ticker (AAPL), a CIK (320193) or part of the company name ("apple")
max_resultsintegerMax companies for a name search (1-5).

get_eu_annual_reports EU annual report financials (ESEF)

Audited annual financials of European listed companies, from their official ESEF annual reports (source: filings.xbrl.org; EU/EEA, UK and Ukraine, about 27,600 reports from 28 countries; Germany is not covered). Use it for revenue, profit, margins, EPS, balance sheet, cash flow or dividends of a listed European company. Pass exactly one of `lei` (most precise) or `company` (case-insensitive part of the registered name; it can match several companies, so check `company_name`). `countries` narrows a name search. Newest fiscal year first. Returns one row per annual r…

ParameterTypeDescription
companyPart of the name, e.g. "heineken"
countriesISO alpha-2 filing countries, e.g. ['NL']
lei20-character Legal Entity Identifier
max_resultsintegerMax annual reports to return (1-10).

get_company_accounts UK, Danish and Norwegian company accounts

Financials of UK, Danish and Norwegian companies, including private ones, from the accounts they file with Companies House (UK), Erhvervsstyrelsen (DK) and the Brønnøysund Register of Company Accounts (NO). Use it for revenue, profit, equity, cash or employees of a (private) company in these countries when you know its registration number. Coverage: UK every year filed digitally (iXBRL; paper/PDF-only years are skipped, and small UK companies often file no profit and loss account); Denmark all years; Norway the last 3 fiscal years (own accounts, not group). Pass…

ParameterTypeDescription
dk_cvr_numbersDanish 8-digit CVR numbers, e.g. 24256790
max_resultsintegerMax company-years per country to return (1-10).
no_org_numbersNorwegian 9-digit org numbers, e.g. 923609016
uk_company_numbersCompanies House numbers, e.g. 03117531

search_sec_insider_trades SEC insider trades (Form 4)

US insider trades reported to the SEC on Form 4 (officers, directors, 10% owners), from today's filings back to 2006 (source: SEC EDGAR Form 4 XML and the SEC insider data sets). Use it for "who is buying/selling stock X", insider activity before an event, or market-wide insider buying (cluster buys). Filter by tickers or CIKs (omit both for the whole market; a whole-market scan of many days can take a minute or more, so prefer tickers). Filing date range: date_from/date_to, or the last `lookback_days` days. Newest first. Returns one row per transaction: filing_da…

ParameterTypeDescription
ciks
clusterOnly trades in a cluster: 2+ directors/officers of one company trading the same way within 30 days, together >= $100,000
date_from
date_to
insider_roles
lookback_daysDays back when date_from is omitted; omit for the default (90 days for tickers/CIKs, 7 days for the whole market)
max_resultsintegerMax transactions to return (1-100).
min_value_usdintegerSkip smaller trades
tickers
transaction_codesForm 4 codes; omit for P (open-market purchase) and S (sale). Others: A award, M option exercise, F tax withholding, G gift.

search_sec_filings SEC EDGAR filings feed

SEC EDGAR filings of US-listed companies and other filers: any form (8-K, 10-K, 10-Q, S-1, 13D/13G, Form 4, DEF 14A, 20-F, ...), from filings accepted minutes ago back to 1994 (source: SEC EDGAR submissions API, indexes and live feed). Use it to find a company's latest reports, earnings release dates and times, officer changes or other 8-K events, or market-wide filings of one type. Filter by tickers or CIKs (omit both for the whole market), form types, 8-K item codes or earnings releases only. Filing date range: date_from/date_to, or the last `lookback_days` days.…

ParameterTypeDescription
ciks
date_from
date_to
earnings_releases_onlybooleanOnly 8-K item 2.02 earnings releases
form_typese.g. 8-K, 10-K, 10-Q, S-1, 13D, DEF 14A
item_codes_8kOnly 8-Ks with these items, e.g. 5.02 (officer change), 1.01, 2.01
lookback_daysDays back when date_from is omitted; omit to get a company's latest filings of any date (tickers/CIKs) or the last 7 days (whole market)
max_resultsintegerMax filings to return (1-100).
tickers

search_us_house_stock_trades US House stock trades

Stock, option, fund and bond trades disclosed by members of the US House of Representatives under the STOCK Act (Periodic Transaction Reports), from January 2014 to today (source: official filings of the Clerk of the House). Use it for "what did Representative X trade", "which House members traded NVDA", or recent congressional trades. Filter by member name, tickers, transaction type and filing date (default: the last 30 days); use `years` for older history. Newest filings first. Returns one row per trade: member_name, state_district, filing_date, transaction_date,…

ParameterTypeDescription
filed_fromDefault: 30 days ago
filed_to
max_resultsintegerMax trades to return (1-100).
membersPart of the member name, e.g. "Pelosi"
min_amount_usde.g. 15001 skips the $1,001-$15,000 range
tickers
transaction_types
yearsWhole filing years for history, e.g. [2020, 2021]

search_eu_tenders EU public tenders (TED)

European public procurement notices from TED (Tenders Electronic Daily), the EU's official procurement journal: every above-threshold public contract in the EU/EEA, Switzerland and more, about 22,000 notices a week (source: official TED Search API). Use it to find open calls for tenders (with deadline and estimated value), contract awards (winners and awarded value) or planned purchases, by keyword, buyer country or sector. Default: open calls for tenders published in the last 7 days. Newest first. Returns one row per notice: notice_id, published, notice_type, title,…

ParameterTypeDescription
countriesBuyer countries, ISO codes, e.g. ['DE', 'FR']
cpv_codesCPV sector prefixes: 72 IT services, 45 construction, 3312 medical
keywordsAll words must appear, any language, e.g. cloud
max_resultsintegerMax notices to return (1-100).
min_value_eurLeaves out notices without an EUR value
notice_typesOmit for open calls for tenders (contract_notice); contract_award = who won and for how much
published_fromDefault: 7 days ago
published_to

search_dod_contract_awards Pentagon (DoD) contract awards

US Department of Defense contract awards (or any other federal agency's) since FY2008: who won, how much was obligated, which service, the parent company and the winner's US stock ticker with SEC shares outstanding (source: USAspending.gov / FPDS, tickers from the SEC). Use it for "which contracts did Lockheed/Kratos win", the largest recent Pentagon awards, or awards in an industry (NAICS/PSC). Default: DoD award-days of at least $7.5M (the DoD's public announcement threshold), signed in the last 135 days. DoD data is published with a delay of up to ~3 months, so…

ParameterTypeDescription
agenciesTop-tier agency; omit for DoD; e.g. "Department of Homeland Security"
date_fromSigning date; default: 135 days before date_to
date_to
max_resultsintegerMax award rows to return (1-50).
min_amount_usdintegerMin obligated per award and day
naics_codesIndustry codes, e.g. 336414
psc_codesProduct/service codes, e.g. 1410, R425
recipientsWinner or parent name contains, e.g. "kratos"
tickers