Get a candidate with endorsements
get_candidateOne candidate with every contest they are on, how each turned out once it has a result, and every endorsement they received in each (who, the rank in ranked choice, what they said and where), where they stand on common issues, with sources, their name in parts, FEC and Congress ids, website and social accounts (with where each came from), FEC campaign finance totals for federal candidates (receipts, money from individuals, PACs and parties, the candidate’s own money and loans, cash and debts; finance[].individual_donors breaks down what individuals gave, as totals only: itemized and unitemized, in-state and out-of-state, by donor size, state, occupation group and month, with no donor names), their FEC committees (principal campaign committee, other authorized and joint fundraising committees, and leadership PACs they sponsor), contributions_from_committees (what PACs, parties and other committees gave them each cycle, by type, with the ten largest givers and the endorser behind each), spending (what their principal campaign committee spent money on each cycle, from its FEC operating expenditures: totals by category such as advertising, fundraising, consulting, staff, mail, polling and fees, and the ten businesses it paid most), outside_spending (FEC independent expenditures and union or corporate communication costs for or against them, by cycle (2024 and 2026; outside_spending_cycles narrows them) and spender, with dates, naming the spender when it is one of our endorsers; spending is not an endorsement), their background (prior elected office and which, gender, military service), each with its source, and published ideology scores (DIME CFscore). person ties the record to one person across elections, with other names (such as a name before marriage) and party_changes (every switch dated: the day when announced, otherwise the window between their last election under the old party and their first under the new one); other_candidacies lists races they were in without being printed; rescinded_endorsements lists endorsements of them that were taken back. Records in the answer: result, candidate, issue-position, committee-contribution, endorsement, candidate-background, ideology-score, outside-spending, fec-committees, campaign-spending (describe_record explains each field, describe_values each coded value).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_candidate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Candidate id (from GET /v1/candidates, or a choice’s candidate.id). | |
| lang | No | es for Spanish ballot text (titles, choices, measure text, statements) where the state publishes it; English otherwise. Names are never translated. Values: en: English (the default). es: Spanish ballot text (titles, choices, measure text, statements) where the state publishes it; English where it doesn’t. Names are never translated. | |
| fields | No | Optional: return only these fields of each record, to keep the answer short. Leave it out to get every field (the default, and the right choice when you are not sure what you need). Comma-separated field names. A dot reaches into a nested object or into every item of a list (choices.label); parentheses group several fields under one (choices(label,party) means choices.label,choices.party). A field named alone comes back whole. Example: "full_name,website_url,contests(contest.title,endorsement_count),issue_positions(issue,stance)". Top-level fields here: id, full_name, name, website_url, photo_url, incumbent, ids, contact, finance, outside_spending, fec_committees, contributions_from_committees, spending, background, ideology, contests, issue_positions, person, other_candidacies. next_cursor always comes back, so paging works the same. A field that is null stays null. An unknown name gives an error listing the names that exist there; fix it and call again. describe_record explains every field. | |
| outside_spending_cycles | No | FEC cycles (by their last year, such as 2024 or 2026) that outside_spending shows; leave it out for every cycle we hold. Comma-separated (up to 200 values); any of them matches. |