# Yahoo Finance Income Statements API

Income statements from Yahoo Finance with period, currency, total revenue and cost of revenue. Pass Yahoo tickers, US or global (AAPL, BRK-B, RELIANCE.NS, 7203.T).

**Pricing:** $0.0025 per statement

**Endpoint:** `POST /v1/data/yahoo-finance/income-statements/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `tickers` | array | Yes | One or more Yahoo Finance tickers. US listings as AAPL or BRK-B; other markets need the exchange suffix (RELIANCE.NS or 500325.BO for India, VOD.L, 7203.T); NSE:RELIANCE also works. An unknown ticker is reported as an error. One request reads them all. |
| `maxResults` | integer | No | How many statements to return in total. Defaults to 50; use 0 for all. |

## Example

`?wait=true` holds the request open until the run finishes (up to 60s) and returns the rows inline: one request, no polling.

```bash
curl -X POST "https://api.mindcase.co/v1/data/yahoo-finance/income-statements/run?wait=true" \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"tickers":["..."]}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/v1/data/yahoo-finance/income-statements/run",
    params={"wait": "true"},
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "tickers": [
        "..."
    ]
}},
)
rows = resp.json()["data"]
```

## Longer runs

If the run is still going at the 60s ceiling you get back `{ job_id, status: "running" }` instead of rows (same if the result is over 100 rows; those come back `truncated`). Poll with that `job_id`:

```bash
# 1) check status
curl https://api.mindcase.co/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, SDKs, MCP): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `id` | ID | text |
| `symbol` | Symbol | text |
| `periodType` | Period Type | text |
| `periodEnd` | Period End | date |
| `currency` | Currency | text |
| `totalRevenue` | Total Revenue | number |
| `costOfRevenue` | Cost Of Revenue | number |
| `grossProfit` | Gross Profit | number |
| `researchAndDevelopment` | Research And Development | number |
| `sellingGeneralAndAdministration` | Selling General And Administration | number |
| `operatingExpense` | Operating Expense | number |
| `operatingIncome` | Operating Income | number |
| `interestExpense` | Interest Expense | number |
| `ebit` | Ebit | number |
| `ebitda` | Ebitda | number |
| `netIncome` | Net Income | number |
| `basicEPS` | Basic Eps | number |
| `dilutedEPS` | Diluted Eps | number |
