[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Ballotpedia statewide races](https://spiral.ai/integrations/notion/ballotpedia-statewide-races)

# How to Use Ballotpedia statewide races in Notion

Returns statewide race and candidate information, including party and incumbency. Use it to research a governor or U.S. Senate contest without assembling a location's full ballot.

|  |  |
| --- | --- |
| Model | Ballotpedia statewide races |
| 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 statewide races in Notion

- Every Monday, use Ballotpedia statewide races for New Hampshire's next election and report changes in the governor candidate list, parties, and incumbency.
- Every Monday at 9am: use Ballotpedia statewide races to look this up and give me the result as a table.
- Pull the latest numbers from Ballotpedia statewide races and tell me what changed since last week.
- Check Ballotpedia statewide races and summarize what you find in three bullet points.
- Pull the newest data from Ballotpedia statewide races and give me the result as a table.

## How to set up Ballotpedia statewide races in Notion

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

### Use the Spiral skill

1. **Send Notion 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. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

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

3. **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; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Ballotpedia statewide races in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Ballotpedia statewide races, 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 statewide races**: 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/statewide_races",
    "input": {
      "state": "<state>"
    }
  }'
```

Then paste one of the prompts above: Notion finds Ballotpedia statewide races on Spiral, shows the price and runs it.

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

## Ballotpedia statewide races tools and prices

- [Ballotpedia · Statewide races](https://spiral.ai/tools/alexandria/ballotpedia-org/districts/statewide_races) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| election |  | — | Election date, YYYY-MM-DD, e.g. 2026-11-03 (general) or a primary date. Omit for the next upcoming election in the state. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Ballotpedia statewide races in Notion?

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.

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

### State election briefing

Prepare a briefing on statewide contests with candidate background, explanations of relevant ballot measures, and links to Ballotpedia's published analysis.

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

## Overview

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

## Ballotpedia statewide races in other agents

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

## More Notion guides

- [Ballotpedia sample ballot](https://spiral.ai/integrations/notion/ballotpedia-sample-ballot)
- [Better Business Bureau Complaints](https://spiral.ai/integrations/notion/better-business-bureau-complaints)
- [Ballotpedia political districts](https://spiral.ai/integrations/notion/ballotpedia-political-districts)
- [Better Business Bureau Profile](https://spiral.ai/integrations/notion/better-business-bureau-profile)
- [Ballotpedia election news](https://spiral.ai/integrations/notion/ballotpedia-election-news)
- [Better Business Bureau Search](https://spiral.ai/integrations/notion/better-business-bureau-search)

## Questions about Ballotpedia statewide races in Notion

**Can Notion use Ballotpedia statewide races?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Ballotpedia statewide races like any built-in tool.

**How much does Ballotpedia statewide races cost in Notion?**

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

**Do I need an Alexandria account to use Ballotpedia statewide races in Notion?**

No. Spiral runs Ballotpedia statewide races 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 statewide races in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Ballotpedia statewide races runs?**

Ballotpedia statewide races runs in the background. Notion 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.

