Spiral gives your agent every tool with one account. Browse the tools →

Gemini · News & Media

How to Use VoteHub poll search in Gemini

Find survey results across VoteHub's polling database, with dates, sample information, sponsors, and source links. Use it to compare releases for a race or public opinion topic.

Prompts to try with VoteHub poll search in Gemini

Copy an example into Gemini, or ask in your own words.

Use VoteHub poll search to compare independent North Carolina Senate polls conducted in October 2026, showing candidates' percentages, sample sizes, and survey dates.

VoteHub poll searchGemini
Try asking
  • Use VoteHub poll search to compare Donald Trump approval surveys from YouGov and Ipsos conducted in October 2026, keeping adults and registered voters separate.

  • Use VoteHub poll search to look this up and give me the result as a table.

  • Pull the latest numbers from VoteHub poll search and tell me what changed since last week.

  • Check VoteHub poll search and summarize what you find in three bullet points.

How to set up VoteHub poll search in Gemini

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

Use the Gemini connector

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

  2. 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
  3. 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

  1. Send Gemini 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 the Spiral CLI

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

  1. Create an API key

    In the console, under API keys.

  2. Run VoteHub poll search

    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": "votehub-com/election-polls/search_polls",
        "input": {
          "sort": "newest_first"
        }
      }'

Then paste one of the prompts above: Gemini finds VoteHub poll search on Spiral, shows the price and runs it.

VoteHub poll search providers and prices

Spiral runs VoteHub poll search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
VoteHub Polling API · Search polls
votehub-com/election-polls/search_polls

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortnewest_first or oldest_firstnewest_first

sort

Limit1 to 20025

limit

Populationlv, rv, a, or v

lv likely voters, rv registered voters, a adults, v voters.

Sponsorshipall, independent, partisan, internal, or not_independentall

Keep only polls with no internal or partisan flag (independent), only partisan-flagged, only internal, or both flagged kinds (not_independent). flag_counts always covers every match.

Min sample size1 to 1000000

min_sample_size

Every API field of VoteHub Polling API · Search polls is on its tool page: open its card above.

What can you do with VoteHub poll search in Gemini?

Prepare a polling briefing that puts survey percentages beside dates, sample sizes, and original sources. Check VoteHub's recorded subjects and pollster names to define the scope of the research.

Prepare a race briefing

Identify the recorded race subject and pollster names, find relevant surveys, and inspect the polls selected for a briefing with source links.

Build a polling dashboard

Populate race and pollster selectors from the directories, retrieve matching surveys, and let readers inspect the original record behind each plotted result.

Check a published polling claim

Resolve the named firm and race against VoteHub's directories, locate the survey, and compare its recorded percentages, sample, and dates with the claim.

Assemble a research reading list

Choose covered subjects and polling firms from the directories, collect matching surveys, and inspect selected records to produce an annotated list of original releases.

Compare survey populations

Compare results from surveys of likely voters, registered voters, and adults, keeping sample sizes and fieldwork dates beside the percentages.

Review sponsorship

Inspect sponsors and VoteHub's internal and partisan flags when explaining why two surveys deserve separate treatment.

Questions about VoteHub poll search in Gemini

Can Gemini use VoteHub poll search?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run VoteHub poll search like any built-in tool.

How much does VoteHub poll search 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 VoteHub poll search in Gemini?

No. Spiral runs VoteHub poll search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up VoteHub poll search 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 VoteHub poll search runs?

VoteHub poll search runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Which elections and opinion topics does VoteHub cover?

Coverage includes U.S. Senate, House, governor and other races, the generic congressional ballot, presidential approval, and favorability.

Does VoteHub return individual survey responses?

The documented records contain answer percentages and survey metadata, including sample size and population. They link to a poll's original source.

How fresh and complete is the archive?

VoteHub describes the API as beta and says it is adding subjects, poll types, and historical data alongside real-time updates. Coverage is still expanding.

Is the pollster directory a list of every polling firm?

It lists distinct pollster names in VoteHub's database. The subjects directory likewise describes subjects and poll types represented there.

Can campaign-sponsored polls appear?

Yes. VoteHub includes internal and partisan flags so campaign and party-aligned releases can be distinguished from independent polls.

Get started

Start using VoteHub poll search in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options