OpenSecrets race fundraising and top donors · Race fundraising
opensecrets-org/campaign-finance/race_fundraisingSearch public records with OpenSecrets race fundraising and top donors · Race fundraising from Alexandria through one Spiral API key. Questions like 'how much has each candidate raised in the NH Senate race', 'who is outspending whom in a House district', 'campaign money in a governor race', or who the candidates in a federal race are with their money. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
state required | text | — | U.S. state as a postal code (NH) or name (New Hampshire). All 50 states. |
office required | one of senate, house, governor | — | senate (U.S. Senate), house (U.S. House, needs district) or governor (the state's gubernatorial race). |
cycle | number 2000 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. |
district | number 0 to 53 | — | U.S. House district number, required for office=house; 1 (or 0) for an at-large seat. Ignored for other offices. |
Same request in code
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"
}
}'Frequently asked questions
How much does OpenSecrets race fundraising and top donors · Race fundraising cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use OpenSecrets race fundraising and top donors · Race fundraising through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "opensecrets-org/campaign-finance/race_fundraising"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use OpenSecrets race fundraising and top donors · Race fundraising?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use OpenSecrets race fundraising and top donors · Race fundraising?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.