electioneering

GET /v1/electioneering/

An electioneering communication is any broadcast, cable or satellite communication that fulfills each of the following conditions:

The communication refers to a clearly identified federal candidate.

The communication is publicly distributed by a television station, radio station, cable television system or satellite system for a fee.

The communication is distributed within 60 days prior to a general election or 30 days prior to a primary election to federal office.

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

pageinteger

For paginating through results, starting at page 1

per_pageinteger

The number of results returned per page. Defaults to 20.

committee_idstring[]

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.

candidate_idstring[]

A unique identifier assigned to each candidate registered with the FEC. If a person runs for several offices, that person will have separate candidate IDs for each office. First character indicates office - [P]residential, [H]ouse, [S]enate]. Second character is the last digit of the two-year period the ID was created. Third and fourth is the candidate state. Presidential IDs don't have state. Fifth and sixth is the district when the candidate first ran. This does not change if the candidate/member's district changes during re-districting. Presidential IDs don't have districts. The rest is sequence.

report_yearinteger[]

Forms with coverage date - year from the coverage ending date. Forms without coverage date - year from the receipt date.

min_amountnumber

Filter for all amounts greater than a value

max_amountnumber

Filter for all amounts less than a value

min_datestring

Minimum disbursement date

max_datestring

Maximum disbursement date

disbursement_descriptionstring[]

Description of disbursement

last_indexinteger

Index of last result from previous page

sortstring

Provide a field to sort by. Use - for descending order.

sort_hide_nullboolean

Hide null values on sorted column(s).

sort_null_onlyboolean

Toggle that filters out all rows having sort column that is non-null

sort_nulls_lastboolean

Toggle that sorts null values last

api_keystring

Response

Default response

Changes

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