# Campaign finance reports and spending records

**Use case:** 

Run the FEC Campaign Finance Scraper task for campaign finance reports and spending records and export official source-backed FEC records from Apify.

## Input

```json
{
  "contributionSearchTerms": [
    "Jane Smith",
    "C00580100"
  ],
  "candidateSearchTerms": [
    "H4NY12015"
  ],
  "committeeSearchTerms": [
    "C00401224"
  ],
  "cycleYears": [
    "2024"
  ],
  "states": [
    "NY",
    "CA"
  ],
  "outputStyle": "detailed_records",
  "groupBy": [
    "employer",
    "committee",
    "state"
  ],
  "maxResults": 100
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "amount": {
    "label": "Amount",
    "format": "number"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "cycle": {
    "label": "Cycle",
    "format": "integer"
  },
  "contributorName": {
    "label": "Contributor name",
    "format": "string"
  },
  "employer": {
    "label": "Employer",
    "format": "string"
  },
  "occupation": {
    "label": "Occupation",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "committeeName": {
    "label": "Committee name",
    "format": "string"
  },
  "committeeId": {
    "label": "Committee ID",
    "format": "string"
  },
  "committeeKind": {
    "label": "Committee kind",
    "format": "string"
  },
  "candidateName": {
    "label": "Candidate name",
    "format": "string"
  },
  "candidateId": {
    "label": "Candidate ID",
    "format": "string"
  },
  "office": {
    "label": "Office",
    "format": "string"
  },
  "recipientName": {
    "label": "Recipient",
    "format": "string"
  },
  "supportOppose": {
    "label": "Support/oppose",
    "format": "string"
  },
  "totalReceipts": {
    "label": "Total receipts",
    "format": "number"
  },
  "totalDisbursements": {
    "label": "Total disbursements",
    "format": "number"
  },
  "cashOnHand": {
    "label": "Cash on hand",
    "format": "number"
  },
  "resultCount": {
    "label": "Result count",
    "format": "integer"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "string"
  },
  "pdfUrl": {
    "label": "PDF URL",
    "format": "string"
  },
  "transactionId": {
    "label": "Transaction ID",
    "format": "string"
  },
  "imageNumber": {
    "label": "Image number",
    "format": "string"
  },
  "fileNumber": {
    "label": "File number",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [FEC Campaign Finance Scraper](https://apify.com/maximedupre/fec-campaign-finance-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/fec-campaign-finance-scraper) to learn more, explore other use cases, and run it yourself.