[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [VoteHub polling subjects](https://spiral.ai/integrations/grok/votehub-polling-subjects)

# How to Use VoteHub polling subjects in Grok

Get polling subjects and their associated poll types, including races and public institutions. Use it to establish what VoteHub covers before looking for survey results.

|  |  |
| --- | --- |
| Model | VoteHub polling subjects |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with VoteHub polling subjects in Grok

- Use VoteHub polling subjects to show which 2026 Texas races are represented and what kinds of polls each subject has.
- Use VoteHub polling subjects to look this up and give me the result as a table.
- Pull the latest numbers from VoteHub polling subjects and tell me what changed since last week.
- Check VoteHub polling subjects and summarize what you find in three bullet points.
- Pull the newest data from VoteHub polling subjects and give me the result as a table.

## How to set up VoteHub polling subjects in Grok

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

### Use the Grok connector

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

```text
https://api.spiral.ai/mcp
```

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

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

1. **Send Grok 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run VoteHub polling subjects**: 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": "votehub-com/election-polls/list_subjects",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Grok finds VoteHub polling subjects on Spiral, shows the price and runs it.

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

## VoteHub polling subjects tools and prices

- [VoteHub Polling API · List subjects](https://spiral.ai/tools/alexandria/votehub-com/election-polls/list_subjects) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Partial, case-insensitive subject match; dashes and spaces are interchangeable. |
| poll_type |  | — | Keep subjects with this poll type (us-representative, us-senator, governor). Pattern: ^[A-Za-z0-9-]{1,40}$. |

## What can you do with VoteHub polling subjects in Grok?

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.

### Find covered House districts

List House race subjects represented in VoteHub to choose districts for further polling research.

## Overview

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

## VoteHub polling subjects in other agents

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

## More Grok guides

- [VoteHub poll search](https://spiral.ai/integrations/grok/votehub-poll-search)
- [VoteHub pollster directory](https://spiral.ai/integrations/grok/votehub-pollster-directory)
- [VoteHub poll details](https://spiral.ai/integrations/grok/votehub-poll-details)
- [WoW Forever DPS simulation](https://spiral.ai/integrations/grok/wow-forever-dps-simulation)
- [UCSB cylinder recording search](https://spiral.ai/integrations/grok/ucsb-cylinder-recording-search)
- [WoW Forever best in slot gear](https://spiral.ai/integrations/grok/wow-forever-best-in-slot-gear)

## Questions about VoteHub polling subjects in Grok

**Can Grok use VoteHub polling subjects?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run VoteHub polling subjects like any built-in tool.

**How much does VoteHub polling subjects 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 VoteHub polling subjects in Grok?**

No. Spiral runs VoteHub polling subjects 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 polling subjects 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 VoteHub polling subjects runs?**

VoteHub polling subjects runs in the background. Grok 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.

