Loading repository data…
Loading repository data…
FinancialModelingPrepAPI / repository
A brief description on how to use Financial Modeling Prep Api
Supports over 25000 stocks across multiple exchanges.
Use our data that goes up to 30 years back in history. Earnings calendar, financial statements, multiple exchanges and more. We provide one of the most accurate data available on the market.
"https://financialmodelingprep.com/api/v3/income-statement/AAPL?limit=120&apikey=YOUR_API_KEY"
[ {
"date" : "2020-09-26",
"symbol" : "AAPL",
"reportedCurrency" : "USD",
"cik" : "0000320193",
"fillingDate" : "2020-10-30",
"acceptedDate" : "2020-10-29 18:06:25",
"calendarYear" : "2021",
"period" : "FY",
"revenue" : 274515000000,
"costOfRevenue" : 169559000000,
"grossProfit" : 104956000000,
"grossProfitRatio" : 0.38233247727810865,
"researchAndDevelopmentExpenses" : 18752000000,
"generalAndAdministrativeExpenses" : 19916000000,
"sellingAndMarketingExpenses" : 0.0,
"sellingGeneralAndAdministrativeExpenses" : 19916000000,
"otherExpenses" : 0.0,
"operatingExpenses" : 38668000000,
"costAndExpenses" : 208227000000,
"interestExpense" : 2873000000,
"depreciationAndAmortization" : 11056000000,
"ebitda" : 81020000000,
"ebitdaratio" : 0.2951386991603373,
"operatingIncome" : 66288000000,
"operatingIncomeRatio" : 0.24147314354406862,
"totalOtherIncomeExpensesNet" : -803000000,
"incomeBeforeTax" : 67091000000,
"incomeBeforeTaxRatio" : 0.24439830246070343,
"incomeTaxExpense" : 9680000000,
"netIncome" : 57411000000,
"netIncomeRatio" : 0.20913611278072236,
"eps" : 3.31,
"epsdiluted" : 3.28,
"weightedAverageShsOut" : 17352119000,
"weightedAverageShsOutDil" : 17528214000,
"link" : "https://www.sec.gov/Archives/edgar/data/320193/000032019320000096/0000320193-20-000096-index.htm",
"finalLink" : "https://www.sec.gov/Archives/edgar/data/320193/000032019320000096/aapl-20200926.htm"
}, ...
]
Every endpoint is available in JSON format and most of them also in CSV format. Data is coming right from SEC filings after being serialized by us. The critical endpoints work in real-time mode.
To start using the API, you need to create an account firstly.
Fill all required fields here, and confirm the registration by visiting your email and clicking a link in the received mail.
After confirmation, you will be redirected to the pricing page, where you can choose the pricing plan from 4 different variants:
If you don't want to change your plan, do nothing on this page.
To start using the API, visit the dashboard page and get your API key from it.
An 🔑 API key is a unique token, generated for each user, which allows the API to authorize requests.
You can see your API keys on the dashboard page, or on API Keys page.
You need to add this key as a parameter to every request which you send to the API as apikey=YOUR_API_KEY.
An example of a valid request:
https://financialmodelingprep.com/api/v3/income-statement/TSLA?apikey=YOUR_API_KEY
Be careful with these keys and keep them secret.
That's it! You may start to fetch data from the API.
You can find examples of code for different languages here:
For more information, see the documentation.
List of symbols that have financial statements.
https://financialmodelingprep.com/api/v3/financial-statement-symbol-lists?apikey=YOUR_API_KEY
Annual and Quarterly income statements, available in JSON and CSV. Request params: limit, period, datatype.
https://financialmodelingprep.com/api/v3/income-statement/AAPL?limit=120&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/income-statement/AAPL?period=quarter&limit=400&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/income-statement/AAPL?datatype=csv&apikey=YOUR_API_KEY
Annual and Quarterly balance sheet statements, available in JSON and CSV. Request params: limit, period, datatype.
https://financialmodelingprep.com/api/v3/balance-sheet-statement/AAPL?limit=120&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/balance-sheet-statement/AAPL?period=quarter&limit=400&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/balance-sheet-statement/AAPL?datatype=csv&apikey=YOUR_API_KEY
Annual and Quarterly cash flow statements, available in JSON and CSV. Request params: limit, period, datatype.
https://financialmodelingprep.com/api/v3/cash-flow-statement/AAPL?limit=120&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/cash-flow-statement/AAPL?period=quarter&limit=400&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/cash-flow-statement/AAPL?datatype=csv&apikey=YOUR_API_KEY
Annual and Quarterly income statements (as reported), available in JSON and CSV. Request params: limit, period, datatype.
https://financialmodelingprep.com/api/v3/income-statement-as-reported/AAPL?limit=120&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/income-statement-as-reported/AAPL?period=quarter&limit=400&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/income-statement-as-reported/AAPL?datatype=csv&apikey=YOUR_API_KEY
Annual and Quarterly balance sheet statements (as reported), available in JSON and CSV. Request params: limit, period, datatype.
https://financialmodelingprep.com/api/v3/balance-sheet-statement-as-reported/AAPL?limit=120&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/balance-sheet-statement-as-reported/AAPL?period=quarter&limit=400&apikey=YOUR_API_KEY https://financialmodelingprep.com/api/v3/balance-sheet-statement-as-reported/AAPL?datatype=csv&apikey=YOUR_API_KEY
Annual and Quarterly cash flow statements (as reported), available in JS