Top Fundraising Candidates
Candidates ranked by money raised for an election, nationally or in one state, with spending and cash on hand.
GET
/api/v1/economy/elections/top-raisersData source
- OpenFEC APIFederal Election Commission
Query parameters
| Parameter | Description | Try value |
|---|---|---|
officestring | house, senate or president (default senate) | |
statestring | Two-letter state code | |
cyclenumber | Election year (default current cycle; next presidential year for president) | |
limitnumber | Rows (default 20, max 50) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.