Retrieves the total receipts and disbursements for all presidential candidates for a particular campaign cycle. The documentation for this New York Times API method can be found here.
Here's an example of acceptable inputs:
APIKey: {YOUR API KEY}
CampaignCycle: 2012
The following is a sample of the JSON information returned by this Choreo:
{
"results": [
{
"name": "Barack Obama",
"date_coverage_to": "2012-04-30",
"total_disbursements": "187015561.99",
"total_receipts": "233489379.22",
"candidate_id": "P80003338",
"date_coverage_from": "2011-01-01",
"cash_on_hand": "115157432.79",
"committee": "committees/C00431445.json",
"party": "D",
"committee_id": "C00431445",
"candidate_name": "Obama, Barack"
},
{
"name": "Mitt Romney",
"date_coverage_to": "2012-04-30",
"total_disbursements": "91196666.2",
"total_receipts": "100394962.81",
"candidate_id": "P80003353",
"date_coverage_from": "2010-10-01",
"cash_on_hand": "9211335.34",
"committee": "committees/C00431171.json",
"party": "R",
"committee_id": "C00431171",
"candidate_name": "Romney, Mitt"
},
{
"name": "Ron Paul",
"date_coverage_to": "2012-04-30",
"total_disbursements": "36596121.03",
"total_receipts": "39061118.16",
"candidate_id": "P80000748",
"date_coverage_from": "2011-01-14",
"cash_on_hand": "2464997.13",
"committee": "committees/C00495820.json",
"party": "R",
"committee_id": "C00495820",
"candidate_name": "Paul, Ron"
},
{
"name": "Newt Gingrich",
"date_coverage_to": "2012-04-30",
"total_disbursements": "22624235.14",
"total_receipts": "23431185.95",
"candidate_id": "P60003654",
"date_coverage_from": "2011-04-01",
"cash_on_hand": "806950.81",
"committee": "committees/C00496497.json",
"party": "R",
"committee_id": "C00496497",
"candidate_name": "Gingrich, Newt"
},
{
"name": "Richard Santorum",
"date_coverage_to": "2012-04-30",
"total_disbursements": "20987247.8",
"total_receipts": "21994569.37",
"candidate_id": "P20002721",
"date_coverage_from": "2011-04-01",
"cash_on_hand": "1007321.57",
"committee": "committees/C00496034.json",
"party": "R",
"committee_id": "C00496034",
"candidate_name": "Santorum, Richard"
},
{
"name": "Rick Perry",
"date_coverage_to": "2012-04-30",
"total_disbursements": "20123844.88",
"total_receipts": "20541051.79",
"candidate_id": "P20003281",
"date_coverage_from": "2011-07-01",
"cash_on_hand": "417206.91",
"committee": "committees/C00500587.json",
"party": "R",
"committee_id": "C00500587",
"candidate_name": "Perry, Rick"
},
{
"name": "Herman Cain",
"date_coverage_to": "2012-03-31",
"total_disbursements": "16746446.28",
"total_receipts": "16788306.79",
"candidate_id": "P00003608",
"date_coverage_from": "2010-12-27",
"cash_on_hand": "41860.51",
"committee": "committees/C00496067.json",
"party": "R",
"committee_id": "C00496067",
"candidate_name": "Cain, Herman"
},
{
"name": "Michele Bachmann",
"date_coverage_to": "2012-01-25",
"total_disbursements": "9261734.81",
"total_receipts": "9427351.34",
"candidate_id": "P20002978",
"date_coverage_from": "2011-06-13",
"cash_on_hand": "165616.53",
"committee": "committees/C00497511.json",
"party": "R",
"committee_id": "C00497511",
"candidate_name": "Bachmann, Michele"
},
{
"name": "Jon Huntsman",
"date_coverage_to": "2012-03-31",
"total_disbursements": "7827445.16",
"total_receipts": "7874551.88",
"candidate_id": "P20003067",
"date_coverage_from": "2011-05-17",
"cash_on_hand": "47106.72",
"committee": "committees/C00498444.json",
"party": "R",
"committee_id": "C00498444",
"candidate_name": "Huntsman, Jon"
},
{
"name": "Tim Pawlenty",
"date_coverage_to": "2012-03-31",
"total_disbursements": "5965502.16",
"total_receipts": "5965502.16",
"candidate_id": "P20002556",
"date_coverage_from": "2011-01-01",
"cash_on_hand": "0.0",
"committee": "committees/C00494393.json",
"party": "R",
"committee_id": "C00494393",
"candidate_name": "Pawlenty, Tim"
},
{
"name": "Gary Johnson",
"date_coverage_to": "2012-04-30",
"total_disbursements": "797373.87",
"total_receipts": "807273.19",
"candidate_id": "P20002671",
"date_coverage_from": "2011-04-01",
"cash_on_hand": "9899.32",
"committee": "committees/C00495622.json",
"party": "R",
"committee_id": "C00495622",
"candidate_name": "Johnson, Gary"
},
{
"name": "Thaddeus McCotter",
"date_coverage_to": "2011-12-31",
"total_disbursements": "548850.11",
"total_receipts": "549777.49",
"candidate_id": "P20003109",
"date_coverage_from": "2011-07-01",
"cash_on_hand": "927.38",
"committee": "committees/C00498220.json",
"party": "R",
"committee_id": "C00498220",
"candidate_name": "McCotter, Thaddeus"
}
],
"base_uri": "http://api.nytimes.com/svc/elections/us/v3/finances/2012/",
"copyright": "Copyright (c) 2012 The New York Times Company. All Rights Reserved.",
"cycle": 2012,
"status": "OK"
}