# getEarning

**Identifier:** `transcript_getEarning`

**Provider:** [Transcript](https://kirha.com/providers/transcript.md)

Get detailed earnings data for a company including income statement, balance sheet, and cash flow information. Returns financial data from SEC filings (10-Q/10-K).

## Run it with the CLI

```bash
kirha tools run transcript_getEarning \
  --input '{
    "ticker": "AAPL",
    "year": "2025",
    "quarter": "<quarter>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "transcript_getEarning",
  "input": {
    "ticker": "AAPL",
    "year": "2025",
    "quarter": "<quarter>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "quarter": {
      "description": "Fiscal quarter (Q1, Q2, Q3, Q4).",
      "type": "string"
    },
    "ticker": {
      "description": "Company ticker symbol (e.g., 'AAPL', 'MSFT')",
      "type": "string"
    },
    "year": {
      "description": "Fiscal year of the earnings call (e.g., 2025).",
      "type": [
        "string",
        "number"
      ]
    }
  },
  "required": [
    "ticker",
    "year",
    "quarter"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "balanceSheet": {
      "additionalProperties": false,
      "properties": {
        "accountsPayable": {
          "type": "number"
        },
        "accountsReceivable": {
          "type": "number"
        },
        "cashAndEquivalents": {
          "type": "number"
        },
        "currentAssets": {
          "type": "number"
        },
        "currentLiabilities": {
          "type": "number"
        },
        "goodwill": {
          "type": "number"
        },
        "intangibleAssets": {
          "type": "number"
        },
        "inventory": {
          "type": "number"
        },
        "longTermDebt": {
          "type": "number"
        },
        "propertyPlantEquipment": {
          "type": "number"
        },
        "retainedEarnings": {
          "type": "number"
        },
        "stockholdersEquity": {
          "type": "number"
        },
        "totalAssets": {
          "type": "number"
        },
        "totalDebt": {
          "type": "number"
        },
        "totalLiabilities": {
          "type": "number"
        },
        "workingCapital": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "cashFlow": {
      "additionalProperties": false,
      "properties": {
        "capitalExpenditures": {
          "type": "number"
        },
        "dividendsPaid": {
          "type": "number"
        },
        "freeCashFlow": {
          "type": "number"
        },
        "netCashFinancing": {
          "type": "number"
        },
        "netCashInvesting": {
          "type": "number"
        },
        "operatingCashFlow": {
          "type": "number"
        },
        "shareRepurchases": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "cik": {
      "type": "string"
    },
    "companyName": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "filingDate": {
      "type": "string"
    },
    "filingType": {
      "type": "string"
    },
    "fiscalQuarter": {
      "description": "Quarter (Q1, Q2, Q3, Q4)",
      "type": "string"
    },
    "fiscalYear": {
      "type": "number"
    },
    "incomeStatement": {
      "additionalProperties": false,
      "properties": {
        "costOfRevenue": {
          "type": "number"
        },
        "depreciationAndAmortization": {
          "type": "number"
        },
        "epsBasic": {
          "type": "number"
        },
        "epsDiluted": {
          "type": "number"
        },
        "generalAndAdministrative": {
          "type": "number"
        },
        "grossProfit": {
          "type": "number"
        },
        "interestExpense": {
          "type": "number"
        },
        "netIncome": {
          "type": "number"
        },
        "operatingIncome": {
          "type": "number"
        },
        "researchAndDevelopment": {
          "type": "number"
        },
        "salesAndMarketing": {
          "type": "number"
        },
        "sharesBasic": {
          "type": "number"
        },
        "sharesDiluted": {
          "type": "number"
        },
        "stockBasedCompensation": {
          "type": "number"
        },
        "taxProvision": {
          "type": "number"
        },
        "totalRevenue": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "periodEndDate": {
      "type": "string"
    },
    "ticker": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "ticker"
  ],
  "type": "object"
}
```

-----

[All Transcript tools](https://kirha.com/providers/transcript.md) · [< Back to tools list](https://kirha.com/tools.md)