query
Fetch campaign finance data by selecting entity type (candidate, committee, district, office, party, cycle) and category (summary, contributions, loans, reports, etc.). Filter by date window and options like dedup or min amount.
Instructions
Flexible category selector — pick {who/where} × {what} in one call.
select: any of candidate, committee (Org ID), district, office, party, cycle. category: summary | combined | continuing_total | contributions | loans | report | filing_history | flags. window: {from, to} ISO dates (optional; defaults to the calendar). options: {dedup, min_amount, include_amended}. Returns a uniform envelope {as_of, selection, category, data, caveats}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| select | Yes | ||
| category | Yes | ||
| window | No | ||
| options | No | ||
| year | No |