GET /v1/committee/{committee_id}/candidates/
This endpoint is useful for finding detailed information about a particular candidate. Use the candidate_id to find the most recent information about that candidate.
Request
- Base URLhttps://api.open.fec.gov (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-Api-Key and API key in query parameter api_key and API key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A unique identifier assigned to each committee or filer registered with the FEC. In general a committee id begins with the letter C which is followed by eight digits.
Query parameters
For paginating through results, starting at page 1
The number of results returned per page. Defaults to 20.
Two-year election cycle in which a candidate runs for office. Calculated from Form 2. The cycle begins with an odd year and is named for its ending, even year. This cycle follows the traditional house election cycle and subdivides the presidential and Senate elections into comparable two-year blocks. To retrieve data for the entire four years of a presidential term or six years of a senatorial term, you will need the election_full flag.
Year of election
Federal office candidate runs for: H, S or P
US state or territory where a candidate runs for office
Three-letter code for the party affiliated with a candidate or committee. For example, DEM for Democratic Party and REP for Republican Party.
Retrieve records pertaining to a particular election year. The list of election years is based on a candidate filing a statement of candidacy (F2) for that year.
Two-digit US House distirict of the office the candidate is running for. Presidential, Senate and House at-large candidates will have District 00.
One-letter code explaining if the candidate is: - C present candidate - F future candidate - N not yet a candidate - P prior candidate
One-letter code ('I', 'C', 'O') explaining if the candidate is an incumbent, a challenger, or if the seat is open.
A boolean the describes if a presidential candidate has accepted federal funds. The flag will be false for House and Senate candidates.
A boolean that describes if a candidate's committee has ever received any receipts for their campaign for this particular office. (Candidates have separate candidate IDs for each office.)
Name (candidate or committee) to search for. Alias for 'q'.
Provide a field to sort by. Use - for descending order.
Hide null values on sorted column(s).
Toggle that filters out all rows having sort column that is non-null
Toggle that sorts null values last
API key for https://api.data.gov. Get one at https://api.data.gov/signup.
Response
Default response
Changes
No recorded changes to this operation across all 20 revisions of this API.