# Get a member's history

A member's totals over time: daily snapshots, or quarterly campaign reports back to 2019. Daily rows: cash on hand, money raised, lobbyist money and gifts, attendance, votes with the majority, nays, legislation filed and passed. Use member 0 for the whole Council.

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

## 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 |
| --- | --- | --- | --- |
| `source` | string |  | One of: `daily`, `quarterly_report`. Default `daily`. |
| `from` | string (date) |  |  |
| `to` | string (date) |  |  |

## Response

200 Snapshots

## Example request

```bash
curl "https://www.chicagopolitics.org/api/v1/members/12/history" \
  -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/get-member-history · Chicago Politics, an independent, nonpartisan tracker of the Chicago City Council. Guide for agents: https://www.chicagopolitics.org/llms.txt
