How to Use Ballotpedia candidate profile in Grok
Returns a candidate profile with available prior offices, profession, endorsements, and campaign websites. Use it to add background to the names returned in a race.
Prompts to try with Ballotpedia candidate profile in Grok
Copy an example into Grok, or ask in your own words.
Find Tammy Baldwin's candidate identifier in the Wisconsin U.S. Senate ballot for November 5, 2024, then use Ballotpedia candidate profile to summarize available prior offices and endorsements.
Use Ballotpedia candidate profile to look this up and give me the result as a table.
Pull the latest numbers from Ballotpedia candidate profile and tell me what changed since last week.
Check Ballotpedia candidate profile and summarize what you find in three bullet points.
Pull the newest data from Ballotpedia candidate profile and give me the result as a table.
How to set up Ballotpedia candidate profile in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Ballotpedia candidate profile
One request; the result comes back by polling or a webhook.
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/candidate_details", "input": { "candidate_ids": [ 1 ] } }'
Then paste one of the prompts above: Grok finds Ballotpedia candidate profile on Spiral, shows the price and runs it.
Ballotpedia candidate profile providers and prices
Spiral runs Ballotpedia candidate profile through Alexandria. Open a card for today's price, with every fee included.
What can you do with Ballotpedia candidate profile in Grok?
Create a place-specific election briefing with Ballotpedia's ballot data and reporting. Explain candidates, measures, and current representation while keeping the election date clear.
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.
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.
More on Ballotpedia candidate profile and Grok
Overview
Ballotpedia candidate profile in other agents
Questions about Ballotpedia candidate profile in Grok
Can Grok use Ballotpedia candidate profile?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Ballotpedia candidate profile like any built-in tool.
How much does Ballotpedia candidate profile cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use Ballotpedia candidate profile in Grok?
No. Spiral runs Ballotpedia candidate profile 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 candidate profile in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while Ballotpedia candidate profile runs?
Ballotpedia candidate profile runs in the background. Grok 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.
Start using Ballotpedia candidate profile in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


