List a member's donations

Itemized donations ($150+) to a member's committees. Newest first; meta.totalAmount sums every match.

GET https://www.chicagopolitics.org/api/v1/members/{id}/donations

Authorizations

HeaderValue
AuthorizationBearer <key>. Get a key; see authentication.

Path parameters

NameTypeRequiredDescription
idintegeryesWard number (1-50) for a current member; 100 + ward for a member who left during the term (e.g. 135).

Query parameters

NameTypeRequiredDescription
donorstringPart of the donor's name.
employerstringPart of the donor's employer.
minintegerMinimum amount.
lobbyistbooleanOnly donors whose names match registered City lobbyists or lobbying clients.
fromstring (date)
tostring (date)
limitintegerDefault 50.
cursorstringFrom meta.nextCursor of the previous page.

Response

200 Donations: a list in data, with meta and links (see pagination).

FieldTypeDescription
idstring
datestring (date)
amountnumber
aggregateFromDonornumber | null
donorstring | null
donorIsOrganizationboolean
occupationstring | null
employerstring | null
citystring | null
statestring | null
kindstring | null
descriptionstring | null
donorIsLobbyistboolean
donorIsLobbyingClientboolean
committeeobject

Example request

curl "https://www.chicagopolitics.org/api/v1/members/12/donations" \
  -H "Authorization: Bearer $CHICAGO_POLITICS_KEY"

Errors: 400, 401, 404, 429 (see errors).