NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server

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.

(4.3)

From 5,843 users

3,600+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
403ms443ms454ms816ms1301ms

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.

  • ticker  optional

    Company ticker symbol (e.g., ADBE). Either ticker or cik must be provided.

  • cik  optional

    Company Central Index Key (e.g., 796343). Either ticker or cik must be provided.

  • period  optional

    Fiscal period. Must be one of: q1, q2, q3, q4, or fy (full year). If set, year must also be set.

  • year  optional

    Fiscal 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, period must also be set.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object with the following fields or an error if the request is unsuccessful.

  • ticker

    The company ticker symbol.

  • quarter

    The fiscal quarter (1-4).

  • year

    The fiscal year.

  • company_info

    Company filing information including CIK, company name, filing type, filing date, and period end date.

  • income_statement

    Key income statement figures including revenue, gross profit, operating income, net income, earnings per share, and expense breakdowns.

  • balance_sheet

    Balance sheet data including total assets, liabilities, equity, cash, debt, and other key balance sheet items.

  • cash_flow

    Cash flow statement data including operating, investing, and financing cash flows, plus capital expenditures and share repurchases.

  • filing_info

    SEC filing metadata including filing type, filing date, and period end date.

Sample Request Live Demo!

ticker
year 
period
cik

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=q2

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    company_info:{
      ticker:"ADBE",
      cik:"796343",
      fiscal_year:2025,
      company_name:"ADOBE INC.",
      fiscal_quarter:2
    },
    income_statement:{
      earnings_per_share_basic:3.9499999999999993,
      interest_expense:68000000,
      sales_and_marketing:1626000000,
      operating_income:2109000000,
      tax_provision:410000000,
      gross_profit:5235000000,
      earnings_per_share_diluted:3.9400000000000004,
      weighted_average_shares_basic:-4000000,
      general_and_administrative:377000000,
      cost_of_revenue:638000000,
      stock_based_compensation:481000000,
      total_revenue:5873000000,
      net_income:1691000000,
      research_and_development:1082000000,
      depreciation_and_amortization:209000000,
      weighted_average_shares_diluted:-5000000
    },
    balance_sheet:{
      goodwill:12830000000,
      retained_earnings:41744000000,
      total_assets:28107000000,
      current_liabilities:9039000000,
      total_debt:6166000000,
      total_liabilities:16659000000,
      long_term_debt:6166000000,
      accounts_receivable:1735000000,
      inventory:null,
      current_assets:8978000000,
      property_plant_equipment:1890000000,
      intangible_assets:631000000,
      working_capital:-607100000,
      accounts_payable:360000000,
      stockholders_equity:11448000000,
      cash_and_equivalents:4931000000
    },
    cash_flow:{
      share_repurchases:6750000000,
      operating_cash_flow:4673000000,
      net_cash_investing:-762000000,
      net_cash_financing:-6629000000,
      free_cash_flow:4590000000,
      capital_expenditures:73000000,
      dividends_paid:null
    },
    filing_info:{
      filing_type:"10-Q",
      filing_date:"2025-06-25",
      period_end_date:"2025-05-30"
    }
}

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

  • 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.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • 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.
  • 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.
  • 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.
  • Identify the company with either the ticker parameter (e.g. ADBE) or the cik parameter (e.g. 796343), then set year and period together, where period must be one of q1, q2, q3, q4, or fy. If you omit year and period, the API returns the most recent earnings data; see all available finance endpoints at our APIs page.
  • Each response includes company_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), and cash_flow (operating, investing, and financing flows, capex, and share repurchases), along with filing_info SEC metadata. For upcoming report dates, pair it with the Earnings Calendar API or read management commentary via the Earnings Call Transcript API.
  • Yes, the year parameter 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.