Data and APIs
We provide APIs and data for almost all our services.
Data on UK elections from council by-elections to general elections. We provide an API for looking up elections and ballot papers by postcode as well as tracknig boundary changes and Electoral Change Orders.
Each election and ballot paper is given an ID that we use in our other projects.
We track canceled polls, and provide additional data where needed, for example information on the recent voter ID pilots.
The API for our polling station finder, providing polling station information for UK addresses.
Used by The Electoral Commission, hundreds of councils, political parties and newspapers, this API.
Data on candidates for every election for district councils and above. We provide nomination data (name, party and area) information as a minumum, with contact info, statements, photos and more depending on how well crowdsourced the data is.
Nomination data is verified by at least two people and sources are required for all edits.
The API provides postcode lookup for currnet elections as well as historical data back to 2010.
This API has been used by The Electoral Commission’s YourVoteMatters site, Democratic Dashboard, Google.
Our candidates sourcer also stores results for all candiadtes we list on the site. This is availible as an Atom feed and CSV download, as well as in the candidates API.
General election results were used by mySociety in 2015 and 2017 to set up newly elected MPs on TheyWorkForYou.