[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [Ballotpedia political districts](https://spiral.ai/integrations/zapier/ballotpedia-political-districts)

# How to Use Ballotpedia political districts in Zapier

Returns political district identifiers and election dates for a coordinate, with boundaries tied to dates. Use it to establish the correct geography before looking up an election ballot.

|  |  |
| --- | --- |
| Model | Ballotpedia political districts |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Ballotpedia political districts in Zapier

- Every month, use Ballotpedia political districts at latitude 43.07545, longitude -89.38808, and report newly returned election dates or changes to district identifiers.
- Every Monday at 9am: use Ballotpedia political districts to look this up and give me the result as a table.
- Pull the latest numbers from Ballotpedia political districts and tell me what changed since last week.
- Check Ballotpedia political districts and summarize what you find in three bullet points.
- Pull the newest data from Ballotpedia political districts and give me the result as a table.

## How to set up Ballotpedia political districts in Zapier

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

### Use the Spiral skill

1. **Send Zapier 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. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

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

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

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

4. **Run Ballotpedia political districts in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Ballotpedia political districts, 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 political districts**: 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/districts_for_coordinate",
    "input": {
      "lat": -90,
      "long": -180
    }
  }'
```

Then paste one of the prompts above: Zapier finds Ballotpedia political districts on Spiral, shows the price and runs it.

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

## Ballotpedia political districts tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| include_historical |  | — | Also return past elections (since 2022) with the districts as drawn on each date. Larger response. |

## What can you do with Ballotpedia political districts in Zapier?

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.

### Public library ballot guide

Start with a library's public address, identify its districts, and build an election-date guide with races, candidate background, and explanations of listed measures.

### Newsroom election assignment brief

Use city hall as a geographic reference for local contests, add statewide races, and prepare candidate and measure research alongside recent Ballotpedia reporting.

### 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.

### 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.

### Local ballot measure explainer

Identify proposals on a location's dated ballot, connect each to its district, and explain the measure using its details and relevant Ballotpedia News coverage.

## Overview

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

## Ballotpedia political districts in other agents

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

## More Zapier guides

- [Ballotpedia election news](https://spiral.ai/integrations/zapier/ballotpedia-election-news)
- [Ballotpedia sample ballot](https://spiral.ai/integrations/zapier/ballotpedia-sample-ballot)
- [Ballotpedia current representatives](https://spiral.ai/integrations/zapier/ballotpedia-current-representatives)
- [Ballotpedia statewide races](https://spiral.ai/integrations/zapier/ballotpedia-statewide-races)
- [Ballotpedia candidate profile](https://spiral.ai/integrations/zapier/ballotpedia-candidate-profile)
- [Better Business Bureau Complaints](https://spiral.ai/integrations/zapier/better-business-bureau-complaints)

## Questions about Ballotpedia political districts in Zapier

**Can Zapier use Ballotpedia political districts?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run Ballotpedia political districts like any built-in tool.

**How much does Ballotpedia political districts cost in Zapier?**

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

**Do I need an Alexandria account to use Ballotpedia political districts in Zapier?**

No. Spiral runs Ballotpedia political districts on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Ballotpedia political districts in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while Ballotpedia political districts runs?**

Ballotpedia political districts runs in the background. Zapier 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.

