[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Ballotpedia current representatives](https://spiral.ai/integrations/n8n/ballotpedia-current-representatives)

# How to Use Ballotpedia current representatives in n8n

Returns current officeholders representing a coordinate, with district and office information. Use it to identify who serves a location today when an election ballot would only show who ran.

|  |  |
| --- | --- |
| Model | Ballotpedia current representatives |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Ballotpedia current representatives in n8n

- Every week, use Ballotpedia current representatives at latitude 43.07545, longitude -89.38808, and report changes in the officials representing the Wisconsin State Capitol area.
- Every Monday at 9am: use Ballotpedia current representatives to look this up and give me the result as a table.
- Pull the latest numbers from Ballotpedia current representatives and tell me what changed since last week.
- Check Ballotpedia current representatives and summarize what you find in three bullet points.
- Pull the newest data from Ballotpedia current representatives and give me the result as a table.

## How to set up Ballotpedia current representatives 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 Ballotpedia current representatives in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Ballotpedia current representatives, 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 Ballotpedia current representatives**: 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": "ballotpedia-org/districts/officeholders_for_coordinate",
    "input": {
      "lat": -90,
      "long": -180
    }
  }'
```

Then paste one of the prompts above: n8n finds Ballotpedia current representatives on Spiral, shows the price and runs it.

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

## Ballotpedia current representatives tools and prices

- [Ballotpedia · Officeholders for coordinate](https://spiral.ai/tools/alexandria/ballotpedia-org/districts/officeholders_for_coordinate) (Alexandria): $0.00873 per call.

## What can you do with Ballotpedia current representatives in n8n?

Maintain a recurring Ballotpedia briefing for a state or fixed public location. Compare successive race, representation, and news responses to surface changes that deserve review.

### Civics classroom comparison

Use a state capitol's address to compare current representatives with candidates on a dated ballot. Explain district geography, statewide contests, and the measures students encounter.

### Municipal civic information kiosk

Build a civic reference centered on a public facility's address, showing districts, serving officials, a selected election ballot, and links to recent election reporting.

### Government transition watch

Compare statewide election candidates with officials currently serving a fixed public location. Use candidate background and recent reporting to explain changes during the transition.

### Library branch representation directory

Resolve public branch addresses to coordinates and districts, then identify the current officials representing each branch. Group the directory by office and district.

## Overview

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

## Ballotpedia current representatives in other agents

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

## More n8n guides

- [Ballotpedia candidate profile](https://spiral.ai/integrations/n8n/ballotpedia-candidate-profile)
- [Ballotpedia election news](https://spiral.ai/integrations/n8n/ballotpedia-election-news)
- [Ballotpedia ballot measure details](https://spiral.ai/integrations/n8n/ballotpedia-ballot-measure-details)
- [Ballotpedia political districts](https://spiral.ai/integrations/n8n/ballotpedia-political-districts)
- [Ballotpedia address coordinates](https://spiral.ai/integrations/n8n/ballotpedia-address-coordinates)
- [Ballotpedia sample ballot](https://spiral.ai/integrations/n8n/ballotpedia-sample-ballot)

## Questions about Ballotpedia current representatives in n8n

**Can n8n use Ballotpedia current representatives?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Ballotpedia current representatives like any built-in tool.

**How much does Ballotpedia current representatives 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 Ballotpedia current representatives in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Ballotpedia current representatives on its own Alexandria account.

**How long does it take to set up Ballotpedia current representatives in n8n?**

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

**Does n8n wait while Ballotpedia current representatives runs?**

Ballotpedia current representatives runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does Ballotpedia cover every local election?**

Local coverage is not universal. Ballotpedia identifies the top 100 cities by population as a core coverage area and expands coverage beyond those cities.

**How soon do official candidate lists appear?**

For federal and statewide races, Ballotpedia says it updates candidate lists within a week after a state publishes its official list. That timing starts at publication, which can occur after the filing deadline.

**Why can election districts differ from current representation?**

Ballotpedia tracks boundary effective dates around office terms, including swearing-in dates. It documents a 2022 California example where a special election and a regular election on the same day used different congressional boundaries.

**Can a race be absent from Ballotpedia's election data?**

Yes. The geographic election documentation explicitly says that races with no official candidates are omitted, so an absent race does not establish that the office has no election.

**Can Ballotpedia data appear in a public application?**

Its data terms allow use in internal or external products with precautions against third-party bulk downloads. They do not grant permission to redistribute the full datasets.

