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

ChatGPT · Public Records

How to Use OpenSecrets race fundraising in ChatGPT

Returns candidate fundraising, spending, and cash on hand for a Senate, House, or governor race. Use it to compare campaign finances; organization donor rankings come from OpenSecrets race top contributors.

Prompts to try with OpenSecrets race fundraising in ChatGPT

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

Use OpenSecrets race fundraising to compare the candidates in Pennsylvania's 2024 U.S. Senate race. Show fundraising, spending, and cash on hand in a table.

OpenSecrets race fundraisingChatGPT
Try asking
  • Use OpenSecrets race fundraising for New Hampshire's 1st Congressional District in 2024. Which returned candidate raised the most, and how did their spending compare?

  • Use OpenSecrets race fundraising for New Hampshire's 2024 governor race. Summarize the returned candidate finances and tell me which election period the figures cover.

  • Use OpenSecrets race fundraising to look this up and give me the result as a table.

  • Pull the latest numbers from OpenSecrets race fundraising and tell me what changed since last week.

How to set up OpenSecrets race fundraising in ChatGPT

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

Use the ChatGPT connector

  1. Add a custom MCP server

    In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

    https://api.spiral.ai/mcp
  2. Click Connect

    ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

  3. Sign in to Spiral and approve

    Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

Use the Spiral skill

  1. Send ChatGPT 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 OpenSecrets race fundraising

    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": "opensecrets-org/campaign-finance/race_fundraising",
        "input": {
          "state": "<state>",
          "office": "senate"
        }
      }'

Then paste one of the prompts above: ChatGPT finds OpenSecrets race fundraising on Spiral, shows the price and runs it.

OpenSecrets race fundraising providers and prices

Spiral runs OpenSecrets race fundraising through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
OpenSecrets race fundraising and top donors · Race fundraising
opensecrets-org/campaign-finance/race_fundraising

Settings you can ask for

Ask ChatGPT for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Officesenate, house, or governor

senate (U.S. Senate), house (U.S. House, needs district) or governor (the state's gubernatorial race).

Cycle2000 to 2026

Election cycle (even year). Defaults to 2026. When OpenSecrets has no data for that cycle yet it answers with its latest cycle and says so in note.

District0 to 53

U.S. House district number, required for office=house; 1 (or 0) for an at-large seat. Ignored for other offices.

Every API field of OpenSecrets race fundraising and top donors · Race fundraising is on its tool page: open its card above.

What can you do with OpenSecrets race fundraising in ChatGPT?

Get a race briefing showing candidates' reported finances or the organizations associated with their contributions. A chat app can turn OpenSecrets results into a comparison and explain why an organization total can include employees' donations.

Prepare a race finance briefing

Compare candidates' reported fundraising, spending, and cash on hand, then add the organizations associated with their largest contributions.

Build a local election explainer

Explain a House race's funding picture with candidate finance totals and organization donor rankings. Label organization totals as associated contributions.

Prepare candidate interview questions

Use a candidate's spending and cash position alongside their leading associated organizations to draft questions grounded in reported campaign finances.

Compare funding across election cycles

Retrieve the same federal race in multiple election cycles to examine changes in campaign totals and leading associated organizations.

Monitor published campaign finance changes

Check a federal race periodically for changes in fundraising totals and organization rankings. Summarize changes only when the source returns new figures.

Create a campaign finance classroom exercise

Have students compare two federal candidates' finances and associated organizations, then explain what an organization total represents.

Questions about OpenSecrets race fundraising in ChatGPT

Can ChatGPT use OpenSecrets race fundraising?

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run OpenSecrets race fundraising like any built-in tool.

How much does OpenSecrets race fundraising cost in ChatGPT?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.

Do I need an Alexandria account to use OpenSecrets race fundraising in ChatGPT?

No. Spiral runs OpenSecrets race fundraising on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up OpenSecrets race fundraising in ChatGPT?

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

Does ChatGPT wait while OpenSecrets race fundraising runs?

OpenSecrets race fundraising runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.

Where does OpenSecrets get campaign finance figures?

Federal campaign figures originate with Federal Election Commission reports. Governor figures use state disclosure data collected by OpenSecrets, formerly FollowTheMoney.

Does an OpenSecrets data date include every donation through that day?

No. OpenSecrets says disclosure delays mean its data is not necessarily complete through the displayed date. Governor figures can lag by an election cycle.

Do these contributor rankings cover governor candidates?

The documented organization rankings cover federal candidates. Governor fundraising uses a separate state disclosure source.

Does a listed organization total mean the organization donated that money itself?

It can combine the organization's PAC contributions with donations from associated individuals, including employees, owners, and their immediate families. Describe it as money associated with the organization.

Does public access make OpenSecrets data unrestricted for reuse?

OpenSecrets' published OpenData guide specifies attribution, noncommercial use, and share-alike terms. It also requires for-profit organizations to obtain a data license.

Get started

Start using OpenSecrets race fundraising in ChatGPT

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

Paste this into ChatGPT:

Set up ChatGPT

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