Relationship graph

The relationship graph: counts of people, organizations, and legislation by kind, relationships by type, and the most connected nodes. Nodes: member, committee, matter, donor, employer, lobbyist, client. Interactive map at /connections; the map's data is /data/graph.json.

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

Authorizations

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

Query parameters

NameTypeRequiredDescription
kindstringOne of: member, committee, matter, donor, employer, lobbyist, client.
limitintegerDefault 50.

Response

200 Graph summary

Example request

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

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