For the complete documentation index, see llms.txt. This page is also available as Markdown.
/election_dates
Election dates by point or by state
Election dates by point
Given a latitude and longitude point, a list of election dates will be returned for the particular point (address) that have occurred 1 year in the past and will occur 1 year in the future according to today's date.
Election dates can be queried via several parameters which will return data from 2018+ and several years into the future. Data is returned in an ascending matter according to date, with limits of 25 results per page.
Required parameters:none
Optional parameters:
state={state abbreviation}
type=General,Primary,Special,Recall
year={year}
page={number}
Example call with no optional parameters definedExample response
Example call querying for all Special Elections that occurred in Wisconsin in 2020.
Example call querying for all Special Elections that occurred in Wisconsin in 2020.Example response