# 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

| Header | Value |
| --- | --- |
| `Authorization` | `Bearer <key>`. [Get a key](https://www.chicagopolitics.org/account); see [authentication](https://www.chicagopolitics.org/developers/authentication). |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string |  | One of: `member`, `committee`, `matter`, `donor`, `employer`, `lobbyist`, `client`. |
| `limit` | integer |  | Default `50`. |

## Response

200 Graph summary

## Example request

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

Errors: `400`, `401`, `429` (see [errors](https://www.chicagopolitics.org/developers/errors)).

---
Source: https://www.chicagopolitics.org/developers/api/get-graph · Chicago Politics, an independent, nonpartisan tracker of the Chicago City Council. Guide for agents: https://www.chicagopolitics.org/llms.txt
