# Get a company’s net income, EPS and other XBRL financials

**Use case:** 

Get a company’s reported financials as a time series, straight from the XBRL data companies file with the SEC. Each row has the value, the unit and the period it covers. Enter a ticker, pick the tags (NetIncomeLoss, Revenues, Assets and more) and a start date, and export as JSON, CSV or Excel.

## Input

```json
{
  "mode": "facts",
  "ticker": "AAPL",
  "formTypes": [
    "10-K",
    "10-Q"
  ],
  "dateFrom": "2024-01-01",
  "chunking": "section",
  "includeExhibits": false,
  "factTags": [
    "NetIncomeLoss",
    "EarningsPerShareDiluted"
  ],
  "dedupeFacts": true,
  "maxItems": 30
}
```

## Output

```json
{
  "company": {
    "label": "Company",
    "format": "string"
  },
  "tag": {
    "label": "Tag",
    "format": "string"
  },
  "label": {
    "label": "Label",
    "format": "string"
  },
  "value": {
    "label": "Value",
    "format": "number"
  },
  "unit": {
    "label": "Unit",
    "format": "string"
  },
  "end": {
    "label": "Period end",
    "format": "string"
  },
  "fiscalYear": {
    "label": "Fiscal year",
    "format": "number"
  },
  "fiscalPeriod": {
    "label": "Period",
    "format": "string"
  },
  "form": {
    "label": "Form",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEC EDGAR Scraper — Filings, Full-Text RAG & XBRL Financials Actor is ready to run with the inputs already set for "Get a company’s net income, EPS and other XBRL financials". [Sign up or log in](https://console.apify.com/create-task-from-example/BGxMXJ4MvLOedvrUI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get a company’s net income, EPS and other XBRL financials" task

The SEC EDGAR Scraper — Filings, Full-Text RAG & XBRL Financials Actor will start running based on the input automatically. You can also change all the input fields, like mode, ticker, and more, to match your specific use case.

### 3. Receive the "Get a company’s net income, EPS and other XBRL financials" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as company, tag, label, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get a company’s net income, EPS and other XBRL financials" task via API](https://apify.com/autofacts/sec-edgar-scraper.md).

## FAQ

### Do I need an SEC API key?

No. EDGAR is public data. The Actor follows the SEC’s request-rate rules for you.

### Which financial values can I get?

Any XBRL tag the company reports, such as NetIncomeLoss, EarningsPerShareDiluted or Assets. Leave the tag list empty to get every tag.

### Why does a tag come back empty for some companies?

Companies choose different XBRL tags for the same figure, for example for revenue. If a tag is empty, try another or leave the list empty to see all of them.

### Can I limit the period?

Yes. Set a start date, and an end date if you want one. They filter on the period end date of each value.

### How much does it cost?

You pay per item returned: about $0.001 per filing or search hit, $0.005 per full-text document and $0.0002 per XBRL fact. See the Pricing tab for current rates.

## About this Actor

This example demonstrates how to use [SEC EDGAR Scraper — Filings, Full-Text RAG & XBRL Financials](https://apify.com/autofacts/sec-edgar-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/autofacts/sec-edgar-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/autofacts/sec-edgar-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
