Federal Election Candidates
Find House, Senate and presidential candidates by name or state: FEC id, party, office, district, incumbency and campaign committees.
GET
/api/v1/economy/elections/candidatesData source
- OpenFEC APIFederal Election Commission
Query parameters
| Parameter | Description | Try value |
|---|---|---|
namestring | Candidate name contains | |
statestring | Two-letter state code | |
officestring | house, senate or president | |
cyclenumber | Election cycle (even year) | |
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.