symbols_with_financials

FinancialModelingPrep.symbols_with_financialsFunction
symbols_with_financials(fmp)

Returns a JSON array of symbols which have financial statements.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.

See Financial-Statements-List for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get a list of all symbols with financials
data = symbols_with_financials(fmp)

income_statements

FinancialModelingPrep.income_statementsFunction
income_statements(fmp, symbol, reported = false, params...)

Returns income statements for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • reported::Bool: Return the reported or normalized statements.
  • params...: Additional keyword query params.

See Income-Statements for more details.
See Income-Statements-As-Reported for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the last 10 quarterly statments for AAPL
data = income_statements(fmp, "AAPL", period = "quarter", limit = 10)

# get the last 5 annual statements as reported for AAPL
data = income_statements(fmp, "AAPL", reported = true, limit = 5)

balance_sheet_statements

FinancialModelingPrep.balance_sheet_statementsFunction
balance_sheet_statements(fmp, symbol, reported = false, params...)

Returns balance sheet statements for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • reported::Bool: Return the reported or normalized statements.
  • params...: Additional keyword query params.

See Balance-Sheet-Statements for more details.
See Balance-Sheet-Statements-As-Reported for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the last 10 quarterly statments for AAPL
data = balance_sheet_statements(fmp, "AAPL", period = "quarter", limit = 10)

# get the last 5 annual statements as reported for AAPL
data = balance_sheet_statements(fmp, "AAPL", reported = true, limit = 5)

cash_flow_statements

FinancialModelingPrep.cash_flow_statementsFunction
cash_flow_statements(fmp, symbol, reported = false, params...)

Returns cash flow statements for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • reported::Bool: Return the reported or normalized statements.
  • params...: Additional keyword query params.

See Cash-Flow-Statements for more details.
See Cash-Flow-Statements-As-Reported for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the last 10 quarterly statments for AAPL
data = cash_flow_statements(fmp, "AAPL", period = "quarter", limit = 10)

# get the last 5 annual statements as reported for AAPL
data = cash_flow_statements(fmp, "AAPL", reported = true, limit = 5)

financial_statements

FinancialModelingPrep.financial_statementsFunction
financial_statements(fmp, symbol, params...)

Returns financial statements as reported for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • params...: Additional keyword query params.

See Full-Financial-Statements-As-Reported for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get all quarterly statements as reported for AAPL
data = financial_statements(fmp, "AAPL", period = "quarter")

financial_reports

FinancialModelingPrep.financial_reportsFunction
financial_reports(fmp, symbol, year, period = "FY")

Returns a JSON dictionary of the financial report for the specified symbol, year and period.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • year::Integer: A calendar year.
  • period::String: One of "FY", "Q1", "Q2", "Q3" or "Q4".

See Annual-Reports-on-Form-10-K for more details.
See Quarterly-Earnings-Reports for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the 10-K for AAPL in 2022
data = financial_reports(fmp, "AAPL", year = 2022)

# get the 10-Q for AAPL in Q4 of 2022
data = financial_reports(fmp, "AAPL", 2022, period = "Q4")

revenue_segments

FinancialModelingPrep.revenue_segmentsFunction
revenue_segments(fmp, symbol, segment = REVENUE_SEGMENTS.product, params...)

Returns a JSON table with the revenue segments for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.
  • segment::String: A REVENUE_SEGMENTS option.
  • params...: Additional keyword query params.

See Sales-Revenue-By-Segments for more details.
See Revenue-Geographic-by-Segments for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get all yearly geographic revenue segments for AAPL
data = revenue_segments(fmp, "AAPL", segment = REVENUE_SEGMENTS.geographic, structure = "flat")

# get all quarterly product revenue segments for AAPL
data = revenue_segments(fmp, "AAPL", segment = REVENUE_SEGMENTS.product, period = "quarter", structure = "flat")

shares_float

FinancialModelingPrep.shares_floatFunction
shares_float(fmp)
shares_float(fmp, symbol)

Returns shares float statistics for one or all symbols.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol or all symbols if not provided.

See Shares-Float for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get shares float for all symbols
data = shares_float(fmp)

# get shares float for AAPL
data = shares_float(fmp, "AAPL")

earnings_call_transcripts

FinancialModelingPrep.earnings_call_transcriptsFunction
earnings_call_transcripts(fmp, symbol)
earnings_call_transcripts(fmp, symbol, year)
earnings_call_transcripts(fmp, symbol, year, quarter)

Returns earnings call transcripts for a specified symbols.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol or "all" if not provided.
  • year::Integer: A calendar year.
  • quarter::Integer: One of 1, 2, 3 or 4.

See Earnings-Call-Transcript for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the available transcript dates for AAPL
data = earnings_call_transcripts(fmp, "AAPL")

# get the earnings call transcript for AAPL in Q3 of 2022
data = earnings_call_transcripts(fmp, "AAPL", year = 2022, quarter = 3)

sec_filings

FinancialModelingPrep.sec_filingsFunction
sec_filings(fmp, symbol, params...)

Returns sec filings for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol or "all" if not provided.
  • params...: Additional keyword query params.

See SEC-Filings for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get the first page of 10-K filings for AAPL
data = sec_filings(fmp, "AAPL", type = "10-K", page = 0)

company_notes

FinancialModelingPrep.company_notesFunction
company_notes(fmp, symbol)

Returns notes due for the specified symbol.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • symbol::String: A stock symbol.

See Company-Notes-Due for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get all notes due for AAPL
data = company_notes(fmp, "AAPL")