> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Legistar Web API

> Granicus Legistar's public Web API for city and county councils that use Legistar: legislation (matters) and their histories, meetings (events) and agenda items, votes, bodies and people, per client jurisdiction.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/legistar.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=8ffa0d9376a0649d903dab813de91c0c)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

Key optional

Endpoints

8

Auth

Key in query

[Vendor docs](https://webapi.legistar.com/Help)

## Setup

| Variable | | What it is |
| - | - | - |
| `LEGISTAR_API_TOKEN` | some calls | Only some clients require a token, issued by that client (the city or county), not by Granicus. Sent as the token query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Every path starts with the client name, the jurisdiction's Legistar site name (e.g. seattle, chicago, nyc); an unauthorized answer means that client requires a token.
* Lists return at most 1000 items. Page and filter with OData v3 query options: \$top, \$skip, \$filter, \$orderby (e.g. \$filter=EventDate ge datetime'2014-09-01').
* Only items marked public on the client's site are returned. For a busy client, ordering by id and filtering on id gt the last seen id is more stable than \$skip paging.
* Field names are the API's, not the client's customized labels.

## Endpoints

GET

List matters (legislation)

Legislative matters (ordinances, resolutions, appointments) of one client, filterable with OData.

[Open](#legistar-matters-list)

GET

Get a matter

One legislative matter by id.

[Open](#legistar-matters-get)

GET

List a matter's history

Actions taken on one matter (referrals, votes, passage), each with the acting body and result.

[Open](#legistar-matters-histories)

GET

List meetings

Meetings (events) of the client's bodies, with date, time, location and agenda and minutes links.

[Open](#legistar-events-list)

GET

List a meeting's agenda items

The agenda items of one meeting, each with its matter, action and result.

[Open](#legistar-events-items)

GET

List votes on an agenda item

Each member's vote on one agenda item.

[Open](#legistar-event-items-votes)

GET

List bodies

The client's council, committees and other bodies.

[Open](#legistar-bodies-list)

GET

List people

Council members and other people in the client's Legistar, with contact fields.

[Open](#legistar-persons-list)

### List matters (legislation)

GET

`/v1/{client}/Matters`

`legistar.matters.list`

Legislative matters (ordinances, resolutions, appointments) of one client, filterable with OData.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`top`</td><td>integer</td><td>query</td><td>OData: number of items (at most 1000). Example `100`</td></tr>
    <tr><td>`skip`</td><td>integer</td><td>query</td><td>OData: items to skip. Example `0`</td></tr>
    <tr><td>`filter`</td><td>string</td><td>query</td><td>OData v3 filter expression. Example `MatterIntroDate ge datetime'2024-01-01'`</td></tr>
    <tr><td>`orderby`</td><td>string</td><td>query</td><td>OData sort, e.g. 'MatterId desc'. Example `MatterId desc`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help)

```python Python theme={null}
router.call_data_api("legistar.matters.list", {'client': 'seattle', 'top': 100, 'skip': 0, 'filter': "MatterIntroDate ge datetime'2024-01-01'", 'orderby': 'MatterId desc'})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.matters.list", params={"client": "seattle", "top": 100, "skip": 0, "filter": "MatterIntroDate ge datetime'2024-01-01'", "orderby": "MatterId desc"})
```

### Get a matter

GET

`/v1/{client}/Matters/{matter_id}`

`legistar.matters.get`

One legislative matter by id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`matter_id` required</td><td>integer</td><td>path</td><td>Matter id. Example `1234`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help) · Same job: [legislation.gov.uk](https://docs.webrouter.net/data-apis/legislation-gov-uk.md#legislation-gov-uk-legislation-get)

```python Python theme={null}
router.call_data_api("legistar.matters.get", {'client': 'seattle', 'matter_id': 1234})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.matters.get", params={"client": "seattle", "matter_id": 1234})
```

### List a matter's history

GET

`/v1/{client}/Matters/{matter_id}/Histories`

`legistar.matters.histories`

Actions taken on one matter (referrals, votes, passage), each with the acting body and result.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`matter_id` required</td><td>integer</td><td>path</td><td>Matter id. Example `1234`</td></tr>

    <tr>
      <td>
        `AgendaNote`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include agenda notes.
      </td>
    </tr>

    <tr>
      <td>
        `MinutesNote`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include minutes notes.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>OData v3 filter, e.g. on MatterHistoryPassedFlag or MatterHistoryActionBodyName. Example `MatterHistoryPassedFlag ne null`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Home/Examples)

```python Python theme={null}
router.call_data_api("legistar.matters.histories", {'client': 'seattle', 'matter_id': 1234, 'filter': 'MatterHistoryPassedFlag ne null'})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.matters.histories", params={"client": "seattle", "matter_id": 1234, "filter": "MatterHistoryPassedFlag ne null"})
```

> [!NOTE]
>
> * To see the roll call of a vote, take the history's event item id and call event\_items.votes.

### List meetings

GET

`/v1/{client}/Events`

`legistar.events.list`

Meetings (events) of the client's bodies, with date, time, location and agenda and minutes links.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`top`</td><td>integer</td><td>query</td><td>OData: number of items (at most 1000). Example `100`</td></tr>
    <tr><td>`skip`</td><td>integer</td><td>query</td><td>OData: items to skip. Example `0`</td></tr>
    <tr><td>`filter`</td><td>string</td><td>query</td><td>OData v3 filter expression. Example `EventDate ge datetime'2014-09-01' and EventDate lt datetime'2014-10-01'`</td></tr>
    <tr><td>`orderby`</td><td>string</td><td>query</td><td>OData sort. Example `EventDate desc`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Home/Examples) · Same job: [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-earnings), [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-events-list), [Financial Modeling Prep](https://docs.webrouter.net/data-apis/fmp.md#fmp-earnings-calendar), [FRED (St. Louis Fed)](https://docs.webrouter.net/data-apis/fred.md#fred-releases-dates), [Kalshi](https://docs.webrouter.net/data-apis/kalshi.md#kalshi-events-list), [Polymarket](https://docs.webrouter.net/data-apis/polymarket.md#polymarket-events-list)

```python Python theme={null}
router.call_data_api("legistar.events.list", {'client': 'seattle', 'top': 100, 'skip': 0, 'filter': "EventDate ge datetime'2014-09-01' and EventDate lt datetime'2014-10-01'", 'orderby': 'EventDate desc'})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.events.list", params={"client": "seattle", "top": 100, "skip": 0, "filter": "EventDate ge datetime'2014-09-01' and EventDate lt datetime'2014-10-01'", "orderby": "EventDate desc"})
```

### List a meeting's agenda items

GET

`/v1/{client}/Events/{event_id}/EventItems`

`legistar.events.items`

The agenda items of one meeting, each with its matter, action and result.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`event_id` required</td><td>integer</td><td>path</td><td>Event id. Example `5678`</td></tr>

    <tr>
      <td>
        `AgendaNote`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include agenda notes.
      </td>
    </tr>

    <tr>
      <td>
        `MinutesNote`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include minutes notes.
      </td>
    </tr>

    <tr>
      <td>
        `Attachments`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include matter attachments.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help)

```python Python theme={null}
router.call_data_api("legistar.events.items", {'client': 'seattle', 'event_id': 5678})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.events.items", params={"client": "seattle", "event_id": 5678})
```

### List votes on an agenda item

GET

`/v1/{client}/EventItems/{event_item_id}/Votes`

`legistar.event_items.votes`

Each member's vote on one agenda item.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
    <tr><td>`event_item_id` required</td><td>integer</td><td>path</td><td>Event item id. Example `5678`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help)

```python Python theme={null}
router.call_data_api("legistar.event_items.votes", {'client': 'seattle', 'event_item_id': 5678})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.event_items.votes", params={"client": "seattle", "event_item_id": 5678})
```

### List bodies

GET

`/v1/{client}/Bodies`

`legistar.bodies.list`

The client's council, committees and other bodies.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help)

```python Python theme={null}
router.call_data_api("legistar.bodies.list", {'client': 'seattle'})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.bodies.list", params={"client": "seattle"})
```

### List people

GET

`/v1/{client}/Persons`

`legistar.persons.list`

Council members and other people in the client's Legistar, with contact fields.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`client` required</td><td>string</td><td>path</td><td>Legistar client name. Example `seattle`</td></tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        OData v3 filter expression.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://webapi.legistar.com/Help)

```python Python theme={null}
router.call_data_api("legistar.persons.list", {'client': 'seattle'})
```

```text MCP theme={null}
call_data_api(endpoint="legistar.persons.list", params={"client": "seattle"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.