Search entities

People and organizations across every source: donors, employers, lobbyists, lobbying clients and firms, members. One entity per real-world person or organization, matched across sources by id where the State flags a donor as a lobbyist or client, otherwise by name (matchConfidence 0.8: people with the same name may be merged). Sorted by money given to members.

GET https://www.chicagopolitics.org/api/v1/entities

Authorizations

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

Query parameters

NameTypeRequiredDescription
qstringPart of the name.
kindstringOne of: person, organization.
rolestringOne of: member, donor, employer, lobbyist, lobby_client, lobby_firm.
limitintegerDefault 50.
cursorstringFrom meta.nextCursor of the previous page.

Response

200 Entities

Example request

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

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