Search Form
First, enter a politician or zip code
Now, choose a category

Vote Smart Application Programming Interface

General Information

The Vote Smart Application Programming Interface (API) will allow you to integrate our data into your applications. An application could be a Web site, standalone program, or pretty much anything in the computer world. The API will respond to simple requests for data, such as 'get bio information for candidate Y' and 'get Votes for candidate X.'

Before signing up, please review our terms of service. When you are ready to get more information on our API (including pricing), please click the button below. You will be asked to log in to our site first.


Technical Details

The Vote Smart API is developed on the REST principle. Our backend is simply a Web server interface that takes GET requests and returns the data in the format of your choice. The API provides data in either XML or JSON.

The data is output in a strict and expected format as outlined in our documentation. We have provided Java and PHP libraries, and third parties have developed other things that interact with our API. You may also interact with our backend directly.



Basic local information on cities and counties.

Political Courage Test

Returns a candidates most recently filled out Political Courage Test.


Get various lists of offices that Vote Smart tracks according to various criteria.


This class fetches a list of officials according to the criteria of the method.


This class provides information on special interest groups(SIGs) and their ratings on candidates.


Returns basic info on states.


Votes provides information on state and federal key legislation and the candidate's respective votes.


This class will fetch address and contact information for various offices for incumbents and candidates.


CandidateBio provides all the various biographical data we collect on candidates and officials.


This class fetches a list of candidates according to the criteria of the method.


Provides information on committees and their members.


Returns lists of districts according to the criteria supplied.


This class provides basic election information and candidates in the election.


Information on officials that hold certain leadership positions.



All libraries are released on the BSD License.


We also now provide widgets that utilize our API. No registration is required and they can be used anywhere HTML can be inserted.

3rd Party

Please note that the following software comes in varied licenses and is not under Vote Smart's control.


Libraries for interacting with our API.


Modules or addons for other pieces of software

If you know of any other third party tools using our API, please let us know by mailing

Skip to top

Help us stay free for all your Fellow Americans

Just $5 from everyone reading this would do it.

Thank You!

You are about to be redirected to a secure checkout page.

Please note:

The total order amount will read $0.01. This is a card processor fee. Please know that a recurring donation of the amount and frequency that you selected will be processed and initiated tomorrow. You may see a one-time charge of $0.01 on your statement.

Continue to secure page »

Back to top