# Scrape XBRL Revenue, Net Income & EPS History

**Use case:** 

Pull raw XBRL financial facts — revenue, net income, EPS and more — for any US public company as a clean time series for modeling.

## Input

```json
{
  "mode": "xbrl_facts",
  "tickers": [
    "GOOGL"
  ],
  "forms": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "maxItems": 200,
  "dateFrom": "2018-01-01",
  "dateTo": "",
  "xbrlConcepts": [
    "Revenues",
    "NetIncomeLoss",
    "EarningsPerShareBasic"
  ],
  "statementTypes": [
    "income_statement",
    "balance_sheet",
    "cash_flow"
  ],
  "fiscalPeriods": [],
  "searchQuery": "",
  "searchCiks": [],
  "transactionCodes": [],
  "minTransactionValue": 0,
  "activistOnly": false,
  "eightKItemCodes": [],
  "incrementalMode": false,
  "enableAiSummary": false,
  "aiSummaryMaxChars": 40000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "ticker": {
    "label": "Ticker",
    "format": "text"
  },
  "companyName": {
    "label": "Company",
    "format": "text"
  },
  "concept": {
    "label": "Concept",
    "format": "text"
  },
  "period": {
    "label": "Period",
    "format": "text"
  },
  "value": {
    "label": "Value",
    "format": "number"
  },
  "unit": {
    "label": "Unit",
    "format": "text"
  },
  "form": {
    "label": "Form",
    "format": "text"
  },
  "filedDate": {
    "label": "Filed",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [SEC EDGAR Scraper](https://apify.com/constructive_calm/sec-edgar-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/constructive_calm/sec-edgar-scraper) to learn more, explore other use cases, and run it yourself.