Skip to main content

Module models

Module models 

Source
Expand description

Typed responses from the FMP Stable API.

Identifying fields are required, dates are parsed, and unrelated response fields are ignored. Financial values use f64 because FMP returns both integer amounts and fractional values; use your own decimal model with Client::get when exact decimal arithmetic is required.

Structsยง

AftermarketQuote
An after-hours bid/ask snapshot from aftermarket-quote.
AftermarketTrade
An after-hours trade from aftermarket-trade.
AnalystEstimate
Analyst projections from analyst-estimates.
BalanceSheetStatement
Balance sheet values from balance-sheet-statement and its TTM endpoint.
CashFlowStatement
Cash flow values from cash-flow-statement and its TTM endpoint.
DirectorySymbol
A symbol and name from stock-list, etf-list, or actively-trading-list.
DiscountedCashFlow
A discounted cash flow valuation from discounted-cash-flow.
Dividend
A dividend from dividends or dividends-calendar.
Earnings
Earnings announced or scheduled by earnings and earnings-calendar.
EarningsTranscript
A complete call transcript from earning-call-transcript.
EconomicEvent
A scheduled or released data point from economic-calendar.
EconomicIndicator
A value for an indicator requested through economic-indicators.
EtfHolding
An underlying holding from etf/holdings.
FinancialGrowth
Historical growth rates from financial-growth.
FinancialPeriod
Reporting identifiers shared by statements, key metrics, ratios, and financial growth. Filing details are absent when the endpoint does not return them.
FinancialRatios
Historical ratios from ratios. Undefined ratios may be null.
FinancialRatiosTtm
Trailing twelve-month ratios from ratios-ttm.
HistoricalPrice
A daily OHLCV bar from historical-price-eod/full; prices are split-adjusted.
HistoricalPriceLight
A daily close from historical-price-eod/light.
IncomeStatement
Income statement values from income-statement and income-statement-ttm.
IndustryPerformance
Average changes from industry-performance-snapshot or its historical endpoint.
IntradayPrice
An intraday OHLCV bar from historical-chart/{interval}.
KeyMetrics
Historical metrics from key-metrics. Undefined ratios may be null.
KeyMetricsTtm
Trailing twelve-month metrics from key-metrics-ttm.
MarketCapitalization
A daily market capitalization from market-capitalization or its historical endpoint.
MarketMover
A company in the biggest-gainers, biggest-losers, or most-actives lists.
NewsArticle
An article from the Stable news endpoints. General news can have no symbol.
Peer
A comparable company from stock-peers.
PriceChange
Price changes for the horizons returned by stock-price-change.
PriceTargetConsensus
Consensus price targets from price-target-consensus.
Profile
Company information returned by the Stable profile endpoint.
Quote
A full quote from quote or batch-quote, including supported non-stock symbols.
RatingSnapshot
Fundamental rating scores from ratings-snapshot.
SearchResult
A match from search-symbol or search-name.
SectorPerformance
Average changes from sector-performance-snapshot or historical-sector-performance.
ShareFloat
Share ownership and available float from shares-float.
ShortQuote
A compact quote from quote-short or batch-quote-short.
StockSplit
A split event from splits or splits-calendar.
TreasuryRate
A daily US Treasury yield observation from treasury-rates.