presidential
GET /v1/presidential/contributions/by_candidate/
Net receipts per candidate.
Filter with contributor_state='US' for national totals
Request
- Base URLhttps://api.open.fec.gov (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-Api-Key and API key in query parameter api_key and API key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
For paginating through results, starting at page 1
per_pageinteger
The number of results returned per page. Defaults to 20.
election_yearinteger[]
Year of election
contributor_statestring[]
State of contributor
sortstring
Provide a field to sort by. Use - for descending order.
sort_hide_nullboolean
Hide null values on sorted column(s).
sort_null_onlyboolean
Toggle that filters out all rows having sort column that is non-null
sort_nulls_lastboolean
Toggle that sorts null values last
api_keystring
API key for https://api.data.gov. Get one at https://api.data.gov/signup.
Response
Default response
Changes
No recorded changes to this operation across all 20 revisions of this API.