[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [civicAPI election race details](https://spiral.ai/integrations/notion/civicapi-election-race-details)

# How to Use civicAPI election race details in Notion

Get one election contest in detail, including its candidates and a county breakdown when requested. Use it to explain the geography behind a race's overall vote totals.

|  |  |
| --- | --- |
| Model | civicAPI election race details |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with civicAPI election race details in Notion

- Every hour, use civicAPI election race details for Georgia's November 3, 2026, Senate contest after resolving its identifier. Include county returns and summarize which counties' vote totals changed.
- Every Monday at 9am: use civicAPI election race details to look this up and give me the result as a table.
- Pull the latest numbers from civicAPI election race details and tell me what changed since last week.
- Check civicAPI election race details and summarize what you find in three bullet points.
- Pull the newest data from civicAPI election race details and give me the result as a table.

## How to set up civicAPI election race details 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 civicAPI election race details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds civicAPI election race details, 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 civicAPI election race details**: 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": "civicapi-org/elections/race",
    "input": {
      "id": 1
    }
  }'
```

Then paste one of the prompts above: Notion finds civicAPI election race details on Spiral, shows the price and runs it.

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

## civicAPI election race details tools and prices

- [civicAPI live election results and forecasts · Race](https://spiral.ai/tools/alexandria/civicapi-org/elections/race) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Alias of race_id. A number, a numeric string, or a civicapi.org results URL. |
| url |  | — | A https://civicapi.org/results/elections/{id} or /api/v2/race/{id} URL; used when race_id is absent. |
| link |  | — | Alias of url. |
| race_id |  | — | civicAPI race id from live_results, e.g. 87088. A number or a string. id is an alias. |
| regions |  | — | Alias of include_regions. |
| counties |  | — | Alias of include_regions. |

## What can you do with civicAPI election race details in Notion?

Produce a recurring civicAPI election digest that highlights changes in the selected data. A scheduled agent can compare successive race ratings, vote totals, or county returns and summarize what changed.

### Prepare a state election briefing

Build a Georgia briefing with Senate and governor ratings, reported vote totals, and county detail for selected contests. Give forecast expectations and counted votes separate sections.

### Build a newsroom results dashboard

Show nationwide seat tallies, individual race totals, and county drilldowns. Add available Senate and governor ratings as context beside the results.

### Maintain an editorial watchlist

Select Senate contests from civicAPI's ratings, then follow their vote totals and county returns. Use the watchlist to decide which races need a closer reported update.

### Teach forecasts and election returns

Create a classroom exercise comparing Senate race ratings with reported outcomes and county vote patterns. Ask students to distinguish an expectation, a lead, and a winner call.

### Review expectations against reported outcomes

Compare available Senate and governor ratings with the corresponding reported results. Examine county totals in races where the reported outcome differs from the rating's direction.

### Produce a recurring election desk digest

Summarize changes in race ratings, vote totals, and winner calls since the previous check. Add county detail for contests selected by the editor and credit civicAPI in the digest.

## Overview

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

## civicAPI election race details in other agents

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

## More Notion guides

- [civicAPI election forecast](https://spiral.ai/integrations/notion/civicapi-election-forecast)
- [civicAPI live election results](https://spiral.ai/integrations/notion/civicapi-live-election-results)
- [World Happiness Report edition downloads](https://spiral.ai/integrations/notion/world-happiness-report-edition-downloads)
- [legislation.gov.uk amendment records](https://spiral.ai/integrations/notion/legislation-gov-uk-amendment-records)
- [World Happiness Report country rankings](https://spiral.ai/integrations/notion/world-happiness-report-country-rankings)
- [legislation.gov.uk identifier lookup](https://spiral.ai/integrations/notion/legislation-gov-uk-identifier-lookup)

## Questions about civicAPI election race details in Notion

**Can Notion use civicAPI election race details?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run civicAPI election race details like any built-in tool.

**How much does civicAPI election race details 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 civicAPI election race details in Notion?**

No. Spiral runs civicAPI election race details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up civicAPI election race details 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 civicAPI election race details runs?**

civicAPI election race details runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Where does civicAPI get election results?**

It aggregates results from secretaries of state and equivalent election bodies, including state and county boards. Smaller elections and certain countries may rely on local media reports.

**How quickly do election results update?**

civicAPI says its system updates every 5 to 10 seconds during active elections. That schedule describes results; it does not establish the forecast's refresh interval.

**Does forecast coverage match results coverage?**

The public forecast page describes Senate and governor ratings and currently shows no House forecast data. House results coverage does not establish that House forecasts are available.

**Can a newsroom or business publish civicAPI data?**

Yes. civicAPI permits commercial and noncommercial use, with attribution required for nonpersonal projects. Link to civicAPI or credit it by name.

