OpenSecrets race fundraising and top donors · Race top contributors
opensecrets-org/campaign-finance/race_top_contributorsSearch public records with OpenSecrets race fundraising and top donors · Race top contributors from Alexandria through one Spiral API key. Questions like 'who funds candidate X', 'top donors in the NH Senate race', 'which organizations gave most to a House candidate'. For totals raised and spent per candidate use race_fundraising. 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 | — | senate (U.S. Senate) or house (U.S. House, needs district). |
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. |
candidate | text | — | Optional candidate name filter, case-insensitive; every word must appear in the name (e.g. 'Pappas'). |
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_top_contributors",
"input": {
"state": "<state>",
"office": "senate"
}
}'Frequently asked questions
How much does OpenSecrets race fundraising and top donors · Race top contributors 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 top contributors through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "opensecrets-org/campaign-finance/race_top_contributors"` 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 top contributors?
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 top contributors?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.