# Finterm: Full Tool Reference Every response is the two-key envelope `{ finterm, data }` on success, `{ finterm, error }` on failure. snake_case throughout. Authenticate with a bearer token (`finterm auth login`, or FINTERM_API_KEY from the dashboard). The surface is paid: every authenticated DATA/TOOL call requires Finterm Pro (3-day free trial, card required). Without Pro the API returns 402 `SUBSCRIPTION_REQUIRED` with `error.upgrade_url`; upgrade at https://app.finterm.ai/pricing, then retry, and access activates automatically after checkout. Two account-level endpoints work with any authenticated key, Pro or not: GET /api/v1/account (plan state) and POST /api/v1/feedback (bugs, questions, feature requests). - OpenAPI: https://api.finterm.ai/api/v1/openapi.json - Catalog: https://api.finterm.ai/api/v1/catalog - Docs: https://docs.finterm.ai - Setup guide and examples: https://finterm.ai/llms.txt ## Current Stock Prices (`stock_prices_current`) POST /api/v1/prices/current Get the latest available price for one or more stock symbols in a single call. Prices are the latest available from Finterm’s market-data provider. They are delayed by up to 15 minutes depending on provider plan and exchange entitlements. Returns one price per requested symbol; historical dates are not supported. Request fields: - symbols: string[] Response `data` (`finterm.result:StockPricesCurrent/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - price: The latest available price for the symbol, in USD. Delayed by up to 15 minutes depending on provider plan and exchange entitlements. Example: `finterm tool stock_prices_current NVDA AAPL` ## Technical Indicators (`technical_indicators`) POST /api/v1/technical-indicators Calculate standard momentum and trend indicators. Returns RSI(14) with conventional above-70 overbought and below-30 oversold heuristic labels; those labels are not reversal forecasts. Also returns MACD for momentum and the 20- and 50-period simple moving averages for trend direction. Request fields: - symbols: string[] - date: string Response `data` (`finterm.result:TechnicalIndicators/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - rsi_14: 14-period Relative Strength Index. The conventional above-70 overbought and below-30 oversold labels are fixed heuristics, not reversal forecasts. - macd_value: MACD line value (12/26/9 configuration). - macd_signal: MACD signal line value. - macd_histogram: MACD histogram (MACD line minus signal line). - sma_20: 20-period simple moving average of the closing price. - sma_50: 50-period simple moving average of the closing price. Example: `finterm tool technical_indicators AAPL --as-of-date 2024-01-16` ## SEC Filings Search (`sec_filings_search`) POST /api/v1/sec/search Find a company’s SEC filings by ticker symbol. Covers annual reports (10-K, 20-F) and interim reports (10-Q, 6-K). Each result carries the accession number, form type, filing date, company name, document URL, and the fiscal year, fiscal period, and period-end date when available. Use the returned fiscal year and period with sec_filing_fetch to pull narrative sections. Request fields: - ticker: string - form_type: "10-K" | "10-Q" | "20-F" | "6-K" | "all" - from_date: string - limit: number Response `data` (`finterm.result:SecFilingsSearch/v1`): - total_results: Total number of matching filings (may exceed the number returned). - filings: The matching filings, most recent first. Each carries the accession number, form type, filing date, company name, document URL, and the fiscal year/period and period-end date when available. Example: `finterm tool sec_filings_search AAPL --form-type 10-K --as-of-date 2024-12-31` ## SEC Filing Fetch (`sec_filing_fetch`) POST /api/v1/sec/fetch Resolve a single SEC filing by ticker, fiscal year, and fiscal period, then return the requested narrative sections (such as risk factors, MD&A, business, or legal proceedings) as plain text. Semantic section names map across annual and interim filer forms, so the same request works for a 10-K or a 10-Q. Request fields: - ticker: string - year: number - period: "FY" | "Q1" | "Q2" | "Q3" | "Q4" - sections: string - format: "text" | "html" Response `data` (`finterm.result:SecFilingFetch/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - year: The fiscal year of the resolved filing. - period: The fiscal period: "FY" for annual, "Q1"-"Q4" for quarterly. - form_type: The resolved SEC form type (e.g. "10-K", "10-Q", "20-F"). - filed_at: The date the filing was filed, in ISO 8601 format. - period_of_report: The period-end date the filing reports for, in YYYY-MM-DD format, or null when not reported. - accession_number: The SEC accession number uniquely identifying the filing. - company_name: The filer company name as reported in the filing. - filing_url: A URL to the filing on SEC EDGAR. - sections: The requested narrative sections, as a map of section name to its extracted text. Example: `finterm tool sec_filing_fetch AAPL --year 2024 --period FY --sections risk_factors,mda` ## SEC Filing Diff (`sec_filing_diff`) POST /api/v1/sec/diff Compare two SEC filings for the same company across fiscal periods and report what changed, section by section. Returns a compact per-section manifest (changed, unchanged, or unavailable, with line counts and a prose churn percentage for changed sections) alongside a rendered Markdown report. Summary mode returns the manifest only; diff mode adds the changed hunks. Request fields: - ticker: string - base: object{year: number; period: "FY" | "Q1" | "Q2" | "Q3" | "Q4"} - compare: object{year: number; period: "FY" | "Q1" | "Q2" | "Q3" | "Q4"} - sections: string - mode: "diff" | "raw" | "summary" - qa: boolean Response `data` (`finterm.result:SecFilingDiff/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - base: The baseline (earlier) filing reference: fiscal year and period, plus the resolved form type, filing date, and period-end date when available. - compare: The comparison (later) filing reference: fiscal year and period, plus the resolved form type, filing date, and period-end date when available. - mode: The output mode: "diff" (changed hunks), "summary" (manifest only), or "raw" (both section texts in the report). - manifest: Per-section change summary. Each row gives the section name, its status, and, for changed sections, the added/removed line counts and the prose churn percentage. - report: The rendered comparison report in Markdown, or null when the report was delivered out of band. Example: `finterm tool sec_filing_diff AAPL --base 2023:FY --compare 2024:FY --sections risk_factors --mode summary` ## Options Sentiment (`options_sentiment`) POST /api/v1/options/sentiment Measure options-market sentiment for one underlying symbol on a specific date. Returns the put/call volume ratio and its fixed convention label (below 0.7 bullish, 0.7–1.0 neutral, above 1.0 bearish), call and put volume, the average bid/ask spread, and a liquidity grade. The thresholds are descriptive conventions, not calibrated forecasts for a symbol or market regime. A data_quality block reports whether the sample is solid ("ok"), empty ("no_data", e.g. a non-trading day), or too small to trust ("thin_sample"), so a reading is never mistaken for a confident one. The date is required and identifies which day to report. Request fields: - underlying_ticker: string - date: string - include_spread_analysis: boolean - expiration_filter: string - max_contracts: number Response `data` (`finterm.result:OptionsSentiment/v1`): - ticker: The underlying stock ticker symbol, uppercased (e.g. "AAPL"). - as_of_date: The date the sentiment is reported for, in YYYY-MM-DD format. - sentiment: Put/call sentiment for the day: put_call_volume_ratio (put volume ÷ call volume; the fixed convention labels below 0.7 bullish, 0.7–1.0 neutral, and above 1.0 bearish), the interpretation label, total_call_volume, total_put_volume, avg_spread_percent (average bid/ask spread as a percent of midpoint), and liquidity_grade (A best to D worst). Ratio, interpretation, spread, and grade are null when there is no volume to read or spread analysis was not requested. The thresholds are descriptive conventions, not calibrated forecasts for a symbol or market regime. - data_quality: Sample-quality verdict: status ("ok", "no_data" for a day with no traded contracts, or "thin_sample" for a low-volume sample), contracts_analyzed, contracts_with_volume, and total_volume. Use it to weight or discard the reading. - contracts: Contract-count summary for the analyzed sample: total_calls, total_puts, contracts_with_volume, and the list of expirations covered (YYYY-MM-DD). Example: `finterm tool options_sentiment AAPL --as-of-date 2024-01-15` ## Options Overview (`options_overview`) POST /api/v1/options/overview Get a live one-call options overview for a ticker. One full-chain snapshot is summarized into a volatility block (30-day implied vs 20-day realized vol, their spread, skew, and the rank/percentile of today’s IV in the ticker’s own year), a flow block (today’s volume with put/call splits and reference averages), and a positioning block (open interest, max pain, and the largest open-interest strikes). It adds expected moves per expiry (always including the first expiry on or after the next earnings date), lognormal probability bands, quotable derived[] sentences, condition flags, and a data_quality block. History-dependent fields report null with a days-collected count while the daily series fills, never fabricated. Serves live data only; pass a past date to options_sentiment instead. Request fields: - ticker: string - as_of_date: string Response `data` (`finterm.result:OptionsOverview/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - as_of_date: The calendar date the snapshot reflects, in YYYY-MM-DD format. - spot: The underlying spot price at the snapshot, or null when unavailable. - context: Event context: next_earnings carries the upcoming earnings date, the number of calendar days until it, and whether it is confirmed (null when no upcoming date is known). - volatility: Volatility block, all in percent points: iv_30 (30-day constant-maturity at-the-money implied vol), hv_20 (20-day realized vol), iv_vs_hv (their spread), skew (near-the-money put-minus-call IV), iv_rank and iv_percentile (position of today's IV30 in its own trailing-year range and the share of days below it, 0-100), iv_1y_low / iv_1y_high (the year's IV extremes with their dates), and hv_rank (the interim realized-vol rank). Rank, percentile, and the 1-year extremes are null until the daily series has collected a year of history. - flow: Today's options volume: total volume with the put and call splits, pc_ratio (put ÷ call volume), vs_avg_30d (today vs the trailing 30-day average, 1.15 = 115%), pc_5d_avg (trailing 5-day average volume P/C), and pc_percentile_1y (today's volume P/C percentile in the trailing year, 0-100). The averages and percentile are null while the daily series accumulates. - positioning: The accumulated open-interest book: open_interest with the put and call splits, pc_ratio, vs_avg_30d (today's OI vs its trailing 30-day average), max_pain (the strike with the least total option value at expiry, the expiry it applies to, and spot_vs = spot ÷ strike − 1), and top_strikes (the largest open-interest strikes per side as [strike, share-of-side-OI] pairs). - expected_move: Per-expiry expected moves from the at-the-money straddle: expiry, days ahead, pct (the ±% move) and dollars (the ± dollar move). The entry on or after the next earnings date carries post_earnings: true so the event-spanning move is never missed. - probability: Lognormal price bands at one target expiry (the first post-earnings expiry when one is known): expiry, method, and bands with the p10/p25/p50/p75/p90 price levels. Null when no bands could be computed. - derived: Quotable plain-English sentences summarizing flow, volatility, and the priced-in move. The first sentence doubles as a headline. - flags: Notable conditions on this snapshot (e.g. volume_above_average, iv_rank_high, pc_volume_high_extreme, chain_truncated). - scope: What was summarized: selection (full_chain or partial_chain when the fetch cap stopped at a prefix), contracts_analyzed, expirations_covered, and pages_fetched. - data_quality: Reading reliability: status ("ok", "thin" for a sparse or zero-volume chain, or "no_data"), history (status and days_collected for the trailing daily series the rank/average fields depend on), and an optional note describing any caveat. - methodology: A versioned description of how each figure is computed (iv_30, hv_20, skew, expected_move, probability_bands, max_pain, and the flag_thresholds), so explanations stay grounded in the actual computation. Example: `finterm tool options_overview TSLA` ## Financial Statements (`financial_statements`) POST /api/v1/fundamentals/financials Get a company’s reported financial statements (balance sheet, income statement, or cash flow), one statement type per call, as a series of reporting periods. Use it to analyze financial health, profitability, and cash generation. Each period carries its fiscal year and quarter, the period end and filing dates, and the statement’s line items. Request fields: - ticker: string - statement_type: "balance_sheet" | "income_statement" | "cash_flow" - as_of_date: string - timeframe: "quarterly" | "annual" | "trailing_twelve_months" - fiscal_year: number - fiscal_quarter: number - limit: number Response `data` (`finterm.result:FinancialStatements/v2`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - statement_type: Which statement was requested: "balance_sheet", "income_statement", or "cash_flow". - periods: One record per reporting period, newest first. Each record carries the period identity (fiscal_year, fiscal_quarter, fiscal_year_as_reported, fiscal_quarter_as_reported, fiscal_label_source, period_start, period_end, period_days, filing_date, timeframe, period_source, non_reliance_reason) plus the line items for the requested statement type, and on income_statement a "suspect" verdict on its own line items. Amounts are in USD; a missing line item is null. "period_days" is the inclusive length of the period and is published on every record, null when no opening date was reported or the pair does not parse. Check it before comparing periods: in a 53-week fiscal year the fourth quarter runs 98 days against 91 for the others, so a year-over-year comparison that ignores it books roughly 7.7% of growth that is only extra selling days. It also exposes a cumulative year-to-date figure that has leaked in as a quarter, which shows up as a ~273-day "quarter" rather than an exceptional one. "period_source" says how the record was produced: "reported" when a filing carried the period, or "q4_from_annual" for a fiscal fourth quarter. No company files a fourth 10-Q — the 10-K reports the full year — so that quarter is computed as the annual figure minus the three filed quarters. It runs on the two flow statements, income_statement and cash_flow, and never on balance_sheet, whose line items are instants. Derived only when the annual and all three quarters are present and contiguous from the start of the fiscal year. Each line item derives independently: one absent from the annual or from any quarter is null on the derived period, and the period still ships as long as one item derived. A fiscal year whose fourth quarter IS reported is never derived over. It carries the 10-K's filing_date, because that is when the figure became knowable. Two consequences worth pricing in: a restatement of an earlier quarter inside the annual report is inherited silently by the subtraction, and share counts and per-share figures ("shares_outstanding", "shares_outstanding_diluted", "earnings_per_share", "earnings_per_share_diluted") are null on a derived period rather than subtracted, because a period-average share count and a ratio over it are not additive across periods. A derived period takes "fiscal_year" from the annual and "fiscal_quarter" 4, unless a reported period already holds that pair, in which case it reports "fiscal_quarter" as null rather than duplicate the key. Filter on "period_source" to find derived periods reliably. Requesting an explicit "fiscal_quarter" of 4 returns only what was reported and never derives. A derived fourth quarter also absorbs every full-year charge the first three quarters did not carry — a discrete inventory write-down taken on exiting a product line, say — so a margin that collapses there is more often a real fourth-quarter event than a fault in the subtraction. The annual report is what settles it. "fiscal_year" and "fiscal_quarter" are ALIGNED to the filing company's own fiscal calendar wherever its annual period can place them, and "fiscal_label_source" says which labelling a record carries. Unlike the fourth-quarter derivation, alignment runs on every quarterly request, balance_sheet included, so the three statements can be joined on the labels. Alignment matters for 52/53-week filers, mostly retailers, whose quarters are labelled a year out at source: a period ending 2026-04-04 that the company calls Q1 2026 arrives labelled FY2027 Q1, and the first quarter of a fiscal year arrives labelled Q4 of that same year. A year-over-year lookup on such a label lands silently on the wrong quarter. The correction is derived, never invented: an annual period carries both the exact fiscal-year window and the correct fiscal-year number, so a quarter inside that window takes its ordinal from its position in the run of quarters that tiles the window from its first day. "fiscal_label_source" reads "aligned_to_annual" for those; "aligned_to_projected_year" for quarters of the year in progress, which has no annual report yet and whose quarters are numbered forward from the day after the last fiscal year closed; and "reported" where no annual window could place the record, in which case the source labels stand unchanged. A window whose quarters do not tile it is left alone rather than numbered by position. "fiscal_year_as_reported" and "fiscal_quarter_as_reported" carry the source labels on EVERY record, aligned or not, so the correction is auditable; where "fiscal_label_source" is "reported" the two pairs are equal. The "fiscal_year" and "fiscal_quarter" request filters select on the aligned labels, so every record returned satisfies the filter under the labels the response publishes. Calendar-year filers are unaffected: their aligned labels reproduce their reported ones. Key a period on "period_end" for the strongest identity — it is the date the period closed and is independent of every fiscal label. On "cash_flow", four line items are structurally empty rather than occasionally missing: "depreciation_amortization", "stock_based_compensation", and "capital_expenditures" are not carried upstream at all, and "free_cash_flow" is computed from capital expenditures so it is empty downstream of them. EBITDA is therefore not computable from this statement. On a derived cash-flow period "free_cash_flow" is RECOMPUTED from the derived operating cash and capital expenditures rather than subtracted, because it is a computed figure and subtracting it would not equal the same formula over the derived members. "change_in_working_capital" is likewise always null: no upstream key carries a working-capital change, and the field reports that absence rather than restating operating cash flow. The populated cash-flow fields are the activity aggregates and the financing and investing detail. "non_reliance_reason" says why the period is disclaimed, and is null on a period no filed non-reliance event covers. "superseded_by_amendment" means the company has filed a 10-K/A or 10-Q/A restating this period AND this record predates that amendment, so the figures here are the ones the company has told investors not to rely on. The record is still served, because a point-in-time consumer legitimately wants the figures that were public at the time; the flag is what stops it being served silently. An amendment counts only when the company filed an Item 4.02 8-K after the original filing being amended and at or before the amendment itself: a 10-K/A is also the ordinary way to add Part III information when the proxy misses its window, re-file an exhibit or correct a consent, and none of those disclaims anything, so the form type alone never marks a record. Given a qualifying amendment, a 10-Q/A covers the period whose period_end equals the period it reports on; a 10-K/A covers that annual period and every quarter inside the same fiscal year, because the year’s quarterly figures come from the same restated books. "check_unavailable" means the SEC filing index could not be read for this request, so the period’s status is undetermined rather than clean — see "non_reliance". Read this field together with "period_source": a derived fourth quarter inherits the annual report it was subtracted from, so an amendment covering the year covers it too. On "income_statement", "total_revenue", "cost_of_revenue" and "gross_profit" are passed through exactly as reported for the period. Nothing upstream guarantees that gross_profit equals total_revenue minus cost_of_revenue across the three, and on some filers it does not: the break reaches 8.5% of revenue on reported quarters and over 50% on some older annual periods, while adjacent periods of the same company reconcile exactly. "suspect" reports that: "identity_mismatch" when all three are present and the gap exceeds 1% of revenue, null otherwise, including whenever any of the three is missing. None of the three values is ever rewritten to close the gap — with all three reported and disagreeing, nothing says which one is wrong, so recomputing one would be a guess presented as a derivation. A derived fourth quarter can inherit the break from the quarters it subtracts and is flagged on the same test. Treat a flagged period as a reason to read the filing rather than as a broken record: any one of the three may still be the number you want. The SEC XBRL statements projection is the lane that DOES enforce the identity — it selects concepts by it and rejects a combination that misses the band — so a period flagged here is worth re-reading there. - revision_policy: Which revision of each period these figures are. Always "first_filed" here: "as_of_date" selects which periods were public at that date, not which revision of them was current. The figure returned is the one first filed for that period; a later restatement is never adopted, at any as-of date. That is the right default for reconstructing what was knowable on a past date, because it is what an investor could have acted on then. For the latest revision of a period, use the SEC XBRL statements projection, which serves "latest_filed" — it breaks ties on the newest filing, so a restatement supersedes what it restates. The two lanes returning different figures for one period is this difference and not an error in either. Read it together with "non_reliance": a period the issuer has formally disclaimed is served here at its disclaimed vintage, flagged rather than replaced. One consequence is easy to miss and is not about accuracy: a restatement can move a cost between line items without changing any total, so a current quarter reported on the new basis and a prior quarter still carried here on the old one are not like-for-like even though both figures are correct as filed. A filer that moved merchant and financing fees out of cost of revenues mid-2026 reads as a 20.1% year-over-year fall in cost of revenue on the mixed basis against 13.9% like-for-like — the whole gap is the reclassification. A restating company tabulates the bridge in its own filing; comparing across a restatement means reading it. - non_reliance: The filing company’s own non-reliance position as of the requested date, read from SEC EDGAR. Null when the company has filed no such event at or before that date, which is the ordinary case. Point-in-time throughout: only events filed at or before the as-of date are considered, so a request dated before a restatement sees what an investor saw then. An Item 4.02 8-K — the form on which a company states that previously issued financial statements should no longer be relied upon — is what establishes that anything has been disclaimed, and an amendment is what says which periods; a company that has filed no such notice returns null here however many 10-K/A or 10-Q/A filings it has made. "status" is "superseded" when an amendment that a notice qualifies names the periods it restates; "notice_unresolved" when the company has filed a notice but no amendment that resolves it, in which case some periods returned may be disclaimed and no record can be marked; and "check_unavailable" when the filing index could not be read, which is NOT a finding that the company is clean, and under which every record’s "non_reliance_reason" reads "check_unavailable". A failed check never fails the request: the statements are served either way. "events" lists what was filed, oldest first: every Item 4.02 notice, and only the amendments a notice qualifies, so a 10-K/A listed here is a restatement rather than a routine re-filing. Both event kinds carry the same keys: "item" is "4.02" on a notice and null on an amendment, "period_end" is the period an amendment restates and null on a notice, and "form" and "accession_number" identify the filing on EDGAR so it can be read directly. - derivation_status: Whether the fiscal fourth quarter was computed for this request, so a gapped series is never ambiguous. "not_applicable" means no derivation was attempted — it runs only on "income_statement" and "cash_flow" with timeframe "quarterly" and no explicit fiscal_quarter. "complete" means it ran; a fiscal year still yields nothing when any of its four periods is missing, which is a correct result rather than a failure. "degraded" means it ran and could not finish: the reported quarters were retrieved, but the annual periods they subtract from were not, so fourth quarters that would normally appear are absent and a retry may fill them. Without this a caller cannot tell that case from a filer whose fiscal years genuinely cannot be derived. - miss_reason: Why "periods" is empty, so an empty result is never ambiguous; null whenever periods were returned. An empty result is a stated gap, not an error: the request succeeded. One of "ticker_not_covered" (coverage is domestic XBRL filers, 10-K/10-Q, so companies filing on other forms report no statements here even with a long reporting history), "classification_unavailable" (no statement matched, but the supporting checks needed to classify the gap were unavailable), "no_filing_before_as_of" (covered, but nothing filed at or before the as-of date), "no_filing_matching_filters" (covered, but no filing matches the requested timeframe or fiscal period), or "unfiled_records_only" (candidate periods existed but none carried a filing date, so none could be shown to have been public by the as-of date). Example: `finterm tool financial_statements AAPL --statement-type income_statement --as-of-date 2024-12-01 --timeframe quarterly` ## Insider Trades (`insider_trades`) POST /api/v1/ownership/insider-trades Get insider transactions and holdings filed with the SEC by a company’s officers, directors, and 10% owners, normalized into one row per reported security event. Each row carries the owner’s role flags, the transaction code and type, shares, price, value, post-transaction ownership, whether it was part of a pre-arranged trading plan, and the source filing URL. A summary block reports the trailing 90-day open-market net value with buy and sell counts, and whether that window was fully scanned. Pass a date to get the view as of a specific filing date. Request fields: - ticker: string - as_of_date: string - limit: number - transaction_codes: ("P" | "S" | "A" | "M" | "F" | "G" | "C" | "W")[] - include_derivatives: boolean - include_holdings: boolean Response `data` (`finterm.result:InsiderTrades/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - as_of_date: The as-of filing date used for the result, in YYYY-MM-DD format. - trades: Normalized SEC Form 4 transaction and holding rows, including owner role flags, transaction code, shares, price, value, post-transaction ownership, and filing URL. - summary: Trailing 90-day open-market purchase/sale summary: net value, buy count, sell count, and whether the window was fully scanned. - truncated: True when more matching rows existed than were returned. Example: `finterm tool insider_trades AAPL --as-of-date 2024-03-15` ## Institutional Holdings (`institutional_holdings`) POST /api/v1/ownership/institutional-holdings Get institutional ownership from SEC Form 13F filings in either of two modes. In ticker mode, pass a symbol to list the institutional managers that hold that security, ranked by reported value across the scanned filing window. In investor mode, pass a manager’s SEC CIK to list the positions in that manager’s latest filing, ranked by value. Each row carries the filer, the period and filing dates, the security and its CUSIP, shares and reported value, voting authority, and whether the row is from a stale (superseded) filing. Request fields: - ticker: string - investor_cik: string - as_of_date: string - limit: number Response `data` (`finterm.result:InstitutionalHoldings/v1`): - ticker: Ticker requested in holder mode; omitted in investor portfolio mode. - investor_cik: SEC CIK requested in investor portfolio mode; omitted in ticker holder mode. - as_of_date: The as-of filing date used for the result, in YYYY-MM-DD format. - latest_period: Newest period_of_report represented by the returned rows, or null when empty. - holders: Ticker mode rows: institutional managers holding the requested security, ranked by value within the scanned filing window. - positions: Investor mode rows: positions from the requested manager latest filing, ranked by value. - scanned_filings: Ticker mode count of filing-shaped hits scanned to build the holder rows. - scanned_filed_range: Ticker mode filed-at date range covered by scanned filings. - truncated: True when a page or row cap stopped collection before all matching rows. Example: `finterm tool institutional_holdings AAPL --as-of-date 2024-03-15` ## Ticker Sentiment (`ticker_sentiment`) POST /api/v1/ticker-sentiment Get a live 0-100 sentiment score for a ticker, composed of seven components grouped into trend, flow, and positioning sub-scores. Each component is scored as a percentile vs the ticker’s own trailing year and oriented so 100 is the greed side. The result carries the composite score with a band label (extreme fear to extreme greed; cutoffs versioned in the methodology block), the three sub-scores, every component with its raw value, percentile, and window, deltas over 1, 5, and 20 trading days, a weekly history series, transition flags, and quotable derived[] sentences. A thin option chain degrades to a disclosed coverage with omission reasons, so the score never silently changes meaning. Serves live data only. Request fields: - ticker: string - as_of_date: string Response `data` (`finterm.result:TickerSentiment/v1`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - as_of_date: The calendar date the score reflects, in YYYY-MM-DD format. - price: The underlying price at the snapshot, or null when unavailable. - score: The composite sentiment score, 0-100 (100 = greed-side), as the equal-weight mean of the scored components. Null when no component cleared its data gates. - band: The band label for the score: "extreme fear", "fear", "neutral", "greed", or "extreme greed" (cutoffs versioned in methodology). Null when the score is null. - coverage: How many components were scored, as "N/7" over the v1 component set. - sub_scores: The mean score within each group (trend, flow, and positioning), each null when no component in that group was scored. - components: The scored components, each with: id, group, raw (today's value), unit, percentile (0-100 vs the ticker's own window), score (oriented so 100 = greed-side), the reference window, and an optional note when an interim source was substituted. - omitted: Components dropped from the composite, each with the component id and the reason (history_accumulating, thin_chain, insufficient_history, or no_data), so a degraded score is always explained. - delta: Change in the composite over 1, 5, and 20 trading days (d1/d5/d20), each computed on today's component set so the comparison is like-for-like. Null when the prior anchor was not computable. - history: Weekly composite closes (oldest first), each with its date, score, and coverage at that point. - flags: Notable transitions on this snapshot (e.g. entered_extreme_fear, crossed_below_125d_ma, flow_positioning_divergence). - context: Event context: next_earnings carries the upcoming earnings date, days until it, and whether it is confirmed (null when no upcoming date is known). - derived: Quotable plain-English sentences summarizing the score, its drivers, and any caveats. The first sentence doubles as a headline. - scope: What the options-derived components saw: selection (full_chain or partial_chain when the fetch cap stopped at a prefix), contracts_analyzed, expirations_covered, and pages_fetched. - data_quality: Reading reliability: status ("ok", "degraded" when components were omitted, or "no_data"), history (status and days_collected for the trailing daily series), and an optional note. - methodology: A versioned description of the scoring: component_scoring, composite, band_cutoffs (the four ascending thresholds between the five band labels), orientation, and flow_sharing. Example: `finterm tool ticker_sentiment AAPL` ## Ticker Data (`ticker_data`) POST /api/v1/bundles/ticker_data/runs Get the complete data snapshot for a ticker in a single bundle run. ticker_data composes finterm’s individual data tools into one bundle anchored on a company’s most recent earnings event, so you can read the whole picture without stitching ten separate requests together. Each section is self-contained and is present only when it has data; a section that produced nothing comes back as null. The bundle returns: - **earnings:** the reported quarter’s actuals, estimates, and surprise for both EPS and revenue, with the fiscal quarter. - **guidance:** forward guidance for the period being analyzed: the revenue and EPS ranges (min / max / mid, plus the prior range and whether the guide was revised). - **prices:** the event-study price window around the earnings close: the prior trading day, the event close, and the closes one and five trading days later. - **ratios:** trailing-twelve-month margins, return on equity, and the P/E ratio. - **options:** put/call sentiment with its interpretation, call and put volume, the average spread, a liquidity grade, and a data-quality verdict so a thin sample is never mistaken for a confident reading. - **short:** short interest (shares short, days to cover) and recent short-volume pressure. - **technical_indicators:** the default set: RSI(14), MACD(12/26/9), and the 20- and 50-period simple moving averages. - **financial_statements:** a key-metric snapshot by default, or the full income statement, balance sheet, and cash flow on request. - **pre_earnings_context:** the stock’s run-up into the event, where its price sits in its 52-week range, a volatility proxy, and the index versus its 200-day average. Each external CLI invocation creates a bundle run for one ticker; create another run for another ticker. Request fields: - ticker: string - company_name: string - mode: "placeholder" | "live" - delivery_mode: "inline_result" | "artifact_metadata" | "summary_json" | "dataroom_sync" - parameters: record Response `data` (`finterm.result:TickerDataBundle/v2`): - ticker: The stock ticker symbol, uppercased (e.g. "AAPL"). - earnings_date: The reported earnings date this snapshot is anchored on, in YYYY-MM-DD format. - earnings: The reported quarter’s earnings: eps_actual, eps_estimate, eps_surprise_pct, revenue_actual, revenue_estimate, revenue_surprise_pct, fiscal_quarter, and reported_at. A figure is null when not reported. Null when the section produced no data. - guidance: Forward guidance for the fiscal period being analyzed: the fiscal_period, guidance_date, revenue range (revenue_min, revenue_max, revenue_mid, plus the prior revenue_prev_min / revenue_prev_max and the revenue_method), the eps range (eps_min, eps_max, eps_mid), and guidance_revised (whether the range changed from the prior guide). Note: revenue_mid is analyst consensus, which can fall outside the company range. Null when no guidance was found. - prices: Event-study price window around the earnings close: t_minus_1 (the prior trading day), t0 (the event close), t_plus_1, and t_plus_5. Each is { date, close } in USD, or null when that day is not yet available. Null when no prices were resolved. - ratios: Trailing-twelve-month ratios: gross_margin_pct, operating_margin_pct, net_margin_pct, return_on_equity_pct, revenue_growth_yoy_pct, and pe_ratio. A value is null when not computable. Null when the section produced no data. - options: Options-market sentiment: put_call_volume_ratio and its fixed convention label (below 0.7 bullish, 0.7–1.0 neutral, above 1.0 bearish), total_call_volume, total_put_volume, avg_spread_percent, liquidity_grade (A best to D worst), contracts_with_volume, the list of expirations covered, and a data_quality verdict (status "ok" / "no_data" / "thin_sample" with the contract and volume counts) so a thin reading is never mistaken for a confident one. The thresholds are descriptive, not calibrated forecasts for a symbol or market regime. Null when the section produced no data. - short: Short pressure: shares_short, short_float_pct, days_to_cover, and interest_as_of_date from the latest short-interest reading, plus avg_short_volume_ratio_pct, max_short_volume_ratio_pct, and days_above_40_pct from the recent short-volume window. A value is null when unavailable. Null when the section produced no data. - technical_indicators: The default indicator set: rsi_14 (conventional above-70 overbought and below-30 oversold heuristic labels, not reversal forecasts), macd_value, macd_signal, macd_histogram (12/26/9 configuration), sma_20, and sma_50. A value is null when not computable. Null when the section produced no data. - financial_statements: Reported financials as of as_of_period_end. By default a "lite" key-metric snapshot (revenue, gross_profit, operating_income, net_income, eps, eps_diluted, cash_from_operations, free_cash_flow, total_debt, cash_and_equivalents, total_equity); on request a "verbose" block with the full income_statement, balance_sheet, and cash_flow records. Null when no statements were found. "fiscal_year" and "fiscal_quarter" are aligned to the filing company’s own fiscal calendar on all three statements, matching the financial_statements tool, with the source labels kept as "fiscal_year_as_reported" and "fiscal_quarter_as_reported" and "fiscal_label_source" naming which labelling the published pair came from. "period_end" remains the strongest period identity, being independent of every fiscal label. On the cash-flow record, depreciation_amortization, stock_based_compensation, capital_expenditures, change_in_working_capital, and the free_cash_flow computed from capital expenditures are structurally empty — see the financial_statements field notes. - pre_earnings_context: Market context heading into the event: run_10d_pct, run_30d_pct, run_90d_pct (the stock’s run-up over those windows), percentile_52w (where the price sits in its 52-week range), vix_proxy_close and vix_percentile (a volatility proxy and its percentile), sp500_vs_200dma_pct (the index versus its 200-day average), and the bar counts behind each series (stock_bars_count, vix_bars_count, spy_bars_count). A value is null when not computable. Null when the section produced no data. Example: `finterm bundle run ticker_data AAPL` ## Account and Feedback - `account`: the authenticated whoami/plan-state read; works without Pro (GET /api/v1/account) - `feedback`: submit a bug, question, or feature request; works without Pro (POST /api/v1/feedback) - example: `finterm feedback bug "One-line summary" --body "Expected vs. actual"`