action fec_get_presidential_contributions_by_state { label: "get_presidential_contributions_by_state" description: "\nContribution receipts by state per candidate.\n\nFilter by candidate_id and/or election_year\n" provider: fec method: GET path: "/presidential/contributions/by_state/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } candidate_id: { type: "array" items: { type: "string" } } election_year: { type: "array" items: { type: "integer" format: "int32" } } page: { type: "integer" format: "int32" } per_page: { type: "integer" format: "int32" } sort: { type: "string" } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } sort_nulls_last: { type: "boolean" } } required: ["api_key"] additionalProperties: false } output: { type: "object" additionalProperties: true } }