financial

GET /v1/elections/summary/

List elections by cycle, office, state, and district.

Request

  • Base URL
    https://api.open.fec.gov (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header X-Api-Key and API key in query parameter api_key and API key in query parameter api_key
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

statestring

US state or territory where a candidate runs for office

districtstring

Two-digit US House distirict of the office the candidate is running for. Presidential, Senate and House at-large candidates will have District 00.

cycleinteger required

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.

office'house' | 'senate' | 'president' required

Federal office candidate runs for: H, S or P

election_fullboolean

True indicates that full election period of a candidate. False indicates that two year election cycle.

api_keystring

Response

Default response

countinteger
disbursementsnumber
independent_expendituresnumber
receiptsnumber

Changes

No recorded changes to this operation across all 20 revisions of this API.