# SEC HTML Filing Table Extractor

**Use case:** 

Extract structured tables from a public SEC HTML filing page using URL, CSS selector, row, and table limits.

## Input

```json
{
  "urls": [
    "https://www.sec.gov/ixviewer/doc/action?doc=Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm"
  ],
  "tableSelector": "table",
  "tableIndices": [
    0,
    1,
    2
  ],
  "minRows": 2,
  "maxTablesPerPage": 5,
  "headerRowIndex": -1,
  "includeNestedTables": false
}
```

## Output

```json
{
  "url": {
    "label": "Source URL",
    "format": "link"
  },
  "pageTitle": {
    "label": "Page Title",
    "format": "text"
  },
  "tableIndex": {
    "label": "Table #",
    "format": "number"
  },
  "hasHeaders": {
    "label": "Has Headers",
    "format": "boolean"
  },
  "columnCount": {
    "label": "Columns",
    "format": "number"
  },
  "rowCount": {
    "label": "Rows",
    "format": "number"
  },
  "headers": {
    "label": "Headers",
    "format": "text"
  },
  "rows": {
    "label": "Data",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [HTML Table Extractor](https://apify.com/automation-lab/html-table-extractor) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/html-table-extractor) to learn more, explore other use cases, and run it yourself.