Candidates Financial Summary API

The candidate funding data used in our widgets is available in XML format. You may use it for your own widgets and mashups for free--just mention "Data from MAPLight.org" with a link to www.maplight.org.

Our data comes directly from the FEC and is updated daily. Specifically, we supply 2007-2008 funding data for all candidates available from the FEC's Summary Data Files page. Please be aware of the limitations described on that page.

Fetching the XML

To get one candidate's financial summary:

http://data.maplight.org/map_fec/financial-summaries.xml?ids={FEC Candidate ID}

To get multiple financial summaries, separate candidate IDs with commas:

http://data.maplight.org/map_fec/financial-summaries.xml?ids={FEC Candidate ID},{FEC Candidate ID},{FEC Candidate ID}

It is a good idea to get all the summaries you are going to use at once instead of making a separate request for each one.

We provide a tool to look up FEC candidate IDs.

XML Format

For each valid candidate ID supplied in the URL, there will be one candidate tag containing data about a candidate. Within each candidate tag, there are 26 tags which match the FEC's description of the source data.

Additional candidate tags

  • last-name and first-name, the candidate's name formatted for printing.
  • total-receipts-with-2006, total-recipts plus the total receipts from the 2005-2006 cycle. This is the most accurate funding total for presidential campaigns.

Additional top-level tags

  • last-updated-timestamp, UNIX timestamp for when data was last fetched from the FEC.
  • last-updated-datetime, the same time in ISO 8601 format.
  • source, "FEC," unless we change our data source.

Legal Information

Copyright © 2007 MAPLight.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  1. Whenever data provided by MAPLight.org is displayed to the user, the Software must credit MAPLight.org and include a hyperlink to this URL: “http://www.maplight.org.” This could be done, for example, by including the text “Data from MAPLight.org” or “Contribution data from MAPLight.org” or “Data courtesy MAPLight.org,” with “MAPLight.org” hyperlinked.
  2. The software may not display the MAPLight.org logo and may not display the text “MAPLight.org” in green.
  3. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.