# US Census ACS5 Income By State Scraper

**Use case:** 

Pull ACS 5-year income estimates by state with table ID, title, variables, and values from the US Census Bureau API. Export to JSON or CSV.

## Input

```json
{
  "searchQuery": "income",
  "maxItems": 50,
  "year": "2021",
  "dataset": "acs/acs5",
  "geography": "state"
}
```

## Output

```json
{
  "tableId": {
    "label": "Table ID",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "survey": {
    "label": "Survey",
    "format": "text"
  },
  "universe": {
    "label": "Universe",
    "format": "text"
  },
  "year": {
    "label": "Year",
    "format": "text"
  },
  "vintage": {
    "label": "Vintage",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "geography": {
    "label": "Geography",
    "format": "text"
  },
  "variables": {
    "label": "Variables",
    "format": "object"
  },
  "data": {
    "label": "Data",
    "format": "object"
  },
  "scrapedTimestamp": {
    "label": "Scraped Date",
    "format": "datetime"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [US Census Bureau Scraper](https://apify.com/parseforge/us-census-bureau-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/us-census-bureau-scraper) to learn more, explore other use cases, and run it yourself.