Search legislation

Search all legislation (ordinances, resolutions, orders, appointments...). Newest first by final action or introduction date. Routine items (e.g. parking permits) are excluded unless include_routine=true.

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

Authorizations

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

Query parameters

NameTypeRequiredDescription
qstringWords in the title or nickname, or a record number.
typestringe.g. Ordinance, Resolution, Order, Appointment
statusstringSubstring of the status, e.g. Final, Committee
committeestringCommittee slug
sponsorintegerMember id of the lead sponsor
keybooleanOnly legislation the Clerk marks as key
include_routineboolean
introduced_fromstring (date)
introduced_tostring (date)
sortstringOne of: newest, oldest. Default newest.
limitintegerDefault 50.
cursorstringFrom meta.nextCursor of the previous page.

Response

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

FieldTypeDescription
idstring
recordstring
titlestring
nicknamestring | null
typestring
categorystring | null
statusstring | null
introducedstring | null
finalActionstring | null
committeestring | null
sponsorobject
keyboolean
routineboolean
linksobject

Example request

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

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