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).
Tracking upcoming report dates and analyst estimates, or reading the full earnings call? See the Earnings Calendar API and Earnings Call Transcript 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
/v2/earnings GET
https://api.api-ninjas.com/v2/earnings
Returns a JSON array of detailed earnings reports, each with comprehensive financial statements and key performance metrics. Query a single company by ticker or cik, or query every company that filed within a date range using date or date_start/date_end. Results are paginated 50 per page via offset.
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
Query by company — pass a ticker or cik — or query every company by filing date using date, or date_start/date_end for a range, with no ticker required. With only a ticker (no year or period), all of that company's filings are returned, most recent first. Results are paginated 50 per page — use offset to page through them.
tickeroptionalCompany ticker symbol (e.g.,
ADBE). Identifies the company to query — use this orcik, or omit both and query bydate.cikoptionalCompany Central Index Key (e.g.,
796343). Alternative totickerfor identifying a company.periodoptionalFiscal period. Must be one of:
q1,q2,q3,q4, orfy(full year). Requires aticker/cikandyear.yearoptionalFiscal year. E.g.
2026. Historical coverage goes back to 2010. For data before 2026, you must have a premium subscription. Combine with a ticker to return every period that year, or addperiod/quarterfor a single filing.quarteroptionalFiscal quarter
1–4(an alternative toperiod). Requires aticker/cikandyear.dateoptionalReturn every filing whose SEC filing date equals this date (
YYYY-MM-DD). Works without a ticker — returns all companies that filed that day.date_startoptionalStart of a filing-date range (
YYYY-MM-DD): all companies that filed on or after this date. Cannot be combined withdate.date_endoptionalEnd of a filing-date range (
YYYY-MM-DD). Combine withdate_startand page through results withoffset.offsetoptionalNumber of results to skip for pagination. Results are returned 50 per page. Default is
0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
company_infoCompany identification including ticker symbol (
ticker), CIK, company name, fiscal year (fiscal_year), and fiscal quarter (fiscal_quarter).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/v2/earnings?ticker=ADBE&year=2026&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/v2/earnings?ticker=ADBE&year=2026&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.