Developer API

Alpha This is a new service – your feedback will help us to improve it.

Election lookup widget

Embed our free lookup widget on your website, and give your users access to postcode specific information about voting in their area. By entering their postcode, your users can quickly access information on the following:

You can add the Electoral Commission’s election lookup widget to any website.

Here’s how the lookup widget will look on your site. Feel free to test it by entering a postcode, bearing in mind that we add data in the run up to the polls.

First, choose from the options below and hit ‘Generate’.

Lookup widget options

Then, use the code to embed the lookup widget in your website.

    <a href="">
      Find election information at
      <span aria-label="The Electoral Commision"></span>

  <div id="dc_wdiv" aria-live="polite" role="region"
  <script type="text/javascript" src="">