How to Use Ballotpedia current representatives in Gemini
Returns current officeholders representing a coordinate, with district and office information. Use it to identify who serves a location today when an election ballot would only show who ran.
Prompts to try with Ballotpedia current representatives in Gemini
Copy an example into Gemini, or ask in your own words.
Use Ballotpedia current representatives for latitude 43.07545, longitude -89.38808. Group the returned officials by federal, state, and local office.
Use Ballotpedia current representatives to look this up and give me the result as a table.
Pull the latest numbers from Ballotpedia current representatives and tell me what changed since last week.
Check Ballotpedia current representatives and summarize what you find in three bullet points.
Pull the newest data from Ballotpedia current representatives and give me the result as a table.
How to set up Ballotpedia current representatives in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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 current representatives
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/officeholders_for_coordinate", "input": { "lat": -90, "long": -180 } }'
Then paste one of the prompts above: Gemini finds Ballotpedia current representatives on Spiral, shows the price and runs it.
Ballotpedia current representatives providers and prices
Spiral runs Ballotpedia current representatives through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Lat | -90 to 90 | lat | |
| Long | -180 to 180 | long |
Every API field of Ballotpedia · Officeholders for coordinate is on its tool page: open its card above.
What can you do with Ballotpedia current representatives in Gemini?
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.
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.
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.
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.
More on Ballotpedia current representatives and Gemini
Overview
Ballotpedia current representatives in other agents
Questions about Ballotpedia current representatives in Gemini
Can Gemini use Ballotpedia current representatives?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Ballotpedia current representatives like any built-in tool.
How much does Ballotpedia current representatives cost in Gemini?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need an Alexandria account to use Ballotpedia current representatives in Gemini?
No. Spiral runs Ballotpedia current representatives 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 current representatives in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while Ballotpedia current representatives runs?
Ballotpedia current representatives runs in the background. Gemini 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 current representatives in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


