# List a member's votes

How a member voted on key roll calls. Newest first. Each item is a roll call with `memberVote`.

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

## Authorizations

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

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | yes | Ward number (1-50) for a current member; 100 + ward for a member who left during the term (e.g. 135). |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `vote` | string |  | One of: `yea`, `nay`, `absent`, `recused`, `excused`, `not_voting`. |
| `divided` | boolean |  | Only divided roll calls (at least one nay). |
| `from` | string (date) |  |  |
| `to` | string (date) |  |  |
| `limit` | integer |  | Default `50`. |
| `cursor` | string |  | From meta.nextCursor of the previous page. |

## Response

200 Roll calls with the member's vote: a list in `data`, with `meta` and `links` (see [pagination](https://www.chicagopolitics.org/developers/requests)).

| Field | Type | Description |
| --- | --- | --- |
| `matterId` | string |  |
| `record` | string |  |
| `title` | string |  |
| `nickname` | string \| null |  |
| `type` | string |  |
| `date` | string (date) |  |
| `result` | string |  |
| `passed` | boolean |  |
| `divided` | boolean |  |
| `tally` | object |  |
| `sponsor` | string \| null |  |
| `committee` | string \| null |  |
| `meetingId` | string \| null |  |
| `memberVote` | string |  |
| `links` | object |  |

## Example request

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

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

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