[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [Clarity contest details](https://spiral.ai/integrations/zapier/clarity-contest-details)

# How to Use Clarity contest details in Zapier

Clarity contest details returns a race's votes by precinct on county sites or by county on state sites. Use it to calculate local margins and see where support differs within the published results.

|  |  |
| --- | --- |
| Model | Clarity contest 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 Clarity contest details in Zapier

- Check Clarity contest details for Deerfield Township Committee in Cumberland County, New Jersey's November 3, 2026 general election, every hour and report which precinct vote totals changed.
- Every Monday at 9am: use Clarity contest details to look this up and give me the result as a table.
- Pull the latest numbers from Clarity contest details and tell me what changed since last week.
- Check Clarity contest details and summarize what you find in three bullet points.
- Pull the newest data from Clarity contest details and give me the result as a table.

## How to set up Clarity contest details 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 Clarity contest details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Clarity contest 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 Clarity contest 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": "results-enr-clarityelections-com/elections/get_contest_details",
    "input": {
      "contest_id": "<contest_id>"
    }
  }'
```

Then paste one of the prompts above: Zapier finds Clarity contest details on Spiral, shows the price and runs it.

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

## Clarity contest details tools and prices

- [Clarity Elections ENR official election results · Get contest details](https://spiral.ai/tools/alexandria/results-enr-clarityelections-com/elections/get_contest_details) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A pasted results.enr.clarityelections.com URL such as https://results.enr.clarityelections.com/NJ/Cumberland/127562/web.345435/#/summary; state, county and election id are read from its path. Takes precedence over state and county. |
| state |  | — | Two-letter US state code of the Clarity site, e.g. IA (a state site) or NJ with county Cumberland (a county site). Case-insensitive. Pattern: ^[A-Za-z]{2}$. |
| county |  | — | County path segment exactly as the site writes it after the state (case-sensitive), e.g. Cumberland, Black_Hawk; spaces become underscores. Omit for a state-level site. |
| version |  | — | Pin one published upload (the number current_ver.txt returns, echoed as election.version). Omit for the newest upload. Pattern: ^[0-9]{1,12}$. |
| election_id |  | — | Clarity election id (EID) from list_elections or from the site URL, e.g. 127562. Pattern: ^[0-9]{1,12}$. |

## What can you do with Clarity contest details in Zapier?

Produce a change report when an election office publishes new Clarity data. A scheduled agent can watch election availability, contest totals, or geographic breakdowns and report what changed between checks.

### Prepare a county election brief

Locate the published election, summarize contest totals, and add precinct comparisons for races that need more explanation.

### Build a municipal results archive

Find available elections, collect municipal contest totals, and attach published precinct breakdowns so readers can examine local voting patterns.

### Compare counties in a statewide race

Locate a state election, retrieve statewide contest totals, and compare the published county breakdown for the selected race.

### Create a civic results explorer

Let readers choose a published election, browse contests, and open geographic vote tables for a race they want to understand.

### Explain a close contest

Calculate the gap between the leading choices from contest totals, then show which precincts or counties contribute most to that gap.

### Report changes between published updates

Compare successive observations of contest totals and geographic breakdowns to identify where reported votes changed.

## Overview

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

## Clarity contest details in other agents

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

## More Zapier guides

- [Citizens Count town voting information](https://spiral.ai/integrations/zapier/citizens-count-town-voting-information)
- [Clarity election list](https://spiral.ai/integrations/zapier/clarity-election-list)
- [Citizens Count election directory](https://spiral.ai/integrations/zapier/citizens-count-election-directory)
- [Clarity election results](https://spiral.ai/integrations/zapier/clarity-election-results)
- [Citizens Count election candidates and results](https://spiral.ai/integrations/zapier/citizens-count-election-candidates-and-results)
- [Cornell LII U.S. Code section](https://spiral.ai/integrations/zapier/cornell-lii-u-s-code-section)

## Questions about Clarity contest details in Zapier

**Can Zapier use Clarity contest details?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run Clarity contest details like any built-in tool.

**How much does Clarity contest details 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 Clarity contest details in Zapier?**

No. Spiral runs Clarity contest 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 Clarity contest details 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 Clarity contest details runs?**

Clarity contest details runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**How far back do Clarity election archives go?**

History depends on the jurisdiction. York County, Pennsylvania, began using Scytl for the 2020 general election; its guide directs readers to separate PDF reports for earlier elections.

**How quickly do Clarity results change?**

Results follow officials' publication process. South Carolina documents periodic election-night uploads from county voting systems, so changes arrive in published batches.

**Are results official as soon as they appear?**

Election-night publication does not establish certification. Burlington County, New Jersey, explicitly changes results from unofficial to official after its Board of Elections certifies the election.

**Does every jurisdiction publish equally complete data?**

No. The Parsons documentation for Clarity notes that values remain unpopulated when the election administrator does not provide them, so the available detail varies by jurisdiction.

**How geographically detailed are the public results?**

Contest breakdowns use precincts on county sites and counties on state sites. York County, Pennsylvania, identifies the precinct as the smallest unit recorded in its Scytl results.

