filingscope

v0.1.0
io.github.CloudCorpRecords/filingscope Checked 2 days ago Published 18 days ago

US public disclosures in one API: SEC filings, Congress trades, FEC, lobbying, FDA and more.

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

get_insider_filings

A ticker search also returns rows this issuer FILED UNDER SYMBOLS IT NO LONGER LISTS (renames, filer typos, ADR spellings). Each row keeps `ticker` as SEC received it and gains `current_ticker` when the issuer trades under a different symbol today. Separately-listed share classes are NOT merged, and asking for a RETIRED symbol returns only rows filed under it — retired symbols get reissued to other companies. Returns FILING-LEVEL records from SEC Form 3/4/5 filings — one row per filing (accession). Use this when the user asks: list an issuer's insider filings, find a specific accession, fi…

ParameterTypeDescription
accession_numberstringExact EDGAR accession number — returns that one filing's envelope directly.
company_cikstringIssuer CIK (10-digit, leading-zero padded). All of that company's insider filings.
company_namestringCase-insensitive substring against issuer company name (e.g., 'Apple', 'Tesla').
document_typestringExact SEC form code: '3' (initial), '4' (changes), '5' (annual), or amendments '3/A' / '4/A' / '5/A'.
is_amendmentbooleanTrue returns only amendments (/A forms); false returns only originals. Omit for both.
limitintegerMaximum records to return. Default 50, max 500.
reporting_owner_namestringCase-insensitive substring matched against ANY reporting owner on the filing (scans reporting_owners[]). Best combined with ticker/company_cik.
sincestringISO date (YYYY-MM-DD). Only filings with filing_date >= this date.
sort_bystringSort field. Only filing_date is supported. Default: filing_date.
sort_orderstringDefault: desc (most recent filings first).
tickerstringExact issuer ticker (e.g., 'AAPL', 'BRK.B').
untilstringISO date (YYYY-MM-DD). Only filings with filing_date <= this date.

get_insider_holdings

A ticker search also returns rows this issuer FILED UNDER SYMBOLS IT NO LONGER LISTS (renames, filer typos, ADR spellings). Each row keeps `ticker` as SEC received it and gains `current_ticker` when the issuer trades under a different symbol today. Separately-listed share classes are NOT merged, and asking for a RETIRED symbol returns only rows filed under it — retired symbols get reissued to other companies. Returns per-security INSIDER POSITIONS from SEC Form 3/4/5 filings — one row per holding line reported by a corporate insider (director, officer, or 10%+ beneficial owner). Use this w…

ParameterTypeDescription
company_cikstringIssuer CIK (10-digit, leading-zero padded). Returns insider holdings across all reporting periods for that company.
company_namestringCase-insensitive substring against issuer company name (e.g., 'Apple', 'Tesla').
direct_indirect_ownershipstring'D' direct ownership, 'I' indirect (held via trust, LLC, family member, etc.).
holding_typestring'nonderiv' = direct securities (common stock); 'deriv' = derivative holdings (options, RSUs, warrants, convertibles). Omit for both.
is_directorbooleanTrue returns only holdings reported by directors.
is_officerbooleanTrue returns only holdings reported by officers.
is_ten_percent_ownerbooleanTrue returns only holdings reported by 10%+ beneficial owners.
limitintegerMaximum records to return. Default 50, max 500.
merge_co_reportsbooleanDEFAULT TRUE — leave it alone unless you specifically want raw filings. When shares are held through a fund, trust or family holding company, every person deemed a beneficial owner files their own F…
min_sharesnumberMinimum shares owned following the reported transaction. Use to focus on large positions.
min_valuenumberMinimum USD value owned following the reported transaction. Use to focus on large positions.
reporting_owner_cikstringInsider CIK (10-digit, leading-zero padded). Returns one insider's positions across every company they report on.
reporting_owner_namestringCase-insensitive substring against the insider's name (e.g., 'Musk', 'Cook').
sincestringISO date (YYYY-MM-DD). Only holdings whose period_of_report >= this date.
sort_bystringSort field. Only period_of_report is supported. Default: period_of_report.
sort_orderstringDefault: desc (most recent reporting period first).
tickerstringExact issuer ticker (e.g., 'AAPL', 'BRK.B').
untilstringISO date (YYYY-MM-DD). Only holdings whose period_of_report <= this date.

get_insider_transactions

Returns executive insider transactions filed on SEC Form 4 — open-market purchases and sales by officers, directors, and 10%-owners of public companies. Each record is one transaction line item from one filing. Use this when the user asks about: insider buying or selling at a specific company, all recent insider activity across the market, transactions by a specific officer, or large insider trades by value. Form 4 is the fastest insider-trade signal in the public record — must be filed within 2 business days of the trade. The reporting_lag_days field tells you how stale a particular dis…

get_institutional_holdings

Returns 13F holdings — quarterly snapshots of equity positions held by institutional investment managers with $100M+ AUM, filed with the SEC. Each record is one (fund, security, quarter) tuple. Use this when the user asks about: which institutions hold a stock, a fund's portfolio, position changes quarter-over-quarter, or 'whale' activity in a specific name. Reporting lag: up to 45 days after quarter end. A 2026-Q1 filing typically appears in mid-May 2026. The most recent quarter visible always lags real time. Important: 13F covers institutional managers ≥ $100M AUM but does NOT include…

ParameterTypeDescription
cursorstringPass the `next_cursor` from the previous response VERBATIM to fetch the next page. Keep every other filter and the sort identical while paging. Omit to start from the top. A quarter of 13F filings run…
cusipstringAlternative to ticker — 9-character SEC CUSIP identifier. Useful when a security has multiple share classes with different tickers.
fund_cikstringSEC CIK of the fund (10-digit, padded). Preferred over fund_name when known. Berkshire Hathaway = '0001067983'.
fund_namestringFull or partial fund name; case-insensitive substring match. Examples: 'Berkshire', 'Bridgewater', 'Citadel'. A name of 1-2 characters matches as a whole word within the newest 20,000 holdings by fili…
limitintegerMaximum records to return. Default 50, max 500.
min_valuenumberFilter to positions with market_value >= this amount (USD). Use to focus on large positions.
position_changestringFilter to position-change type. Common queries: 'increased' for funds adding to a position, 'closed' for funds that exited.
quarterstringPeriod ending date in YYYY-MM-DD form (e.g. '2026-03-31'). Defaults to all quarters available in the database.
sort_bystringField used for ordering. Default: market_value (largest positions first).
sort_orderstringDefault: desc (largest first).
tickerstringFilter to holdings of one stock by US ticker, e.g. 'AAPL'. Case-insensitive.

get_congressional_trades

Returns trade records disclosed by U.S. members of Congress under the STOCK Act — Senate eFD and House Clerk Periodic Transaction Reports (PTRs). Each record is one disclosed transaction by a member or their immediate family. The same filings are published free as news at https://keyvex.com/disclosures under 5 U.S.C. § 13107(c). Use this when the user asks about: who in Congress traded a specific stock, what trades a specific member made, recent congressional trading activity, or filings within a date range. Important: This data is *disclosed* trades, with reporting lag up to 45 days. Th…

ParameterTypeDescription
amendment_statusstringFilter by whether the row came from an original filing or an AMENDMENT. Default: all three, deliberately — most amendment rows are NOT duplicates, they are disclosures the amendment added (181 of 19…
bioguide_idstringMember's permanent congressional ID, e.g. 'C001035' for Susan Collins. Preferred over member_name when known. Pair with get_member_profile to enrich a trade with the member's party/state/committee ass…
chamberstringFilter to one chamber. Senate PTRs are HTML-parsed from efdsearch.senate.gov. House PTRs are PDF-parsed from disclosures-clerk.house.gov.
cursorstringPass the `next_cursor` from the previous response VERBATIM to fetch the next page. Keep every other filter and the sort identical while paging. Omit to start from the top.
exclude_supersededbooleanDrop ORIGINAL disclosures that a later amendment restates. Default FALSE — they are returned, marked `superseded_by_amendment: true`, and the envelope carries `superseded_rows_included` plus a cover…
include_non_open_marketbooleanPhase A v0.52.0 (2026-05-24): controls whether NON-MARKET events appear in the result. When false (honest default for direction queries), keeps ONLY OPEN_MARKET rows plus INSUFFICIENT_DATA rows (passt…
limitintegerMaximum records to return. Default 50, max 500.
member_namestringFull or partial member name; case-insensitive substring match. Examples: 'Collins', 'Pelosi'.
min_amountnumberFilter to trades with amount_min >= this value (USD). Use to focus on larger disclosed trades. Note: amount ranges are minimums, so '$1,001 - $15,000' has amount_min=1001.
ownerstringWho owns the asset. STOCK Act covers spouse and dependent children's trades too — this filter narrows to one ownership category.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field.
sort_bystringField used by since/until and ordering. Default: disclosure_date (when the public first saw the trade).
sort_orderstringDefault: desc (most recent first).
tickerstringStock symbol filter, e.g. 'AAPL'. Case-insensitive. Leave empty to query across all tickers.
transaction_typestringFilter by disclosed transaction type. 'buy' = Purchase (P); 'sell' = Sale, full or partial (S); 'exchange' = Exchange (E) — bond maturities, corporate spin-offs, and share-class exchanges, which are…
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_planned_insider_sales

A ticker search also returns rows this issuer FILED UNDER SYMBOLS IT NO LONGER LISTS (renames, filer typos, ADR spellings). Each row keeps `ticker` as SEC received it and gains `current_ticker` when the issuer trades under a different symbol today. Separately-listed share classes are NOT merged, and asking for a RETIRED symbol returns only rows filed under it — retired symbols get reissued to other companies. Returns Form 144 filings — notices of proposed sale by corporate insiders (officers, directors, 10%+ holders) under Rule 144 of the Securities Act. Each record is one planned-sale lin…

ParameterTypeDescription
company_cikstringSEC CIK number (10-digit, padded with leading zeros). Alternative to ticker when known.
filer_namestringFull or partial filer name; case-insensitive substring match. Example: 'Cook' matches Tim Cook's filings. NOTE: plain substring (not word-boundary) match — a short surname can match mid-word too (e.…
limitintegerMaximum records to return. Default 50, max 500.
min_valuenumberFilter to filings with aggregate_market_value >= this amount (USD). Use to focus on large planned sales.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field.
sort_bystringField used for ordering and for the since/until date filters. Default: filing_date.
sort_orderstringDefault: desc (most recent / largest first).
tickerstringStock symbol filter, e.g. 'AAPL'. Case-insensitive.
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_activist_stakes

Returns Schedule 13D / 13G beneficial-ownership disclosures — filings made by anyone holding ≥5% of a class of registered equity securities. Each record is one reporting person on one filing (joint filings emit multiple rows under the same accession_number). Use this when the user asks about: who's accumulating large stakes, activist campaigns, takeover targets, hostile bids, or institutional concentration in a name. Also for 'who owns this company at the 5%+ level?' questions. Two flavors, distinguished by `is_activist`: - **13D (is_activist=true)**: filer signals INTENT TO INFLUENCE…

ParameterTypeDescription
company_cikstringIssuer SEC CIK (10-digit, padded with leading zeros). Alternative to ticker.
cusipstring9-character CUSIP of the security being reported on. Useful for cross-class filings (preferred vs common).
filer_cikstringFiler (reporting person) CIK. Exact match.
filer_namestringFull or partial filer name; case-insensitive substring match. Example: 'BlackRock' matches all BlackRock entities.
filing_typestringExact filing type. /A variants are amendments. Original 13D/G filings (no /A) signal a fresh crossing of the 5% threshold.
include_filing_narrativebooleanInclude the Schedule 13D narrative items in each row: Item 2 (the reporting person and the ownership chain behind them), Item 2(d)-(e) (criminal convictions and civil securities proceedings in the las…
is_activistbooleanFilter to 13D filings only (true) or 13G only (false). Omit to include both. Use is_activist=true to surface takeover/activist signal.
limitintegerMaximum records to return. Default 50, max 500.
min_percent_of_classnumberFilter to filings where percent_of_class >= this value. Use to focus on large/concentrated stakes.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field.
sort_bystringField used for ordering and for the since/until date filters. Default: filing_date.
sort_orderstringDefault: desc (most recent / largest first).
tickerstringIssuer stock symbol filter, e.g. 'AAPL'. Case-insensitive.
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_federal_contracts

Returns federal contract awards from USAspending.gov — government spending data sourced from Treasury/GSA. Each record is one prime contract award (BPA Call, Purchase Order, Delivery Order, or Definitive Contract). Modifications appear as separate records. Use this when the user asks about: who's getting federal contracts, how much a specific recipient (Lockheed Martin, RTX, Raytheon, Booz Allen, etc.) won this year/quarter, contracts by industry (NAICS code) or product type (PSC code), or to cross-reference congressional trading with contract awards. Cross-source pattern (the political-al…

ParameterTypeDescription
awarding_agencystringThe TOPTIER awarding agency name — exact and case-sensitive; a sub-agency name (e.g. 'Defense Logistics Agency') or an abbreviation ('NASA') matches nothing. Examples: 'Department of Defense', 'Nati…
limitintegerMaximum records to return. Default 50, max 500.
min_amountnumberFilter to awards with award_amount >= this value (USD). Use to focus on large contracts.
naics_codestring6-digit North American Industry Classification System code. Example: '541710' (R&D in Physical/Engineering/Life Sciences). Exact match.
psc_codestringProduct or Service Code (4-character). Example: 'AR33' (R&D Space Flight Advanced Development). Exact match.
recipient_namestringRecipient name substring; case-insensitive match. Example: 'Lockheed Martin' matches 'LOCKHEED MARTIN CORP', 'LOCKHEED MARTIN MISSILES AND FIRE CONTROL', etc. USAspending also matches the PARENT compa…
recipient_ueistringUnique Entity Identifier (replaced DUNS in 2022). 12-character alphanumeric. Exact match: only awards made to this UEI itself. If it is also the parent of other recipients, their awards are NOT includ…
sincestringISO date (YYYY-MM-DD). Only records on or after this date — on last_modified_date, except when sort_by is start_date, where it applies to start_date.
sort_bystringField used for ordering. since/until apply to start_date when this is start_date, and to last_modified_date for every other sort. Default: last_modified_date (most-recently-modified first).
sort_orderstringDefault: desc.
untilstringISO date (YYYY-MM-DD). Only records on or before this date (the same date field as since).

get_federal_grants

Returns federal GRANTS and cooperative agreements from USAspending. Distinct universe from get_federal_contracts — recipients here are universities, non-profits, state and local agencies, research labs, healthcare institutions, public-private partnerships. ⚠ award_amount and total_outlays are NULLABLE. USAspending omits Total Outlays from the search response for most grants, and this tool reports that as null rather than as $0 — a 0 means the source really said zero. Null-check before doing arithmetic. Null values never satisfy min_amount and sort last. Award type codes covered: 02 (Bl…

ParameterTypeDescription
awarding_agencystringThe TOPTIER awarding agency name — exact and case-sensitive; a sub-agency name (e.g. 'National Institutes of Health') or an abbreviation ('NSF') matches nothing. Examples: 'National Science Foundati…
cfda_numberstringCatalog of Federal Domestic Assistance program number (e.g., '93.847' = NIH R01 research grants, '20.939' = highway safety improvement). Filter to one program.
limitintegerMax records. Default 50, max 500.
min_amountnumberInclusive lower bound on award_amount in dollars.
recipient_namestringCase-insensitive substring on the recipient's name (e.g., 'Stanford', 'Mayo Clinic'), applied by USAspending — which also matches the PARENT's name, so a parent name returns its subsidiaries' grants…
recipient_ueistringExact federal UEI (Unique Entity ID) — most precise: only grants made to this UEI itself. If it is also the parent of other recipients, their grants are NOT included and total_count is omitted — c…
sincestringInclusive lower bound (YYYY-MM-DD) on last_modified_date — or on start_date when sort_by is start_date.
sort_bystringSort key. since/until apply to start_date when this is start_date, and to last_modified_date for every other sort. Default: last_modified_date.
sort_orderstringDefault: desc.
untilstringInclusive upper bound (YYYY-MM-DD), on the same date field as since.

get_member_profile

Returns Congressional member profiles from the unitedstates/ congress-legislators catalog. Each record is one current House Representative or Senator, keyed by bioguide_id (the permanent member identifier — e.g., 'C001035' for Susan Collins). Use this when the user asks about: which committees a member sits on, who chairs the Senate Banking Committee, all Republicans on House Armed Services, party/state/district lookup for a specific member, or to enrich congressional_trades records with member context (party + state + committee assignments). Filter by bioguide_id for a direct fetch; by me…

ParameterTypeDescription
bioguide_idstringPermanent member identifier — letter + 6 digits (e.g., 'C001035' for Susan Collins, 'P000197' for Nancy Pelosi). Direct doc lookup, fastest path.
chamberstringFilter to House Representatives or Senators.
committee_idstringThomas committee code (full committee like 'HSAS' or subcommittee like 'HSAG15'). Returns all members of that committee.
limitintegerMaximum records to return. Default 50, max 600 (~current Congress size).
member_namestringCase-insensitive substring against full_name. Example: 'Pelosi' returns Nancy Pelosi.
partystring'Democrat' | 'Republican' | 'Independent' | etc. Exact match — uses the YAML's spelling.
statestring2-letter state abbreviation (e.g., 'ME', 'CA'). Filters to members from that state — useful with chamber=senate to get the 2 senators from a state.

get_material_events

Returns Form 8-K filings — the SEC's 'current report' form, filed within 4 business days of any material event at a publicly-traded company. Each record is one filing, with `item_codes` declaring WHAT kind of event(s) it covers. Use this when the user asks about: recent CEO/CFO departures or appointments, M&A announcements, earnings releases, big contract wins, restructurings, going-concern warnings, exec compensation changes, or any 'what just happened at this company' question. Item codes (most-used; many more exist): 1.01 Entry into a Material Definitive Agreement 1.02 Termination…

ParameterTypeDescription
company_cikstringSEC CIK number (10-digit, padded with leading zeros). Alternative to ticker.
is_amendmentbooleanFilter to only original 8-Ks (false) or only amendments / 8-K/A filings (true). Omit to include both.
item_codesarrayArray of item codes to filter on (OR semantics). E.g., ['5.02'] for exec changes, ['1.01','2.01'] for any deal activity. Max 30 codes per query.
limitintegerMaximum records to return. Default 50, max 500.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field.
sort_bystringField used for ordering and for since/until filters. filing_date = when filed with SEC; period_of_report = when the underlying event occurred. Default: filing_date. NOTE: a small number of 8-Ks (Reg-F…
sort_orderstringDefault: desc (most recent first).
tickerstringStock symbol filter, e.g. 'AAPL'. Case-insensitive.
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_lobbying_filings

Returns Lobbying Disclosure Act (LDA) filings — quarterly LD-2 reports filed by registered lobbyist firms with the Senate Office of Public Records. Each record covers one (registrant, client, quarter) tuple, listing income paid, issues lobbied on, and government entities contacted. Use this when the user asks about: who's paying lobbyists, what issues a company is lobbying on, which senators or agencies a firm is contacting, lobbying spend by industry or sector, or to cross lobbying activity against congressional trades or federal contracts for political-influence analysis. Each filing has…

ParameterTypeDescription
client_namestringSubstring match against the paying client's name (case-insensitive). E.g., 'Pfizer', 'Lockheed Martin', 'STATE OF CALIFORNIA'.
filing_periodstringReporting period within filing_year. Quarters for LD-2; mid_year/year_end for LD-203 contributions windows.
filing_yearintegerCalendar year of the reporting period (NOT the filing date).
general_issue_codesarrayArray of 3-char issue codes (OR semantics). E.g., ['DEF'] for defense, ['HEA','MMM'] for health+Medicare. Max 30 codes per query.
government_entitystringSubstring match against any government entity contacted. E.g., 'SENATE', 'Treasury', 'FDA', 'Defense, Dept of'.
limitintegerMaximum records to return. Default 50, max 500.
min_incomenumberFilter to filings with income >= this amount (USD). Use to focus on big-dollar lobbying spend.
registrant_namestringSubstring match against the lobbying firm's name (case-insensitive). E.g., 'Akin Gump', 'Brownstein'.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field.
sort_bystringField used for ordering and for since/until filters. Default: dt_posted (when the filing was submitted).
sort_orderstringDefault: desc (most recent / largest first).
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_lobbyist_contributions

Returns LD-203 semiannual contribution reports — what registered lobbyists and lobbying firms themselves contribute: FECA campaign contributions, honorary expenses, event/meeting costs, and presidential-library / inaugural-committee donations, each item naming the HONOREE (the covered official who benefited). This is the reverse angle of get_lobbying_filings: filings show who pays lobbyists; LD-203 shows where the lobbyists' own money goes. Coverage: 2008→present (~40K filings/year; roughly half are 'no contributions' certifications, excluded by default — set include_empty=true to see th…

ParameterTypeDescription
contribution_typestringExact type: 'feca', 'honorary', 'meeting', 'presidential_library', 'inaugural_committee'.
filer_typestringWho filed: the individual lobbyist or the registrant firm.
filing_uuidstringDirect lookup by LDA filing UUID. Fastest path.
filing_yearintegerFiling year (2008→present).
honoree_namestringCase-insensitive substring against any item's honoree — the covered official who benefited (e.g., 'schumer').
include_emptybooleanInclude 'no contributions' certifications (~half of all filings). Default false.
limitintegerMaximum filings to return. Default 50, max 500.
lobbyist_namestringCase-insensitive substring against the individual lobbyist's name.
payee_namestringCase-insensitive substring against any item's payee (the committee/entity paid).
registrant_namestringCase-insensitive substring against the lobbying firm / organization name.
sincestringdt_posted lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recently posted first).
untilstringdt_posted upper bound (YYYY-MM-DD inclusive).

get_annual_financial_disclosures

Returns Form 278 (Public Financial Disclosure / Annual Financial Disclosure) filings — the annual snapshot members of Congress file each year showing assets, income sources, liabilities, transactions, gifts, outside positions, and (for spouse + dependent children) the same. The same filings are published free as news at https://keyvex.com/disclosures under 5 U.S.C. § 13107(c). SCOPE — v1 covers BOTH chambers: Senate (Senate eFD) and House (House Clerk). Filed by every senator and representative (and senior executive-branch officials, federal judges) by May 15 each year. Use this when t…

ParameterTypeDescription
bioguide_idstringFiler's bioguide_id (e.g., 'P000197' for Nancy Pelosi). Exact match. Most precise filter. A filing carries a bioguide_id only when exactly one member of Congress can be its filer: reports by candidate…
chamberstringFilter to one chamber ('senate' or 'house'). v1 covers both.
filing_yearintegerThe year of the FILING period being reported on (NOT the date filed). Most filers report the prior calendar year — e.g., a May 2026 Annual filing has filing_year=2025. New Filer reports cover the pa…
limitintegerMax records to return (1-500). Default 50.
member_namestringSubstring match against the filer's full name (case-insensitive). E.g., 'Pelosi', 'Mitch McConnell'. Use bioguide_id when possible for precision.
partystringExact match on the record's party, where the party is the party the member held on the date of the record (a trade's transaction date, a disclosure's filing date); for a date outside the member's term…
report_typestringFilter to one filing flavor. Default is unfiltered (returns all types).
sincestringISO date (YYYY-MM-DD). Lower bound on the chosen sort_by field. Defaults to filtering by filing_date.
sort_bystringField to sort by. Default 'filing_date' (most recent filings first).
sort_orderstringSort direction. Default 'desc'.
statestringTwo-letter state code (e.g., 'CA', 'TX'). Exact match. Empty for candidate filings (the Senate eFD covers candidates too).
untilstringISO date (YYYY-MM-DD). Upper bound on the chosen sort_by field.

get_fec_candidate_profile

Returns FEC-registered candidate profiles (House, Senate, President) and — when include_committees=true (default) — each candidate's associated FEC committees in the same response. Use this when the user asks about: who's running in race X, the campaign finance ID for a member, what PAC is sponsoring a candidate, or to bridge from a Congressional member name to their FEC committee_id before looking up contributions (v1.1 tool). Source: api.open.fec.gov — the official Federal Election Commission public-disclosure API. Records include current sitting members, primary challengers, defeated…

ParameterTypeDescription
active_onlybooleanWhen true, restricts to candidate_inactive=false (currently active filers). Default false (includes withdrawn / defeated / inactive).
candidate_idstringFEC-assigned candidate ID (immutable across cycles), e.g., 'S6PA00091' for Pat Toomey, 'P80003338' for Mitt Romney's 2008 presidential bid. Direct doc lookup, fastest path.
candidate_namestringCase-insensitive substring against the FEC-filed candidate name (typically LASTNAME, FIRSTNAME format). Example: 'mccormick' or 'collins'.
cycleintegerElection cycle year (e.g., 2026). Returns candidates whose cycles[] includes this value. Common cycles: 2022, 2024, 2026.
districtstringHouse district as 2-digit string ('01'-'53') or 'AL' for at-large. Senate/President leave blank.
include_committeesbooleanWhen true (default), each returned candidate is enriched with a `committees` array containing all FEC committees linked via candidate_ids[]. The principal campaign committee (designation='P') is liste…
limitintegerMaximum candidates to return. Default 50, max 500.
officestringOffice code: H=House, S=Senate, P=President. Narrows ambiguous name matches.
partystringParty code: DEM | REP | LIB | GRE | IND | OTH.
sort_bystringSort key. Default: last_file_date (most recent first).
sort_orderstringDefault: desc.
statestring2-letter state abbreviation (e.g., 'PA', 'CA'). Empty for President. Combine with office=S to find the senators from a state.

get_fec_contributions

Returns FEC Schedule A contribution data — money flowing INTO federal committees — in AGGREGATED form. Individual donors are never exposed as searchable per-record rows: the FEC sale-or-use rule (11 CFR 104.15) permits aggregated presentation only, so this tool serves group totals and a bounded ORGANISATION leaderboard (the same posture as Quiver Quantitative's public pages). Source: api.open.fec.gov (official FEC API), queried live per request with a cached-rollup fallback (responses carry source: live | cache). THREE MODES (pick one): 1. Aggregate totals — pass group_by: - group_b…

ParameterTypeDescription
candidate_idstringFEC candidate ID (e.g. 'S8GA00180'). Scope for group_by='candidate'/'cycle', leaderboard scope, or per-record filter.
contributor_employerstringEmployer name (FEC substring match). LEADERBOARD SCOPE ONLY — top donors reporting this employer. Not available as a per-record filter.
contributor_statestring2-letter state code. Leaderboard scope (top donors from a state) or per-record filter (non-individual rows).
cycleintegerElection cycle year (2-year transaction period, e.g. 2026). Required for leaderboard and group_by='employer'/'state'; defaults to the current cycle for group_by='candidate'.
entity_typestringPer-record mode selector — NON-INDIVIDUAL types only: COM (committee), CCM (candidate committee), PAC, PTY (party), ORG (organization). IND, UNK and CAN are not accepted: a CAN row is the FEC's code…
exclude_memosbooleanPer-record mode: when true (DEFAULT) filters out memoed_subtotal rows (FEC duplicates that double-count dollars). Leaderboards always exclude them.
group_bystringAggregate mode: group totals by this axis. employer/state require recipient_committee_id + cycle (the FEC computes those per committee). cycle requires candidate_id or recipient_committee_id.
leaderboardbooleanLeaderboard mode: top ORGANISATION donors (PAC / party / committee / company) by name + summed total + count for ONE bounded scope, PLUS the individual side as statistics only (count and total — NO…
limitintegerMax rows (aggregate/per-record) or max ORGANISATIONS (leaderboard, default 100). Default 50, max 500.
max_amountnumberPer-record mode: inclusive upper bound on amount.
min_amountnumberLeaderboard: itemization floor for aggregated rows (default 1000; 200 = FEC itemization floor). Per-record: inclusive lower bound on amount.
recipient_committee_idstringFEC committee ID (e.g. 'C00401224'). Scope for group_by='employer'/'state'/'committee'/'cycle', leaderboard scope, or per-record filter. Use get_fec_candidate_profile to find a candidate's principal c…
sincestringPer-record mode: inclusive lower bound on contribution_receipt_date (YYYY-MM-DD).
sort_bystringPer-record mode sort key. Default: contribution_receipt_date.
sort_orderstringPer-record mode: default desc.
sub_idstringPer-record mode: direct doc lookup by FEC sub_id. Returns the row only when it is a non-individual contribution.
untilstringPer-record mode: inclusive upper bound on contribution_receipt_date (YYYY-MM-DD).

get_fec_disbursements

Returns FEC Schedule B disbursements — itemized records of money flowing OUT of a federal committee to organisations: vendor payments, media / ad buys, consulting firms, payroll services, and committee-to-committee transfers. The OUT-flow counterpart to get_fec_contributions (Schedule A, money IN). ORGANISATIONS ONLY: per-record rows are served only when FEC codes the payee as a committee or organisation (COM, CCM, PAC, PTY, ORG). Rows naming a natural person — individual payees (IND), candidates (CAN), unclassified payees, and people a filer coded as an organisation — are withheld per…

ParameterTypeDescription
candidate_idstringFEC candidate ID tied to the disbursement (e.g., 'S6PA00091'). NOTE: only populated on candidate-linked rows; most vendor payments carry no candidate_id — prefer spender_committee_id for a campaign'…
cycleintegerElection cycle year (2-year transaction period). Common values: 2026, 2024, 2022.
disbursement_purpose_categorystringFEC's normalized purpose bucket (e.g., 'ADVERTISING', 'CONSULTING', 'CONTRIBUTIONS', 'FUNDRAISING', 'TRANSFERS', 'TRAVEL', 'PAYROLL', 'OTHER').
entity_typestringRecipient entity type code — ORGANISATION types only: COM (committee), CCM (candidate committee), PAC, PTY (party), ORG (organization — most vendors). IND (individual), CAN (candidate — a natura…
exclude_memosbooleanWhen true (DEFAULT), filters out rows flagged memoed_subtotal=true — FEC's aggregate / subtotal duplicates that double-count the same dollars across multiple rows. Pass exclude_memos=false to includ…
limitintegerMaximum disbursements to return. Default 50, max 500.
max_amountnumberInclusive upper bound on disbursement_amount.
min_amountnumberInclusive lower bound on disbursement_amount in dollars. KeyVex's cached subset holds $1,000+ rows; live queries cover every itemized row.
recipient_namestringCase-insensitive substring against the payee's filed name (vendor, consulting firm or committee — natural persons are withheld, so a person's name returns nothing). Substring filter (client-side on…
recipient_statestring2-letter US state code of the recipient (e.g., 'CA', 'TX').
sincestringInclusive lower bound on disbursement_date (YYYY-MM-DD).
sort_bystringSort key. Default: disbursement_date.
sort_orderstringDefault: desc (most recent / largest first).
spender_committee_idstringFEC committee ID doing the spending (e.g., 'C00580100'). Use get_fec_candidate_profile to find the principal committee for a candidate.
sub_idstringFEC sub_id (globally unique row ID). Direct doc lookup, fastest.
untilstringInclusive upper bound on disbursement_date (YYYY-MM-DD).

get_fec_independent_expenditures

Returns FEC Schedule E independent expenditures — money spent BY a super PAC (or IE-only PAC) uncoordinatedly FOR or AGAINST a federal candidate. Hallmark vehicle for political ad spending since Citizens United (2010). Critical signal: support_oppose_indicator — 'S' = support, 'O' = oppose. A single candidate often has dozens of S and O entries across many super PACs in one cycle. Filter by support_oppose='O' to find attack ads; 'S' to find positive ads. Source: api.open.fec.gov/v1/schedules/schedule_e/. F24 filings (24-hour notices within 20 days of an election) and F5 (quarterly IE rep…

ParameterTypeDescription
candidate_idstringTarget candidate being supported or opposed.
candidate_officestringOffice of the target candidate: H/S/P.
candidate_office_statestring2-letter state code of the target candidate (e.g., 'PA', 'TX').
committee_idstringFEC committee that spent the money (typically a super PAC). A filer who is, or may be, a natural person returns no rows — see the description.
cycleintegerElection cycle (2-year transaction period), e.g. 2026/2024/2022. INCOMPLETE — the FEC leaves this field (two_year_transaction_period) null on many rows, so filtering by cycle undercounts, and the cy…
descriptionstringCase-insensitive substring on disbursement_description (free-text purpose of the spend, e.g., 'tv ad', 'mailer', 'digital advertising'). Client-side filter.
exclude_memosbooleanWhen true (DEFAULT), filters out rows flagged memoed_subtotal=true — FEC's aggregate / receipt-account duplicates that double-count the same dollars across multiple rows. Top-spender queries are mis…
limitintegerMax records. Default 50, max 500.
max_amountnumberInclusive upper bound on expenditure_amount.
min_amountnumberInclusive lower bound on expenditure_amount in dollars.
payee_namestringCase-insensitive substring on the payee_name (ad agency, media buyer, vendor). Client-side filter.
sincestringInclusive lower bound on expenditure_date (YYYY-MM-DD).
sort_bystringSort key. Default: expenditure_date.
sort_orderstringDefault: desc.
sub_idstringFEC sub_id (globally unique row ID). Direct doc lookup.
support_opposestring'S' = filter to ads supporting the target; 'O' = filter to ads opposing. Omit for both.
untilstringInclusive upper bound on expenditure_date (YYYY-MM-DD).

get_tender_offers

Returns SEC Schedule TO filings — public tender offer disclosures. Use this when the user asks about: who's bidding to acquire company X, what M&A offers are in flight, share buyback announcements, amendments to existing tender offers (price increases / extensions), or to pair with 13D activist stakes for the 'stake → bid' story. Source: SEC EDGAR full-text search. Forms covered: SC TO-T (third- party tender offer — someone outside the company bidding for shares), SC TO-T/A (amendments), SC TO-I (issuer tender offer — company buying back its own shares), SC TO-I/A (issuer amendments).…

ParameterTypeDescription
accession_numberstringEDGAR accession number (e.g., '0001140361-26-020397'). Direct doc lookup, fastest path.
bidder_cikstringBidder's SEC CIK. Find all tender offers by a particular acquirer.
bidder_namestringCase-insensitive substring against bidder_name. Bidders in SC TO-T are often private SPVs ('2025 Acquisition Company, LLC') — use this to find them by issuer / parent name.
exclude_amendmentsbooleanWhen true, drops /A amendment filings. Default false (amendments included).
form_typestringExact form match. Useful for narrowing to amendments only ('SC TO-T/A') or original offers only ('SC TO-T').
issuer_onlybooleanWhen true, restricts to SC TO-I family (issuer buybacks). Default false.
limitintegerMaximum filings to return. Default 50, max 500.
sincestringFiling date lower bound (ISO YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recent filings first).
target_cikstringTarget's SEC CIK (10-digit zero-padded). Use when ticker is ambiguous (multiple share classes).
target_namestringCase-insensitive substring against target_name. Useful when ticker isn't known (e.g., private companies in TO-T filings).
target_tickerstringTarget company ticker (e.g., 'KZR'). For SC TO-T this is the company being bid for; for SC TO-I this is the company buying back its own shares (target == bidder).
third_party_onlybooleanWhen true, restricts to SC TO-T family (third-party offers). Default false.
untilstringFiling date upper bound (ISO YYYY-MM-DD inclusive).

get_bills

Returns congressional bill metadata from api.congress.gov. Use this when the user asks about: bills introduced this Congress, the status of a specific bill, House vs Senate bill volume, what bills mention a topic, or to bridge from a roll-call vote (legislation_type + legislation_number) to the underlying bill. Source: api.congress.gov v3 (Library of Congress). Covers ALL bill types: HR (House Bill), S (Senate Bill), HRES (House Simple Resolution), SRES (Senate Simple Resolution), HJRES (House Joint Resolution), SJRES (Senate Joint Resolution), HCONRES (House Concurrent Resolution), SCONRES (…

ParameterTypeDescription
bill_idstringComposite bill identifier ('{congress}-{TYPE}-{number}', e.g., '119-HR-134'). Direct doc lookup, fastest path.
bill_typestringType code. HR/S are bills; HRES/SRES are simple resolutions (single-chamber, non-binding); HJRES/SJRES are joint resolutions (both chambers, can become law); HCONRES/SCONRES are concurrent resolutions…
congressintegerCongress number (e.g., 119 = January 2025 onward; 118 = January 2023 - January 2025).
introduced_sincestringIntroduction-date lower bound (ISO YYYY-MM-DD inclusive). The right filter for 'bills introduced in the last N months' — distinct from since/until, which track latest action. Older bill records may…
introduced_untilstringIntroduction-date upper bound (ISO YYYY-MM-DD inclusive).
limitintegerMaximum bills to return. Default 50, max 500.
origin_chamberstringFilter to bills originating in one chamber.
sincestringLatest-action date lower bound (ISO YYYY-MM-DD inclusive). Useful for 'what's moved recently'. NOTE: this filters the most-recent floor/committee action, which can move with activity even on a bill in…
sort_bystringSort key. Default: latest_action_date (most recently active first). Use introduction_date to sort by when the bill was originally introduced.
sort_orderstringDefault: desc.
titlestringCase-insensitive substring against bill title. Useful for topic searches ('artificial intelligence', 'border security', etc.).
untilstringLatest-action date upper bound (ISO YYYY-MM-DD inclusive).

get_roll_call_votes

Returns congressional roll-call vote metadata (House + Senate) from api.congress.gov. Use this when the user asks about: recent votes in either chamber, votes on a specific bill, votes by date range, or to chain to per-member positions via the source_data_url. Sources: api.congress.gov v3 for House votes; senate.gov XML (legislative/LIS/roll_call_lists/) for Senate votes — joined into one collection. While senate.gov refuses our requests, newly cast Senate votes may come from Voteview, labelled source 'voteview' with a source_citation and a source_note (the Senate's question text and docume…

ParameterTypeDescription
bill_idstringFilter to votes on a specific bill (composite key like '119-HR-134'). Use to chain a bill lookup → votes on that bill.
chamberstringFilter to House or Senate roll calls.
congressintegerCongress number (e.g., 119).
legislation_typestringFilter to votes on a specific legislation type.
limitintegerMaximum votes to return. Default 50, max 500.
resultstringSubstring match against result text (e.g., 'passed', 'failed', 'agreed').
session_numberintegerSession within the Congress. Session 1 = first calendar year of the Congress; Session 2 = second year.
sincestringVote-start date lower bound (ISO YYYY-MM-DD inclusive).
sort_bystringDefault: start_date (most recent votes first).
sort_orderstringDefault: desc.
untilstringVote-start date upper bound (ISO YYYY-MM-DD inclusive).
vote_idstringComposite vote identifier ('{chamber}-{congress}-{session}-{rcNumber}', e.g., 'house-119-1-240'). Direct doc lookup, fastest path.

get_private_placements

Returns SEC Form D filings — Reg D / Rule 506 private placement offering notices. Use this when the user asks about: who's raising private capital right now, new VC fund formations, private equity raises, real-estate syndicates, hedge fund launches, who's claiming Rule 506(b) vs 506(c) exemption, or to identify directors / executive officers of newly-formed entities. ⚠ total_amount_sold, min_investment_accepted, total_number_already_invested, sales_commissions and finder_fees are NULLABLE — a Form D that did not state a figure reports null rather than 0. The distinction matters here mor…

ParameterTypeDescription
federal_exemptionstringFilter to filings claiming a specific exemption code via array-contains. Common: '06b' (506(b)), '06c' (506(c)), '3C.1', '3C.7'.
filing_idstringEDGAR accession number (e.g., '0002131143-26-000001'). Direct doc lookup, fastest.
industry_group_typestringSubstring against the top-level industry classification (e.g., 'technology', 'real estate', 'pooled investment').
investment_fund_typestringSubstring against the fund subtype, populated when industry_group_type is 'Pooled Investment Fund' (e.g., 'venture capital', 'private equity', 'hedge').
is_amendmentbooleanWhen set, restricts to D/A amendments (true) or original D filings (false). Default: both.
issuer_cikstringIssuer's SEC CIK (1-10 digits; we zero-pad internally).
issuer_namestringCase-insensitive substring against the issuer's filed entity name. NOTE: matched over a recent-filing window, so it reliably finds CURRENT filers but can miss an issuer whose Form D filings are older…
issuer_statestringIssuer's state (2-letter code, e.g., 'CA', 'NY', 'DE'). Note many funds incorporate in DE while operating elsewhere.
jurisdiction_of_incstringSubstring against state of incorporation (e.g., 'delaware', 'cayman').
limitintegerMaximum filings to return. Default 50, max 500.
min_amount_soldnumberMinimum total_amount_sold (USD). Filters out trivial offerings — use 1000000 for 'real raises'.
sincestringdate_of_first_sale lower bound (YYYY-MM-DD inclusive).
sort_bystringDefault: file_date (most recently filed first).
sort_orderstringDefault: desc.
untilstringdate_of_first_sale upper bound (YYYY-MM-DD inclusive).

get_crowdfunding_offerings

Returns SEC Form C filings — Regulation Crowdfunding offerings, 2016-05→present: startup raises on Wefunder / StartEngine / Republic and other funding portals. One record per filing with the issuer (legal form, jurisdiction, incorporation date, website), the PORTAL (name + CIK + CRD), offering terms (security type — SAFEs appear as 'Other' with the description, price, target and maximum amounts, deadline, oversubscription), and the issuer's own DISCLOSED FINANCIALS (total assets, cash, revenue, net income, debt — current + prior fiscal year, dollars) plus employee count. Use this when…

ParameterTypeDescription
accession_numberstringDirect lookup by EDGAR accession number.
cikstringIssuer CIK (any zero-padding).
filing_typestringForm-family filter (see description).
issuer_namestringCase-insensitive substring against issuer (or SPV co-issuer) name.
jurisdictionstringIssuer's state/country of organization (two-letter, e.g. 'DE').
limitintegerMaximum filings. Default 50, max 500.
portal_namestringCase-insensitive substring against the funding portal (e.g. 'wefunder', 'startengine').
sincestringFiling date lower bound (YYYY-MM-DD inclusive).
sort_orderstringSort by filing date. Default desc.
untilstringFiling date upper bound (YYYY-MM-DD inclusive).

get_reg_a_offerings

Returns SEC Form 1-A filings — Regulation A+ 'mini-IPO' offering statements, 2015-06→present: companies raising up to $20M (Tier 1) or $75M (Tier 2) from the public without a full IPO. One record per filing with the issuer (SIC code, jurisdiction, year incorporated, employees, city/state), tier election, offering terms (security types, count, price, total aggregate amount, estimated net), service providers WITH FEES (underwriter, sales commissions, auditor, legal), and the issuer's summary financials from Part I (cash, assets, liabilities, equity, revenues, net income). Use this when the u…

ParameterTypeDescription
accession_numberstringDirect lookup by EDGAR accession number.
cikstringIssuer CIK (any zero-padding).
issuer_namestringCase-insensitive substring against issuer name.
jurisdictionstringIssuer's jurisdiction of organization (two-letter, e.g. 'DE').
limitintegerMaximum filings. Default 50, max 500.
sincestringFiling date lower bound (YYYY-MM-DD inclusive).
sort_orderstringSort by filing date. Default desc.
tierstringTier election: Tier1 (≤$20M, state review) or Tier2 (≤$75M, preempts state review).
untilstringFiling date upper bound (YYYY-MM-DD inclusive).

get_product_recalls

Returns safety recalls from federal agencies — drug recalls (FDA), medical device recalls (FDA), food/dietary supplement recalls (FDA), consumer-product recalls (CPSC), and vehicle, equipment, tire and child-restraint recall campaigns (NHTSA, since 1966). Use this when the user asks about: recent recalls for a specific company or product, FDA Class I (most severe) recalls, food contamination recalls, drug shortages and recalls, vehicle recalls by make or model (e.g. all Ford F-150 recalls), or to add a 'product-safety event' flag to insider activity / 8-K filings / enforcement actions. Sour…

ParameterTypeDescription
classificationstringFDA severity classification. Class I is most severe (death / serious harm). Ignored for CPSC records.
limitintegerMaximum records to return. Default 50, max 500.
product_descriptionstringThe product description (e.g., 'lithium', 'romaine', 'insulin pump'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ ch…
recall_numberstringRecall identifier as filed (e.g., FDA 'D-1234-2026', NHTSA '26V652000'). Combine with source for direct doc lookup, fastest path; with source=nhtsa the answer also lists the campaign's vehicles.
recalling_firmstringThe recalling firm's name (e.g., 'Pfizer', 'Abbott', 'Whole Foods'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ cha…
sincestringISO date (YYYY-MM-DD). Only recalls whose recall_initiation_date is on or after this date.
sort_bystringDefault: recall_initiation_date.
sort_orderstringDefault: desc (most recent first).
sourcestringFilter to a single agency / category. Omit to see all sources combined.
statusstringExact match. Common values: 'Ongoing', 'Completed', 'Terminated', 'Recall Initiated'.
untilstringISO date (YYYY-MM-DD). Only recalls whose recall_initiation_date is on or before this date.
vehicle_makestringNHTSA campaigns that name a vehicle of this make (e.g., 'Ford', 'Toyota'). Exact make, case- and space-insensitive. Matches NHTSA rows only.
vehicle_modelstringNHTSA campaigns that name a vehicle model containing this text (e.g., 'F-150', 'Camry'). Matches NHTSA rows only. Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a who…
vehicles_cursorstringWith source=nhtsa + recall_number: the vehicles_next_cursor of the previous answer, for the campaign's next 500 vehicles.

get_fda_approvals

Returns FDA approval / clearance events: drug approval actions from Drugs@FDA, medical-device 510(k) clearances, and device PMA (premarket approval) decisions. Full history (drugs to 1939, 510(k) to 1976, PMA to the 1960s). This is the BULLISH twin of get_product_recalls — the catalyst dataset for biotech and medtech tickers. Use this when the user asks about: new drug approvals for a company or ingredient, priority-review approvals, tentative generic (ANDA) approvals, device clearances by company or product code, PMA supplements, or to pair an approval date with insider trades / 8-K filings…

ParameterTypeDescription
applicantstringCase-insensitive substring against the sponsor / applicant company name (e.g., 'pfizer', 'medtronic').
application_numberstringExact match on the FDA application number (e.g., 'NDA020123', 'ANDA213414', 'K260369', 'P250013').
categorystringCoarser filter: drug (= drugsfda) or device (= 510k + pma together).
decision_codestringExact decision code: AP / TA (drugs), SESE etc. (510k), APPR / OK30 etc. (PMA).
idstringDirect lookup ('drugsfda-{applNo}-{subType}{n}', '510k-{kNumber}', 'pma-{pmaNumber}-{suppl|ORIG}'). Fastest path.
limitintegerMaximum events to return. Default 50, max 500.
product_codestringExact FDA device product code (e.g., 'OLO', 'MNQ'). Devices only.
product_namestringCase-insensitive substring against product/trade/device name AND generic name / active ingredients (e.g., 'semaglutide', 'stent').
review_prioritystringPRIORITY (drugs), STANDARD (drugs), or EXPEDITED (devices). The high-signal filter for catalyst hunting.
sincestringDecision date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recent decisions first).
sourcestringFilter to one feed: drugsfda (drug approval actions), 510k (device clearances), pma (Class III device approvals).
untilstringDecision date upper bound (YYYY-MM-DD inclusive).

get_drug_adverse_events

Returns FDA FAERS drug adverse-event reports — every adverse-event / medication-error report submitted to FDA (~20M, 2004→present, growing ~2M/yr). LIVE passthrough to openFDA: results reflect FDA's current data and `total_count` is openFDA's authoritative count for the filtered query (the results array is just the requested page). Use this when the user asks about: safety signals on a drug, adverse events by reaction type, death/hospitalization outcome counts for a product, a manufacturer's adverse-event footprint, or to pair a safety-signal trend with recalls, approvals, or insider activ…

ParameterTypeDescription
count_bystringFacet mode: return top terms + counts instead of records (reaction | drug | brand | manufacturer | country).
countrystringCountry where the event occurred (ISO-2, e.g. 'US').
drugstringDrug name phrase — brand ('ozempic'), generic ('semaglutide'), or reported product name.
limitintegerRecords per page (default 10, max 100 — records are heavy). In count_by mode: facet rows (default 25, max 1000).
manufacturerstringManufacturer name phrase (openFDA annotation, e.g. 'novo nordisk').
outcomestringOne specific seriousness outcome flag.
reactionstringMedDRA reaction term phrase (e.g., 'pancreatitis', 'myocardial infarction').
seriousbooleantrue = serious reports only (death, hospitalization, disability, …); false = non-serious only.
sincestringFDA receive-date lower bound (YYYY-MM-DD inclusive).
skipintegerPagination offset (openFDA hard cap 25,000). Not used in count_by mode.
untilstringFDA receive-date upper bound (YYYY-MM-DD inclusive).

get_bank_financials

Returns quarterly financials for every FDIC-insured US bank — FDIC BankFind Suite (RIS) data derived from Call Reports, one record per (bank, quarter-end) from 1984 to the present. Covers ~4,400 active institutions per modern quarter, most of which never file with the SEC — this is the banking-sector complement to get_fundamentals. Use this when the user asks about: a specific bank's assets / deposits / profitability / capital ratios, bank league tables ('largest banks in Texas'), deposit flight or brokered-deposit reliance, nonperforming-asset trends, or to pair bank fundamentals with OCC…

ParameterTypeDescription
certintegerFDIC certificate number (exact) — the stable bank identifier (e.g., 3511 = Wells Fargo Bank NA, 628 = JPMorgan Chase Bank NA).
idstringDirect lookup: '{cert}-{YYYY-MM-DD}' (e.g., '3511-2026-03-31'). Fastest path.
limitintegerMaximum records to return. Default 50, max 500.
namestringCase-insensitive substring against the institution name (e.g., 'silicon valley', 'first republic').
report_datestringExact quarter-end (YYYY-MM-DD: 03-31 / 06-30 / 09-30 / 12-31). Combine with sort_by='total_assets' for league tables.
sincestringreport_date lower bound (YYYY-MM-DD inclusive).
sort_bystringDefault report_date. total_assets requires an exact report_date filter (league-table mode).
sort_orderstringDefault: desc.
statestringTwo-letter state code (exact, e.g., 'CA', 'TX').
untilstringreport_date upper bound (YYYY-MM-DD inclusive).

get_enforcement_actions

Returns SEC + DOJ + CFTC + OCC + FDIC + FTC + Federal Reserve + FinCEN enforcement-related actions. Eight regulators, one tool. Use this when the user asks about: recent SEC charges, DOJ indictments, CFTC derivatives/swaps enforcement, OCC national-bank examination actions, FDIC bank-failure announcements or insured-deposit transfers, FTC antitrust / consumer-protection cases, Federal Reserve actions against banks and individual bankers, FinCEN anti-money-laundering (BSA) penalties, insider trading prosecutions, FCPA actions, fraud cases, or to add a 'negative event' flag to a ticker or person…

ParameterTypeDescription
action_idstringDirect lookup ('sec-{guid}', 'doj-{uuid}', or 'cftc-{release-number}'). Fastest path.
agency_componentstringSubstring against the issuing DOJ component (e.g., 'criminal division', 'fraud section', 'antitrust'). Empty for most SEC items.
categorystringDefault "enforcement": enforcement actions only. "all" adds the agencies' general press releases; "agency_news" returns only those.
limitintegerMaximum actions to return. Default 50, max 500.
sincestringPublished date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recent announcements first).
sourcestringFilter to one issuing agency: sec (SEC), doj (DOJ), cftc (CFTC), occ (OCC bank-regulator), fdic (FDIC bank-regulator), ftc (FTC antitrust + consumer protection), fed (Federal Reserve bank + individual…
textstringCase-insensitive substring against title + teaser + description combined. Use for company-name / person-name searches.
titlestringCase-insensitive substring against the title / headline (e.g., 'insider trading', 'fraud', 'antitrust').
topicstringFilter by DOJ topic tag (array-contains, e.g., 'Financial Fraud', 'Cybercrime', 'Public Corruption').
untilstringPublished date upper bound (YYYY-MM-DD inclusive).

get_epa_enforcement

Returns EPA federal CIVIL enforcement cases from ICIS FE&C (the EPA's Integrated Compliance Information System) via the ECHO bulk download — ~135K cases, EPA-lead administrative and judicial civil actions. CRIMINAL prosecutions are NOT in this source, and neither are state-lead actions. Refreshed weekly by EPA (~Saturday). Use this when the user asks about: EPA fines / penalties against a company, Clean Air Act / Clean Water Act / RCRA / Superfund enforcement, environmental violations by facility or state, settlements and consent decrees, or supplemental environmental projects (SEPs). Reco…

ParameterTypeDescription
activity_typestringadministrative = EPA's own formal actions (~93% of cases); judicial = DOJ-filed civil court cases.
case_numberstringDirect lookup by ICIS case number, format RR-YYYY-NNNN (e.g., 'HQ-1998-0303').
defendant_namestringCase-insensitive substring against defendant names + case name (e.g., 'caterpillar', 'exxon').
fiscal_yearintegerEPA fiscal year of the case (e.g., 2024).
limitintegerMaximum records to return. Default 50, max 500.
min_penaltynumberOnly cases with fed_penalty >= this amount (USD).
primary_statutestringLead statute code (RANK_ORDER=1): CWA (Clean Water Act), CAA (Clean Air Act), FIFRA (pesticides), SDWA (drinking water), RCRA (hazardous waste), TSCA (toxic substances), CERCLA (Superfund), EPCRA (rig…
sincestringstatus_date lower bound (YYYY-MM-DD inclusive).
sort_bystringDefault: status_date. fed_penalty surfaces the largest federal penalties (cannot be combined with since/until).
sort_orderstringDefault: desc.
statestringTwo-letter state code of a named facility (e.g., 'TX'). Derived from the case's facilities.
untilstringstatus_date upper bound (YYYY-MM-DD inclusive).

get_nport_filings

Returns SEC Form N-PORT filings — monthly portfolio reports from registered investment companies (mutual funds, ETFs, closed-end funds). Use this when the user asks about: recent fund portfolio filings, when a specific fund family last reported, monthly cadence of fund disclosures, or to bridge from a fund trust name to the primary_doc.xml that contains full per-holding portfolio detail. Source: SEC EDGAR full-text search. Covers both NPORT-P (original filing) and NPORT-P/A (amendments). N-PORT is filed within 60 days of each month-end; period_ending tells you which month the report covers.…

ParameterTypeDescription
filer_cikstringFund trust's SEC CIK (1-10 digits; we zero-pad internally).
filer_namestringCase-insensitive substring against the fund trust name (e.g., 'wisdomtree', 'vanguard', 'fidelity').
filing_idstringEDGAR accession number. Direct doc lookup, fastest.
is_amendmentbooleanWhen set, restricts to NPORT-P/A amendments (true) or original NPORT-P (false). Default: both.
limitintegerMaximum filings to return. Default 50, max 500.
period_endingstringFilter to a specific reporting period — the month-end the filing covers (YYYY-MM-DD).
sec_file_numberstringSEC Investment Company file number, e.g., '811-21864'. Each fund trust has a stable number.
sincestringfile_date lower bound (YYYY-MM-DD inclusive).
sort_bystringDefault: file_date (most recently filed first). period_ending sorts by the month the report covers.
sort_orderstringDefault: desc.
untilstringfile_date upper bound (YYYY-MM-DD inclusive).

get_money_market_funds

Returns Form N-MFP3 monthly money-market fund reports — one record per (fund series, month): fund category (Government / Prime / Single State…), net assets, shares outstanding, weighted average maturity (wam_days) and life (wal_days), the fund's DAILY daily/weekly liquid-asset percentages for the month (verbatim fractions of 1 — the money-market stress series), monthly gross subscriptions/redemptions ON N-MFP3 ONLY, and stable-NAV posture. ⚠ MONTHLY FLOWS ARE NOT ON EVERY RECORD. gross_subscriptions_month / gross_redemptions_month are filed per SHARE CLASS on N-MFP3 and are served as…

ParameterTypeDescription
accession_numberstringDirect lookup by EDGAR accession number.
cikstringRegistrant CIK (any zero-padding).
fund_categorystringVerbatim N-MFP category: 'Government', 'Prime', 'Single State', 'Other Tax Exempt', …
fund_namestringCase-insensitive substring against registrant or series name.
is_retail_fundbooleanFilter to retail (true) / institutional (false) funds.
limitintegerMaximum records. Default 50, max 500.
series_idstringEDGAR series ID (e.g. 'S000096464') — one fund's monthly history.
sincestringreport_date lower bound (YYYY-MM-DD inclusive).
sort_bystringDefault report_date (newest month first).
sort_orderstringDefault desc.
untilstringreport_date upper bound (YYYY-MM-DD inclusive).

get_fund_holdings

Returns per-security holdings from SEC Form N-PORT primary documents — one row per investment-or-security line in a mutual fund / ETF / closed-end fund's monthly portfolio report. Use this when the user asks about: which funds hold a specific stock or bond, a fund's complete portfolio composition, fund-level derivative exposure (swaps, options, futures), repo positions, concentration by issuer, or to compose 'which ETFs added X this month' / 'which funds shorted Y' style queries. Source: parsed from each NportFiling's primary_doc.xml. asset_cat is SEC's own code, and these twenty are the on…

ParameterTypeDescription
asset_catstringSEC's asset-category code, case-insensitive. The data holds exactly these: EC common equity; EP preferred equity; DBT debt, Treasuries included; LON loan; ABS-MBS asset-backed, mortgage; ABS-O asset-b…
counterpartystringCase-insensitive substring against the derivative counterparty (the dealer or clearing house on the other side). Answers exposure-concentration questions — e.g. counterparty='Morgan Stanley' across…
countrystringISO-2 country code of the holding (e.g., 'US', 'GB', 'JP').
cusipstringExact 9-character CUSIP. Most reliable identifier for equity and debt holdings in N-PORT.
derivative_typestringStructural derivative type, derived from which `<derivativeInfo>` child element is present in the filing.
expiration_sincestringISO date (YYYY-MM-DD). Only derivatives expiring on or after this date. Normalized across contract types — futures expDate, option expDt, swap terminationDt, forward settlementDt all populate it, an…
expiration_untilstringISO date (YYYY-MM-DD). Only derivatives expiring on or before this date. Pair with expiration_since for a rollover window.
filer_cikstringFund trust CIK (10-digit, padded with leading zeros). Returns the trust's holdings across all reporting months. This is the precise form of filer_name: one trust, rather than a name substring that can…
filer_namestringCase-insensitive substring against fund trust name (e.g., 'iShares', 'Vanguard', 'SPDR'). ⚠ A name substring matches a FAMILY, not a fund: 'BlackRock' matches at least five separate trusts (00008938…
filing_idstringEDGAR accession number — returns all holdings from one specific N-PORT filing (one fund-month).
is_derivativebooleanTrue returns only derivative rows (asset_cat starting with 'D'). False returns only non-derivative rows. Omit for both.
isinstringExact ISIN if filer included it in the identifiers block.
limitintegerMaximum records to return. Default 50, max 500.
maturity_sincestringISO date (YYYY-MM-DD). Only debt holdings maturing on or after this date. Applies to the 33.6% of rows that are bond-like; pair with maturity_until to build a maturity ladder.
maturity_untilstringISO date (YYYY-MM-DD). Only debt holdings maturing on or before this date.
min_notionalnumberMinimum derivative NOTIONAL amount in the contract's currency. This is EXPOSURE, not fair value, and for derivatives the two differ by orders of magnitude — a real interest-rate swap in this dataset…
min_pct_of_portfolionumberMinimum percentage of fund net assets (0-100 scale). Use to focus on concentrated positions.
min_value_usdnumberMinimum fair value in USD. Use to focus on large positions only.
namestringCase-insensitive substring against the holding issuer name (e.g., 'Apple', 'Treasury', 'Goldman Sachs'). A name of 1-2 characters (e.g. 'GE', '3M') matches as a whole word within the newest 20,000 hol…
payoff_profilestringFilter to long or short positions per N-PORT payoffProfile field.
period_endingstringReporting month-end (YYYY-MM-DD). Restricts results to one reporting period.
sincestringISO date (YYYY-MM-DD). Only holdings whose period_ending >= this date.
sort_bystringDefault: value_usd.
sort_orderstringDefault: desc (largest / most recent first).
tickerstringExact ticker symbol if filer included it in the identifiers block (less common than CUSIP).
untilstringISO date (YYYY-MM-DD). Only holdings whose period_ending <= this date.

get_registration_statements

Returns SEC Form S-1 / S-3 / S-3ASR registration statements — securities offering registrations filed with the SEC. Use this when the user asks about: which companies are going public (IPO pipeline via S-1), shelf registrations (S-3 / S-3ASR — company registers securities to sell over multiple offerings without re-registering; large established issuers use the automatic S-3ASR variant), recent secondary offerings, registration amendments updating prior filings, or to bridge from a company name / ticker to the prospectus prose. Forms covered: S-1 — Initial registration (IPO + first-…

ParameterTypeDescription
exclude_amendmentsbooleanWhen true, drops /A amendments. Default false.
filer_cikstringFiler's SEC CIK (1-10 digits).
filer_namestringCase-insensitive substring against the filer's entity name (e.g., 'kraneshares', 'karyopharm'). NOTE: matched over a recent-filing window, so it reliably finds CURRENT filers but can miss an issuer wh…
filer_tickerstringTicker symbol (e.g., 'KPTI'). Often empty for IPO-stage S-1 filers (they don't have a ticker yet).
filing_idstringEDGAR accession number. Direct doc lookup.
filing_typestringExact filing-type match.
limitintegerMaximum filings to return. Default 50, max 500.
s1_onlybooleanWhen true, restricts to S-1 family (S-1 + S-1/A) — the IPO / first-time pool.
s3_onlybooleanWhen true, restricts to S-3 family (S-3 + S-3/A + S-3ASR) — the shelf pool, including automatic shelf registrations filed by Well-Known Seasoned Issuers.
sec_file_numberstringSEC-assigned registration file number ('333-XXXXXX'). Stable across amendments — use to fetch a full amendment chain.
sincestringfile_date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recently filed first).
untilstringfile_date upper bound (YYYY-MM-DD inclusive).

get_sec_comment_letters

Returns SEC comment-letter correspondence: form UPLOAD (the SEC's letter TO the company — the questions) and CORRESP (the company's response). The Division of Corporation Finance sends these during filing reviews; they're released ~20+ business days after the review closes. Coverage 2005→present. Use this when the user asks about: whether a company is (or was) under SEC review, accounting-quality red flags before they become enforcement, the back-and-forth around an IPO registration, or to pair with fundamentals / insider activity ('were insiders selling while the SEC was asking questions?…

ParameterTypeDescription
accession_numberstringDirect lookup by EDGAR accession number (e.g., '0000000000-26-004788').
cikstringSEC CIK (any zero-padding).
company_namestringCase-insensitive substring against the company name as indexed.
formstringUPLOAD = SEC's letter to the company; CORRESP = the company's response.
limitintegerMaximum letters to return. Default 50, max 500.
sincestringLetter date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault desc. Use asc with a ticker filter to read a review thread in order.
tickerstringExact ticker (resolved from CIK; '' for unlisted filers).
untilstringLetter date upper bound (YYYY-MM-DD inclusive).

get_delistings

Returns SEC delisting and deregistration filings: the Form 25 family (notification of removal from listing on a national exchange under Rule 12d2-2) and the Form 15 family (certification terminating or suspending a security class's registration — the 'going dark' filing that ends SEC reporting; 15F variants are the foreign-private-issuer equivalents). Use this when the user asks: was/is a company being delisted, which companies went dark recently, what securities did an exchange remove, or to pair with tender offers / 8-Ks / insider sales around an exit event. Reading a record: action='deli…

ParameterTypeDescription
accession_numberstringDirect lookup by EDGAR accession number (e.g., '0000876661-26-000593').
actionstringForm family: 'delisting' = Form 25 family (exchange removal); 'deregistration' = Form 15 family (going dark).
cikstringIssuer SEC CIK (any zero-padding).
company_namestringCase-insensitive substring against the issuer name.
formstringVerbatim form type. 25-NSE = exchange-filed removal; 25 = issuer-filed; 15-12B/15-12G/15-15D = deregistration by registration section; 15F-* = foreign private issuers; /A = amendment.
limitintegerMaximum records to return. Default 50, max 500.
sincestringFiling date lower bound (YYYY-MM-DD inclusive).
sort_orderstringSort by filing date. Default desc (newest first).
tickerstringExact ticker (resolved from CIK; '' for unlisted filers).
untilstringFiling date upper bound (YYYY-MM-DD inclusive).

get_investment_advisers

Returns SEC Form ADV registry records — every SEC-registered investment adviser (~17K RIAs) and exempt reporting adviser (~6.5K ERAs, mostly private-fund advisers), from the SEC's monthly roster extract. One record per firm (CRD number) with regulatory AUM (discretionary / non-discretionary / total, Item 5F), employees and IA reps, client counts, custody flags (Item 9A), and disciplinary disclosure flags (Item 11, verbatim sub-question codes). Use this when the user asks: who advises/manages money, how big is an adviser, largest RIAs by state, advisers with disciplinary history, or to vet a…

ParameterTypeDescription
cikstringExact EDGAR CIK (any zero-padding) — the join key to 13F / enforcement data.
countrystringMain-office country, verbatim (e.g., 'United States').
crdstringDirect lookup by firm CRD number (e.g., '38').
firm_namestringCase-insensitive substring against primary business or legal name.
firm_typestring'registered' = SEC-registered RIAs (report AUM); 'exempt_reporting' = ERAs (AUM fields null).
has_disciplinary_disclosuresbooleanFilter to firms with (true) / without (false) Item 11 disclosures.
limitintegerMaximum firms to return. Default 50, max 500.
min_aumnumberMinimum total regulatory AUM in dollars (registered firms only; requires sort_by aum_total).
sort_bystringDefault aum_total (largest first).
sort_orderstringDefault desc.
statestringTwo-letter main-office state code (e.g., 'NY').

get_sec_fails_to_deliver

Returns SEC Fails-to-Deliver (FTD) rows — daily settlement failures by ticker / CUSIP / date. Each row is one ticker on one settlement date where a clearing-member's short sale FAILED to deliver shares. Signal value: persistent FTDs are a contrarian short-squeeze leading indicator. When the daily FTD quantity spikes on a ticker, it often means naked short pressure overwhelming locate supply or settlement / locate mechanism breaking down. The Reg SHO Threshold Securities list (FTDs > 0.5% of issued shares for 5+ consecutive days) is a derived view; this tool exposes the underlying daily data…

ParameterTypeDescription
cusipstringExact CUSIP (preferred for foreign issuers / class shares).
idstringDirect doc lookup ({YYYY-MM-DD}-{cusip}). Fastest path.
limitintegerMax records. Default 50, max 500.
min_quantitynumberInclusive lower bound on quantity_fails (shares). E.g., 100000 surfaces only large failures.
min_valuenumberInclusive lower bound on fail_value (dollars). E.g., 1000000 surfaces only $1M+ failures.
sincestringInclusive lower bound on settlement_date (YYYY-MM-DD).
sort_bystringSort key. Default: settlement_date.
sort_orderstringDefault: desc.
tickerstringTicker symbol (uppercased automatically).
untilstringInclusive upper bound on settlement_date (YYYY-MM-DD).

get_ofac_sdn

Returns OFAC Specially Designated Nationals (SDN) sanctions list entries, republished as-is (not a screening service; verify against treasury.gov). Use this for: sanctions-program queries (e.g., 'who's on the Russia SDN list'), or cross-referencing named individuals / entities against the canonical US sanctions list. Source: US Treasury OFAC — sanctionslistservice.ofac.treas.gov. ~19,000 entries refreshed daily. Each entry represents a person, entity, vessel, or aircraft sanctioned by the US government under one or more programs (CUBA, IRAN, SDGT [terrorism], NPWMD [WMD proliferation], RUSS…

ParameterTypeDescription
ent_numstringDirect OFAC entity number lookup. Fastest path.
entity_typestringFilter to one entity type. 'entity' covers companies / orgs; 'individual' for people; 'vessel' / 'aircraft' for transports.
limitintegerMaximum entries to return. Default 50, max 500.
namestringCase-insensitive substring against the primary listed name (e.g., 'kim jong un', 'gazprom').
programstringSubstring against the comma-delimited program field (e.g., 'IRAN', 'RUSSIA', 'SDGT' for terrorism, 'NARCOTICS').
remarksstringSubstring against free-text remarks (aliases, DOB / passport references, related-party hints).
sort_bystringDefault: ent_num.
sort_orderstringDefault: asc.

get_federal_register_documents

Returns Federal Register documents — the daily-published collection of US executive branch regulatory + administrative actions. Use this for: regulatory tracking (what's the SEC / EPA / FDA proposing this week?), executive order monitoring, public-comment-period tracking, lobbying tie-in (cross-reference with get_lobbying_filings for 'who's pushing which rule'), or compliance forward-look on proposed regulations. Source: federalregister.gov public REST API. Comprehensive — every Federal Register publication appears here. Document types (document_type field): 'Rule' —…

ParameterTypeDescription
agency_namestringCase-insensitive substring against full agency names. Use when you don't know the slug.
agency_slugstringAgency slug for exact filter (e.g., 'securities-and-exchange-commission', 'environmental-protection-agency').
document_numberstringGPO-assigned document number (e.g., '2026-09385'). Direct doc lookup, fastest.
document_typestringExact filter to one document type. 'Proposed Rule' is the high-value one for compliance forward-look.
limitintegerMaximum documents to return. Default 50, max 500.
sincestringpublication_date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (newest first).
textstringSubstring against title + abstract + excerpts combined. Use for topic searches ('climate', 'ai', 'cryptocurrency').
titlestringCase-insensitive substring against the document title.
untilstringpublication_date upper bound (YYYY-MM-DD inclusive).

get_fema_disasters

Returns federal disaster declarations from OpenFEMA — every DR (major disaster), EM (emergency), and FM (fire management) declaration since 1953, one record per (declaration, designated county). ~70K records. Use this when the user asks about: hurricanes / floods / wildfires / severe storms hitting a state or county, which counties were designated for FEMA assistance, active vs closed-out disasters, or to anchor an insurance / construction / utility / muni-credit question to the official federal declaration. Record shape: fema_declaration_string ('DR-4728-CA'), declaration type + date, inci…

ParameterTypeDescription
declaration_typestringDR = major disaster, EM = emergency, FM = fire management.
disaster_numberintegerExact FEMA disaster number (e.g., 4728).
fema_declaration_stringstringExact declaration (e.g., 'DR-4728-CA') — returns every designated county for that event.
idstringDirect lookup: '{declarationString}-{fips}' (e.g., 'DR-4728-CA-06037').
incident_typestringExact incident type (e.g., 'Hurricane', 'Flood', 'Fire', 'Severe Storm', 'Tornado', 'Earthquake').
limitintegerMaximum records to return. Default 50, max 500.
sincestringDeclaration date lower bound (YYYY-MM-DD inclusive).
sort_orderstringDefault: desc (most recent declarations first).
statestringTwo-letter state / territory code (e.g., 'FL', 'PR').
titlestringCase-insensitive substring against declaration title + designated area (e.g., 'ian', 'maui').
untilstringDeclaration date upper bound (YYYY-MM-DD inclusive).

get_proxy_filings

Returns Schedule 14A proxy filings — the document public companies send shareholders ahead of annual or special meetings. Each record is one filing carrying executive compensation tables, board nominations, shareholder proposals, auditor info, and voting matters. Use this when the user asks about: executive compensation, board elections, shareholder proposals, M&A votes, proxy contests, auditor changes, say-on-pay outcomes, or upcoming annual meetings. Coverage: the full DEF 14A family back to 2016 for the US public-company universe (sourced from EDGAR's complete quarterly full-index); a d…

ParameterTypeDescription
company_cikstringSEC CIK number (10-digit, padded). Alternative to ticker.
filing_typestringExact filing-type filter. Use 'DEFM14A' for M&A-vote proxies only, 'DEF 14A' for annual proxies only.
is_amendmentbooleanConvenience flag: filter to DEFR14A (revised) only.
is_merger_relatedbooleanConvenience flag: filter to DEFM14A only.
limitintegerDefault 50, max 500.
sincestringISO date (YYYY-MM-DD). Only records on or after this date.
sort_bystringDefault filing_date.
sort_orderstringDefault desc.
tickerstringStock symbol filter, e.g. 'AAPL'. Case-insensitive.
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_treasury_auctions

Returns Treasury security auctions — Bills (≤1yr), Notes (2-10yr), Bonds (20-30yr), TIPS (inflation-protected), and FRNs (floating-rate). Each record is one CUSIP issuance with announcement metadata + post- auction results. Key signal fields agents care about: - bid_to_cover_ratio: demand. >2.5 strong, <2.0 weak. - high_yield / average_yield: market clearing rate. - direct_bidder / indirect_bidder breakdowns: domestic vs foreign demand. - soma_holdings + soma_included: Fed System Open Market Account allocation. A live measure of Fed QE/QT activity on each issue. Records have…

ParameterTypeDescription
cusipstringFilter to one specific CUSIP issuance.
limitintegerDefault 50, max 500.
min_bid_to_covernumberFilter to auctions with bid_to_cover_ratio >= this value (e.g. 2.5 for strong-demand auctions only).
min_offering_amountnumberFilter to auctions with offering_amount >= this dollar amount.
reopeningbooleanFilter to reopenings (new tranches of an existing CUSIP) only when true.
security_typestringe.g. 'Bill', 'Note', 'Bond', 'TIPS', 'FRN', 'CMB'.
sincestringISO date YYYY-MM-DD. Applied to sort_by field.
sort_bystringDefault auction_date.
sort_orderstringDefault desc.
untilstringISO date YYYY-MM-DD.

get_economic_indicators

Returns observations of key US macro, energy, and fiscal indicators from four sources: - BLS (Bureau of Labor Statistics): the canonical labor + price statistics. ~20-series watchlist covering unemployment, payrolls, wages, CPI, PPI, productivity. Most monthly, ECI/productivity quarterly. - FRED (Federal Reserve Economic Data, St Louis Fed): rates, money supply, GDP, PCE inflation, mortgage rates, jobless claims, Fed balance sheet, breakeven inflation, dollar index, consumer sentiment. ~30-series watchlist. Some daily (rates, dollar), weekly (mortgage, Fed asset…

ParameterTypeDescription
categorystringBucket filter.
latest_onlybooleanWhen true, return only the most-recent observation per series. Useful for 'current state' snapshots.
limitintegerDefault 50, max 500.
period_typestringCadence filter.
series_idstringExact series ID. BLS examples: 'LNS14000000' (U-3), 'CES0000000001' (payrolls), 'CUUR0000SA0' (CPI). FRED examples: 'DFF' (Fed Funds), 'DGS10' (10Y Treasury), 'PCEPILFE' (Core PCE), 'M2SL' (M2), 'WALC…
since_yearintegerCalendar-year lower bound (inclusive).
sort_bystringDefault period (chronological).
sort_orderstringDefault desc.
sourcestringFilter to one source. Omit to query all four. BLS = canonical labor + price stats. FRED = rates, money, GDP, PCE inflation, sentiment. EIA = energy prices + production. FiscalData = Treasury debt to t…
until_yearintegerCalendar-year upper bound (inclusive).

get_cftc_cot_reports

Returns CFTC Commitments of Traders (COT) report rows — weekly aggregated futures + options-on-futures positioning by trader class. The COT report is the macro positioning dataset for U.S. futures markets. Released every Friday 3:30 PM ET for the prior Tuesday close. Trader classes (the CFTC's Legacy report, futures and options combined): - Non-commercial (large speculators — hedge funds, CTAs) - Commercial (hedgers — producers, swap dealers) - Non-reportable (small speculators) Every row carries report='legacy' and variant='combined' (futures and options together). Killer query…

ParameterTypeDescription
cftc_contract_market_codestringExact CFTC contract code (e.g., '13874A' = E-mini S&P 500, '088691' = Gold, '067651' = Crude Oil WTI).
commodity_namestringExact commodity name from CFTC's catalog (e.g., 'S&P 500 STOCK INDEX', 'GOLD', 'CRUDE OIL', 'EURO FX').
contract_market_namestringCase-insensitive substring on contract_market_name (e.g., 'S&P 500', 'GOLD', 'CRUDE OIL', 'JAPANESE YEN'); a needle of 3 characters or fewer matches WHOLE WORDS ('GAS' finds 'NAT GAS', not 'GASOLINE')…
idstringDirect doc lookup ({contract_code}-{YYYY-MM-DD}). Fastest path.
latest_onlybooleanWhen true, returns only the most recent report row per contract (one row per contract instead of weekly history).
limitintegerMax records. Default 50, max 500.
sincestringInclusive lower bound on report_date (YYYY-MM-DD).
sort_bystringSort key. Default: report_date. report_date, open_interest, noncomm_net, comm_net.
sort_orderstringDefault: desc.
untilstringInclusive upper bound on report_date (YYYY-MM-DD).

get_oig_exclusions

Returns entries on the HHS Office of Inspector General 'List of Excluded Individuals/Entities' (LEIE). Anyone on this list is barred from billing Medicare, Medicaid, or any federal healthcare program. Updated monthly by OIG; KeyVex re-scrapes monthly and overwrites. Use this when the user asks about: healthcare-fraud exclusions, Medicare/Medicaid program-integrity research (not employment or eligibility decisions about individuals — Terms §8A), geographic concentration of exclusions, or a specific person/business listed on LEIE. Cross-source tip: pair with get_federal_contracts to flag co…

ParameterTypeDescription
business_namestringCase-insensitive substring against business_name only.
citystringCase-insensitive substring against city.
exclusion_typestringStatutory code (e.g. '1128a1', '1128b5').
general_categorystringExact match (case-sensitive): 'PHARMACY', 'PHYSICIAN', 'OTHER BUSINESS', 'DME COMPANY', 'CLINIC', etc.
is_businessbooleanFilter to businesses only (true) or individuals only (false).
limitintegerDefault 50, max 500.
namestringCase-insensitive substring against full_name (covers both individuals and businesses).
npistringExact 10-digit National Provider Identifier.
sincestringISO date (YYYY-MM-DD). Applied to sort_by field.
sort_bystringDefault exclusion_date.
sort_orderstringDefault desc.
specialtystringCase-insensitive substring against specialty.
statestringTwo-letter state code (e.g. 'NY', 'CA'). Case-insensitive.
untilstringISO date (YYYY-MM-DD).

get_open_payments

Returns CMS Open Payments records — the Sunshine Act database of every payment / transfer of value from drug + device manufacturers and GPOs to US physicians, non-physician practitioners, and teaching hospitals (~15M records per program year, 2019→present). LIVE passthrough to CMS's own API: results reflect CMS's current data and `total_count` is CMS's authoritative count for the filtered query (the results array is just the requested page). Use this when the user asks about: pharma/device money to doctors, a company's physician-payment footprint, speaker-fee / consulting / royalty program…

ParameterTypeDescription
companystringSubstring against the paying manufacturer / GPO name (e.g., 'pfizer', 'medtronic').
limitintegerRecords per page. Default 25, max 500 (CMS page cap).
naturestringSubstring against nature of payment (general only; e.g., 'consulting', 'speaker', 'royalty', 'food').
npistringRecipient National Provider Identifier (exact, 10 digits). Precise join key to get_oig_exclusions.
offsetintegerPagination offset into the filtered result set.
payment_typestringDataset: general (default — meals/consulting/speaker fees), research, or ownership (physician stakes).
productstringSubstring against the associated drug / device name (general only; e.g., 'eliquis', 'ozempic').
recipient_first_namestringRecipient first name (exact, case-insensitive).
recipient_last_namestringRecipient physician / practitioner last name (exact, case-insensitive).
statestringTwo-letter recipient state code (e.g., 'TX').
summarizebooleantrue = CMS's pre-aggregated per-(company, nature) yearly totals instead of individual payments.
yearintegerProgram year (e.g., 2023). Default: latest published year.

get_consumer_complaints

Returns consumer complaints filed with the Consumer Financial Protection Bureau (CFPB). Each record is one filing against a bank, credit reporting agency, mortgage servicer, debt collector, fintech, or crypto firm — with company response status, timeliness flag, and (when consented) consumer narrative. Use this when the user asks about: complaint volume against a specific company, top issues at a credit reporting agency, regional complaint patterns, untimely responses by a financial institution, or as a leading indicator of upcoming CFPB/OCC/FDIC enforcement action. COVERAGE — live passt…

ParameterTypeDescription
companystringCase-insensitive substring against company name (e.g., 'experian', 'jpmorgan', 'capital one').
idstringDirect lookup by CFPB complaint_id.
issuestringCase-insensitive substring against the issue field (e.g., 'incorrect information', 'fraud', 'debt is not yours').
limitintegerDefault 50, max 500.
productstringExact product match (e.g., 'Mortgage', 'Debt collection', 'Credit reporting or other personal consumer reports').
sincestringISO date (YYYY-MM-DD). Applied to sort_by field.
sort_bystringDefault date_received.
sort_orderstringDefault desc.
statestringTwo-letter state code (e.g., 'CA', 'NY'). Case-insensitive.
sub_productstringExact sub-product match.
submitted_viastringChannel filter.
timely_responsebooleanFilter to complaints with timely company response (within CFPB's 15-day window) or not.
untilstringISO date (YYYY-MM-DD).

get_fundamentals

Returns XBRL-tagged financial fundamentals from public-company 10-K and 10-Q filings, sourced from SEC EDGAR's company-facts API. Each record is one observation of one concept at one period end. Use this when the user asks about: revenue, profit, margins, cash position, debt, shareholder equity, EPS, share count, operating vs. financing cash flow, or any line-item-level financial state of a public company. v1A scope: a curated 40-concept watchlist covering: - income_statement: Revenues / RevenueFromContractWithCustomer / CostOfRevenue / GrossProfit / OperatingExpenses / R&D / SG&A /…

ParameterTypeDescription
categorystringBucket filter when you don't know the exact concept name.
company_cikstringSEC CIK number. Alternative to ticker.
conceptstringExact XBRL tag name (e.g., 'NetIncomeLoss', 'Revenues', 'Assets', 'CashAndCashEquivalentsAtCarryingValue'). Case-sensitive.
fiscal_periodstringFilter to one fiscal period.
fiscal_yearintegerFilter to one fiscal year — the year the financials DESCRIBE (the company's own fiscal-year label, derived from the original filing), NOT the filing year. Handles non-December fiscal years: e.g. NVD…
formstringFilter to one filing form.
latest_onlybooleanWhen true, return only the most-recent observation per (ticker × concept). Default false.
limitintegerDefault 50, max 500.
sincestringISO date YYYY-MM-DD. Applied to sort_by field.
sort_bystringDefault period_end.
sort_orderstringDefault desc.
tickerstringStock symbol filter, e.g. 'AAPL'. Case-insensitive.
untilstringISO date YYYY-MM-DD.

get_government_publications

Returns recent congressional + oversight publications from GovInfo across four collections. Use this when the user asks about: - Committee reports on a specific bill or topic - Recently signed public laws (the 'did it become law' signal) - Congressional hearing transcripts (testimony from regulators, CEOs, expert witnesses) - GAO oversight reports (independent reviews of federal agencies + programs, often precede SEC/DOJ enforcement on the same target) Collections (filter via the `collection` enum): CRPT — Congressional Reports. Includes committee reports…

ParameterTypeDescription
collectionstringFilter to one collection: CRPT (committee reports), PLAW (public laws), CHRG (hearings), GAOREPORTS (GAO).
congressstringCongress number as string (e.g., '119').
doc_classstringSub-class within the collection. Examples: 'hrpt' (House report), 'srpt' (Senate report), 'pub' (public law), 'pvt' (private law), 'hr' (House hearing), 's' (Senate hearing).
limitintegerMaximum records to return. Default 50, max 500.
package_idstringGovInfo packageId. Direct doc lookup, fastest. Example: 'CRPT-119hrpt27'.
sincestringISO date (YYYY-MM-DD). Only documents whose date_issued is on or after this date.
sort_bystringDefault: date_issued.
sort_orderstringDefault: desc (most recent first).
titlestringCase-insensitive substring against the package title.
untilstringISO date (YYYY-MM-DD). Only documents whose date_issued is on or before this date.

get_h1b_filings

Returns H-1B Labor Condition Applications from the Department of Labor's quarterly disclosure files — one record per LCA with employer, job title, O*NET-SOC occupation code, offered wage vs DOL prevailing wage, worksite location, and employer risk flags (h1b_dependent, willful_violator). Covers H-1B, H-1B1 (Chile / Singapore), and E-3 (Australia) visa classes. Use this when the user asks about: a company's hiring activity or wage levels for specific roles, tech-hiring trends by state or occupation, offered vs prevailing wage gaps, or outsourcing-firm staffing patterns. IMPORTANT interpretat…

ParameterTypeDescription
case_numberstringDirect lookup by DOL case number (e.g., 'I-200-26083-726723').
case_statusstringExact: 'Certified', 'Certified - Withdrawn', 'Denied', 'Withdrawn'.
employer_namestringCase-insensitive substring against employer legal name + DBA (e.g., 'google', 'tata').
job_titlestringCase-insensitive substring against the job title (e.g., 'machine learning').
limitintegerMaximum filings to return. Default 50, max 500.
sincestringDecision date lower bound (YYYY-MM-DD inclusive).
soc_codestringExact O*NET-SOC occupation code (e.g., '15-1252.00' = Software Developers).
sort_orderstringDefault: desc (most recent decisions first).
untilstringDecision date upper bound (YYYY-MM-DD inclusive).
visa_classstringExact: 'H-1B', 'H-1B1 Chile', 'H-1B1 Singapore', 'E-3 Australian'.
worksite_statestringTwo-letter worksite state (e.g., 'CA', 'TX').

get_osha_enforcement

Returns OSHA workplace-safety enforcement records from the Department of Labor's enforcement data: inspection cases (who was inspected, where, why, when) with optional violation citations attached (standard cited, violation type, penalties, abatement dates). Use this when the user asks about: a company's workplace-safety record, OSHA penalties or citations, fatality/catastrophe investigations, inspection activity by state or industry (NAICS), or contractor safety research. Result rows are INSPECTIONS. Pass include_violations=true to attach each inspection's citations under a `violations` arra…

ParameterTypeDescription
activity_nrstringDirect lookup by OSHA inspection activity number (e.g., '317465899'). Returns the inspection with its violations attached. Fastest path.
establishment_namestringCase-insensitive substring against the inspected establishment's name (e.g., 'amazon', 'dollar general'). Client-side filter.
include_violationsbooleanWhen true, attaches each returned inspection's violation citations under a `violations` array (standard, type, penalties, abatement/contest dates). Default false.
insp_typestringOne-letter inspection-type code (e.g., 'M' Fat/Cat, 'B' Complaint, 'H' Planned — full legend in the tool description).
limitintegerMaximum inspections to return. Default 50, max 500.
min_penaltynumberKeep only inspections with at least one violation whose initial or current penalty is >= this amount (dollars). Implies include_violations=true.
naics_codestringExact NAICS industry code of the inspected site (e.g., '238160' roofing contractors). Note: '000000' on many pre-NAICS-era records.
sincestringInspection open_date lower bound (YYYY-MM-DD inclusive).
sort_bystringSort key. Default: open_date. case_mod_date = most recently UPDATED cases (cannot combine with state/naics_code/since/until).
sort_orderstringDefault: desc (most recent first).
statestringTwo-letter site state (e.g., 'TX', 'CA').
untilstringInspection open_date upper bound (YYYY-MM-DD inclusive).

get_nlrb_cases

Returns NLRB (National Labor Relations Board) case filings: unfair- labor-practice charges and union representation/election petitions. Use this when the user asks about: union organizing at a company, labor disputes or ULP charges, union election petitions and outcomes, decertification efforts, or a company's labor-relations record. Case numbers follow {region}-{type}-{sequence}, e.g. '03-CA-390171' (NLRB Region 03, CA charge). The middle code determines the case family: C-cases are ULP CHARGES against an employer (CA) or a union (CB, CC, CD, CE, CG, CP) — allegations of unlawful labor pra…

ParameterTypeDescription
case_numberstringDirect lookup by NLRB case number (e.g., '03-CA-390171'). Fastest path.
case_subtypestringExact case-number code (e.g., 'CA' charge against employer, 'CB' against union, 'RC' certification petition, 'RD' decertification). Client-side filter.
case_typestringCase family: 'ULP' = unfair-labor-practice charges (C-cases), 'representation' = election/unit petitions (R-cases).
employer_namestringCase-insensitive substring against the named party (e.g., 'starbucks', 'amazon'). Usually the employer; on CB-type charges the union. Client-side filter.
limitintegerMaximum cases to return. Default 50, max 500.
regionstringTwo-digit NLRB region number from the case-number prefix (e.g., '03' Buffalo, '13' Chicago). Client-side filter.
sincestringdate_filed lower bound (YYYY-MM-DD inclusive).
sort_bystringSort key. Only date_filed is supported (the default).
sort_orderstringDefault: desc (most recently filed first).
statestringTwo-letter state/territory code of the case site (e.g., 'NY', 'CA', 'PR').
statusstringCase status. Client-side filter.
untilstringdate_filed upper bound (YYYY-MM-DD inclusive).

get_ferc_filings

Returns FERC eLibrary document records — every public filing at the Federal Energy Regulatory Commission: Issuances (orders, notices, delegated letters BY FERC) and Submittals (rate filings, tariff changes, compliance reports, protests, hydro license paperwork TO FERC) across the Electric, Natural Gas, Oil, Hydro, Rulemaking, and General libraries (~1,300 documents/week). Use this when the user asks about: a FERC docket or rate case, pipeline / utility / hydro regulatory activity, FERC orders affecting a company, or energy infrastructure proceedings. The DOCKET NUMBER is the join key across…

ParameterTypeDescription
accession_numberstringDirect lookup by FERC accession number (e.g. '20260708-3001').
categorystringIssuance = BY FERC (orders, notices); Submittal = TO FERC (company filings).
class_typestringCase-insensitive substring against document class + type (e.g. 'order', 'tariff', 'protest', 'environmental').
docket_numberstringDocket number — root ('RP26-930', 'P-5737') or full sub-docket ('RP26-930-000'). Returns every document in that proceeding.
librarystringFERC library — code or name: E/Electric, G/Gas, O/Oil, H/Hydro, RM/Rulemaking, Gen/General. (Rare multi-library documents carry a concatenated value like 'RulemakingElectric' — FERC's own encoding…
limitintegerMaximum records to return. Default 50, max 500.
sincestringLower bound (YYYY-MM-DD inclusive) on the sort_by date field.
sort_bystringDefault posted_date (when FERC published the document — filings can post up to ~4 days after filing).
sort_orderstringDefault: desc (most recent first).
textstringCase-insensitive substring against the document description (e.g. a company name).
untilstringUpper bound (YYYY-MM-DD inclusive) on the sort_by date field.

get_foreign_agents

Returns FARA registrations — US persons and firms registered with the DOJ as agents of a foreign principal under the Foreign Agents Registration Act. Use this when the user asks about: who is a registered foreign agent, which US firms work for a particular foreign government, recently-registered foreign agents, or to add a 'foreign- influence' flag to a lobbying firm, law firm, or PR firm. Each record is one registrant ↔ foreign-principal relationship — a registrant representing three foreign principals appears as three records. The single highest-signal filter is foreign_principal_coun…

ParameterTypeDescription
foreign_principal_countrystringCountry of the foreign principal, matched uppercase (e.g. 'CHINA', 'RUSSIA', 'SAUDI ARABIA'). The key foreign-influence filter.
foreign_principal_namestringCase-insensitive substring against the foreign principal's name.
has_foreign_principalbooleanFilter to records that carry a foreign-principal relationship (true) or registrants with no active foreign principal (false).
limitintegerMaximum records to return. Default 50, max 500.
registrant_namestringCase-insensitive substring against the US registrant (agent) name.
registration_numberstringExact FARA registration number. Fastest lookup.
sincestringISO date (YYYY-MM-DD). Only records on or after this date, by sort_by.
sort_bystringDefault: registration_date.
sort_orderstringDefault: desc (most recent first).
statusstringRegistration status: 'active' = currently on DOJ's list; 'terminated' = left the list since ingestion (kept as history). Omit for both.
untilstringISO date (YYYY-MM-DD). Only records on or before this date.

get_screening_list

Returns entries from the US Consolidated Screening List (CSL) — the combined feed of twelve federal export-screening lists. Use this when the user asks about: whether a company or person is on a US screening / sanctions / denied-party list (KeyVex republishes the lists; it is not a screening service), BIS Entity List members, Military End User designations, or to add a 'restricted party' flag to a federal contractor or foreign agent. The CSL unifies twelve lists (filter via source_short): SDN — Specially Designated Nationals (Treasury/OFAC) EL — Entity List (Commerce/BIS) DPL…

ParameterTypeDescription
countrystringISO-2 country code (e.g. 'CN', 'RU', 'IR'). Matches entries with an address in that country, or where the source list assigns the entry itself to that country. Common spellings are accepted ('UK', 'Tu…
limitintegerMaximum records to return. Default 50, max 500.
namestringCase-insensitive substring matched against the entry name AND its alternate names / aliases.
programstringCase-insensitive substring against the entry's sanctions / control programs.
sort_bystringDefault: name.
sort_orderstringDefault: asc (alphabetical by name).
source_shortstringFilter to one source list by short code: SDN, EL, DPL, MEU, UVL, CMIC, CAP, DTC, ISN, MBS, PLC, SSI.
typestringFilter by entry type.

get_aircraft_registry

Returns FAA aircraft registrations — the releasable registry of ~314K currently US-registered aircraft, one record per N-number: the aircraft (manufacturer, model, seats, engines, weight class, year built, engine type), and the REGISTRANT — name, type (Individual / Corporation / LLC / Government / Co-Owned, the FAA's own legend, with the verbatim code), address, and up to five co-owner names. Use this when the user asks: who owns an aircraft (by N-number), what aircraft a company / person / nonprofit registers, corporate-jet fleets, aircraft registered in a state, or to join tail numbers s…

ParameterTypeDescription
aircraft_type_codestringFAA code: 4 fixed-wing single-engine, 5 fixed-wing multi-engine, 6 rotorcraft, 1 glider, 2 balloon, 9 gyroplane, H hybrid lift, O other.
limitintegerMaximum records. Default 50, max 500.
manufacturerstringCase-insensitive substring against the manufacturer (e.g., 'gulfstream', 'cessna').
n_numberstringDirect lookup by registration (with or without the N prefix).
registrant_namestringCase-insensitive substring against registrant + co-owner names.
registrant_type_codestringFAA code: 1 Individual, 2 Partnership, 3 Corporation, 4 Co-Owned, 5 Government, 7 LLC, 8 Non-Citizen Corp, 9 Non-Citizen Co-Owned.
sort_bystringDefault last_action_date (most recent registry activity first).
sort_orderstringDefault desc.
statestringTwo-letter registrant state (e.g., 'TX').

get_alerts

Your watchlist alerts, newest first: events matched to the tickers, members of Congress and federal-contract recipients (UEIs) on YOUR watchlist, for the API key making the call. Kinds: congress_trade: a congressional trade disclosed this week in a ticker or by a member on your watchlist. initial_13d: an initial Schedule 13D (a new 5%+ activist stake) filed this week in a ticker on your watchlist. federal_contract: federal awards at or above your threshold that KeyVex first reported this week, new or newly modified (a later modification of an award you were already alerted to does not al…

ParameterTypeDescription
cursorstringnext_cursor from the previous page.
kindstringOnly this kind.
limitintegerPage size (default 50).
sincestringOnly alerts detected at or after this ISO date or date-time.

get_corporate_patents

Returns US patent applications from the USPTO Open Data Portal, keyed on the APPLICANT (the corporate owner). Each record is one application's front-page metadata: title, applicant(s), first inventor + inventor count, filing/effective dates, status, entity size, application type. Follow source_url (USPTO Patent Center) for the full file wrapper / documents. Use this when the user asks: what is a company patenting, how many patents did a company file (and when), recent patents in a company's portfolio, or to cross-reference R&D output against insider/congressional activity, contracts, or funda…

ParameterTypeDescription
application_numberstringExact USPTO application number for a direct lookup (cache). Example: '17/123456'.
company_namestringCorporate applicant (IP-holding entity), case-insensitive. Triggers a LIVE USPTO query over that applicant's full history. Use the full legal entity, e.g. 'Microsoft Technology Licensing, LLC' (not 'M…
limitintegerMaximum records to return. Default 50, max 200.
sincestringISO date (YYYY-MM-DD). Only applications with filing_date on or after this date.
sort_orderstringOrder by filing_date. Default: desc (most-recent first).
untilstringISO date (YYYY-MM-DD). Only applications with filing_date on or before this date.

get_nonprofit_filings

Returns IRS Form 990-series e-filing records — the registry of every e-filed nonprofit return the IRS has released, 2017→present (~5.5M filings; ~400-750K/yr). One record per return: EIN, organization name, return type (990 = full; 990EZ = small; 990PF = private foundation; 990T = unrelated business income; the 2019-era index also carries IRS codes 990EO/990O verbatim), the tax period covered (YYYYMM), and the IRS release year. Use this when the user asks: does nonprofit X file with the IRS, when did a foundation last file, which returns has an EIN filed, or to anchor a nonprofit's identit…

ParameterTypeDescription
einstringEmployer Identification Number (any format — digits extracted).
limitintegerMaximum records. Default 50, max 500.
namestringCase-insensitive substring against the organization name.
object_idstringDirect lookup by IRS OBJECT_ID.
return_typestringIRS code verbatim: '990', '990EZ', '990PF', '990T' (also '990EO'/'990O' in 2019-era records).
sincestringtax_period lower bound — 'YYYY-MM' or 'YYYYMM' (inclusive).
sort_orderstringSort by tax_period. Default desc.
submission_yearintegerIRS release/index year (2017→present; financials partial for 2017 — IRS retired the pre-2017 XML archives).
untilstringtax_period upper bound — 'YYYY-MM' or 'YYYYMM' (inclusive).

get_company_profile

Returns ONE company's reference profile: legal name, CIK, tickers + exchanges, SIC industry classification, state of incorporation, HQ and mailing addresses, phone, fiscal year end, EIN, former names, a plain-English business summary (condensed from the latest 10-K Item 1), CEO + board of directors (from the latest DEF 14A proxy), federal- contract activity summary (USAspending join, with a ready-to-run get_federal_contracts query), company logo reference, and — on paid plans — the latest end-of-day closing price (price_eod; Close Prices from Tiingo.com). For price HISTORY use get_daily_pr…

ParameterTypeDescription
cikstringSEC CIK, padded or not ('320193' or '0000320193'). Exactly one of ticker/cik.
tickerstringCompany ticker, e.g. 'AAPL', 'BRK-B' (EDGAR hyphen convention for class shares). Exactly one of ticker/cik.

get_daily_prices

Returns daily end-of-day closing-price history for one US-listed ticker (stocks, ETFs, mutual funds — including delisted tickers, so historical analysis is survivorship-bias-free). Coverage extends back as far as 1962 for the oldest names, subject to plan history limits. PAID PLANS ONLY. Each row: date, close (as-traded), adj_close (split+dividend adjusted — use THIS for charts and return calculations), div_cash (dividend with that ex-date), split_factor (e.g. 4 = 4:1 split that session). price_currency (top level) is the ISO currency of EVERY price in the response: USD. KeyVex covers US…

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'AAPL', 'SPY', 'BRK-B' (hyphen for share classes).
frequencystringDownsampling. Default daily. Use weekly/monthly for multi-year charts.
include_ohlcbooleanAdd open/high/low/volume (+ adjusted variants) to each row. Default false. Aggregated per period on weekly/monthly.
sincestringISO date YYYY-MM-DD inclusive. Default: earliest your plan allows. Setting since pages FORWARD from it: to read the next page of a long window, pass the previous response's next_since.
untilstringISO date YYYY-MM-DD inclusive. Default: latest available. Without since a long window returns its newest 5,000 rows; to read the page before, pass the previous response's prev_until here.

get_intraday_quote

Returns the latest intraday price for ONE US-listed ticker, live from Tiingo's IEX feed; a stock's quote is reused for up to 10 seconds, so two calls in the same 10 s can return the same print. PAID PLANS ONLY. Use this when the question is 'what is X trading at now'. For price HISTORY (daily closes, splits, dividends) use get_daily_prices. Returns: price, and `as_of` — the exact timestamp of that quote, verbatim from the source. ALWAYS read `as_of` rather than assuming the quote is current: outside US market hours the feed returns the most recent session's final print, so a quote at 21:00…

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'AAPL', 'SPY', 'BRK-B' (hyphen for share classes).