Earnings API
The Earnings API provides comprehensive earnings report data for any public company listed in the United States, including financial statements, balance sheets, cash flow statements, and key financial metrics. All data is sourced from official SEC filings (10-Q, 10-K).
Only need one statement? See the dedicated Income Statement API, Balance Sheet API, and Cash Flow API.
From 5,843 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 403ms | 443ms | 454ms | 816ms | 1301ms |
Didn't find what you were looking for? Suggest an improvement
/v1/earnings GET
https://api.api-ninjas.com/v1/earnings
Returns detailed earnings report data for a specific company, period, and year. This includes comprehensive financial statements and key performance metrics. You can identify the company using either a ticker symbol or CIK (Central Index Key).
Q1, Q2, and Q3 earnings data are sourced from the 10-Q filings. Q4 earnings data is sourced from the 10-K filings by subtracting the Q1, Q2, and Q3 earnings from the 10-K earnings for income statement fields.
Parameters
If you do not specify a year or period, the API will return the most recent earnings data.
tickeroptionalCompany ticker symbol (e.g.,
ADBE). Eithertickerorcikmust be provided.cikoptionalCompany Central Index Key (e.g.,
796343). Eithertickerorcikmust be provided.periodoptionalFiscal period. Must be one of:
q1,q2,q3,q4, orfy(full year). If set,yearmust also be set.yearoptionalFiscal year. E.g.
2025. Must be a valid year after 2000. For historical earnings data before 2025, you must have a premium subscription. If set,periodmust also be set.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
tickerThe company ticker symbol.
quarterThe fiscal quarter (1-4).
yearThe fiscal year.
company_infoCompany filing information including CIK, company name, filing type, filing date, and period end date.
income_statementKey income statement figures including revenue, gross profit, operating income, net income, earnings per share, and expense breakdowns.
balance_sheetBalance sheet data including total assets, liabilities, equity, cash, debt, and other key balance sheet items.
cash_flowCash flow statement data including operating, investing, and financing cash flows, plus capital expenditures and share repurchases.
filing_infoSEC filing metadata including filing type, filing date, and period end date.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/earnings?ticker=ADBE&year=2025&period=q2Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/earnings?ticker=ADBE&year=2025&period=q2" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Earnings API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Earnings API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Earnings API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Earnings API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.Where does the Earnings API get its data and which companies are covered?
The Earnings API returns comprehensive earnings report data for any public company listed in the United States, sourced directly from official SEC filings (10-Q and 10-K). Q1, Q2, and Q3 figures come from the 10-Q filings, while Q4 data is derived from the 10-K by subtracting the first three quarters for income statement fields. For company filing index data, see the related SEC API.How do I query earnings for a specific company, quarter, and year?
Identify the company with either thetickerparameter (e.g.ADBE) or thecikparameter (e.g.796343), then setyearandperiodtogether, whereperiodmust be one ofq1,q2,q3,q4, orfy. If you omityearandperiod, the API returns the most recent earnings data; see all available finance endpoints at our APIs page.What financial data is included in the Earnings API response?
Each response includescompany_info, plus three full statement objects:income_statement(revenue, gross profit, operating income, net income, and EPS),balance_sheet(total assets, liabilities, equity, cash, and debt), andcash_flow(operating, investing, and financing flows, capex, and share repurchases), along withfiling_infoSEC metadata. For upcoming report dates, pair it with the Earnings Calendar API or read management commentary via the Earnings Call Transcript API.Can I access historical earnings data from past years?
Yes, theyearparameter accepts any valid year after 2000, but accessing historical earnings data from before the current year requires a premium subscription. To get started and obtain access, you can create an account.