[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [BEA county economic data tables](https://spiral.ai/integrations/n8n/bea-county-economic-data-tables)

# How to Use BEA county economic data tables in n8n

Returns BEA county statistics across a state and selected years, including income, population, earnings, and GDP measures. Use it for county rankings and historical comparisons; pagination keeps the collection tied to one publication.

|  |  |
| --- | --- |
| Model | BEA county economic data tables |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with BEA county economic data tables in n8n

- Every quarter, use BEA county economic data tables to refresh Delaware counties' personal income per person for the latest available year and report changes from the previous collection.
- Every quarter, use BEA county economic data tables to refresh real GDP comparisons across Texas counties for the latest available year.
- Every Monday at 9am: use BEA county economic data tables to look this up and give me the result as a table.
- Pull the latest numbers from BEA county economic data tables and tell me what changed since last week.
- Check BEA county economic data tables and summarize what you find in three bullet points.

## How to set up BEA county economic data tables in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run BEA county economic data tables in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds BEA county economic data tables, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run BEA county economic data tables**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "apps-bea-gov/economic-statistics/records_list",
    "input": {
      "state": "<state>",
      "table": "CAINC1"
    }
  }'
```

Then paste one of the prompts above: n8n finds BEA county economic data tables on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## BEA county economic data tables tools and prices

- [BEA Regional Economic Accounts (county personal income, employment, GDP) · Records list](https://spiral.ai/tools/alexandria/apps-bea-gov/economic-statistics/records_list) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor from the previous page. Opaque; pins table, state, line_code, years, the county list and the publication_id. |
| line_code |  | — | One line code (statistic) of the table, e.g. 3 for CAINC1 per capita personal income. Omit for every line of the table. Pattern: ^[0-9]{1,4}$. |

## What can you do with BEA county economic data tables in n8n?

Keep a county economic briefing aligned with the latest available BEA publication. A scheduled agent can check publication details before refreshing income and GDP comparisons or verifying selected observations.

### Compare counties for a business expansion

Compare county personal income, population, and GDP across a target state. Check the available publication first, collect the comparison table, and verify the figures used in the final shortlist.

### Prepare a county economic briefing

Build a briefing with income, population, and GDP trends for a county and nearby counties. Confirm the available years and check the headline observations individually before publishing.

### Study the sources of local income

Compare income components and industry earnings across counties. Check table availability, collect the relevant history, and verify the observations behind the largest differences.

### Compare industry output across counties

Use county GDP tables to compare industry output across a state and over time. Confirm the available publication and years, then inspect individual observations behind the comparison.

### Analyze long-term county income trends

Use CAINC1 history beginning in 1969 to compare county income and population trends. Check the available publication, collect the history, and verify selected turning points.

### Refresh a public county comparison

Check whether a newer BEA publication is available before rebuilding county tables. Refresh the data and verify the observations shown in headlines and charts.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## BEA county economic data tables in other agents

- [Amp](https://spiral.ai/integrations/amp/bea-county-economic-data-tables)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bea-county-economic-data-tables)
- [Claude](https://spiral.ai/integrations/claude-desktop/bea-county-economic-data-tables)
- [Claude Code](https://spiral.ai/integrations/claude-code/bea-county-economic-data-tables)
- [Cline](https://spiral.ai/integrations/cline/bea-county-economic-data-tables)
- [Codex](https://spiral.ai/integrations/codex/bea-county-economic-data-tables)
- [Cursor](https://spiral.ai/integrations/cursor/bea-county-economic-data-tables)
- [Devin](https://spiral.ai/integrations/devin/bea-county-economic-data-tables)
- [dots](https://spiral.ai/integrations/dots/bea-county-economic-data-tables)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bea-county-economic-data-tables)
- [Gemini](https://spiral.ai/integrations/gemini/bea-county-economic-data-tables)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bea-county-economic-data-tables)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bea-county-economic-data-tables)
- [goose](https://spiral.ai/integrations/goose/bea-county-economic-data-tables)
- [Grok](https://spiral.ai/integrations/grok/bea-county-economic-data-tables)
- [Grok Build](https://spiral.ai/integrations/grok-build/bea-county-economic-data-tables)
- [Hermes](https://spiral.ai/integrations/hermes/bea-county-economic-data-tables)
- [Instinct](https://spiral.ai/integrations/instinct/bea-county-economic-data-tables)
- [Manus](https://spiral.ai/integrations/manus/bea-county-economic-data-tables)
- [Muse](https://spiral.ai/integrations/muse/bea-county-economic-data-tables)
- [Muse Code](https://spiral.ai/integrations/muse-code/bea-county-economic-data-tables)
- [Notion](https://spiral.ai/integrations/notion/bea-county-economic-data-tables)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bea-county-economic-data-tables)
- [opencode](https://spiral.ai/integrations/opencode/bea-county-economic-data-tables)
- [Perplexity](https://spiral.ai/integrations/perplexity/bea-county-economic-data-tables)
- [Raycast](https://spiral.ai/integrations/raycast/bea-county-economic-data-tables)
- [VS Code](https://spiral.ai/integrations/vscode/bea-county-economic-data-tables)
- [Windsurf](https://spiral.ai/integrations/windsurf/bea-county-economic-data-tables)
- [Zapier](https://spiral.ai/integrations/zapier/bea-county-economic-data-tables)

## More n8n guides

- [BEA county economic data lookup](https://spiral.ai/integrations/n8n/bea-county-economic-data-lookup)
- [BLS QCEW employment and wage record](https://spiral.ai/integrations/n8n/bls-qcew-employment-and-wage-record)
- [BEA county data publication status](https://spiral.ai/integrations/n8n/bea-county-data-publication-status)
- [BLS QCEW employment and wage tables](https://spiral.ai/integrations/n8n/bls-qcew-employment-and-wage-tables)
- [B3 stock quote](https://spiral.ai/integrations/n8n/b3-stock-quote)
- [BLS QCEW publication status](https://spiral.ai/integrations/n8n/bls-qcew-publication-status)

## Questions about BEA county economic data tables in n8n

**Can n8n use BEA county economic data tables?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run BEA county economic data tables like any built-in tool.

**How much does BEA county economic data tables cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use BEA county economic data tables in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs BEA county economic data tables on its own Alexandria account.

**How long does it take to set up BEA county economic data tables in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while BEA county economic data tables runs?**

BEA county economic data tables runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Which places does BEA cover?**

BEA's regional accounts cover all 50 states, Washington, DC, and U.S. counties and county equivalents. County equivalents matter when matching BEA observations to a geographic lookup table.

**How far back do the county statistics go?**

CAINC1 personal income, population, and per capita income history begins in 1969. CAINC5N industry earnings and CAGDP9 real county GDP begin in 2001.

**What is the latest published county data year?**

The current county GDP and personal income release covers 2024 and was published February 5, 2026. BEA lists December 2, 2026 as the next release date.

**Does every table have the same historical coverage?**

No. CAINC1 starts in 1969, while CAINC5N starts in 2001, so an industry earnings comparison cannot use the full CAINC1 income history.

**Are all returned observations numeric?**

No. BEA values can include (D) and (NA), and those markers are preserved in the returned data. A calculation should keep those observations separate from numeric values.

