# City Council Agendas & Minutes | Public Meeting Agendas (`aurelix/city-council-agendas`) Actor

Extract city council and committee agenda items that mention your keywords at $2.00 per 1,000 items: rezonings, contracts, RFPs, a company name. 29 US and Canadian cities, item text, vote results, agenda, minutes and attachment links, with an only-new daily alert mode.

- **URL**: https://apify.com/aurelix/city-council-agendas.md
- **Developed by:** [Aurelix](https://apify.com/aurelix) (community)
- **Categories:** Business, Real estate
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 agenda items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is City Council Agendas?

**Get keyword alerts from city council and committee agendas in 29 US and Canadian cities for $2.00 per 1,000 items, no login.**

For contractors, developers, government-affairs teams and vendors selling to cities: rezonings, RFPs, contracts and your company name, with vote results and agenda links. Your first run with the example input costs about $0.049 (23 agenda items in our test run).

[![City Council Agendas: example output from a real run](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/city-council-agendas-card-v1.png)](https://apify.com/aurelix/city-council-agendas)

[![City Council Agendas: 75-second demo video](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/city-council-agendas-demo-thumb-v1.png)](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/city-council-agendas-demo-v1.mp4)

**[▶ Watch the 75-second demo](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/city-council-agendas-demo-v1.mp4)**

| | |
|---|---|
| **Cities** | 29 built in: 18 US (Legistar) and 11 Canadian (eSCRIBE); more by Legistar client id or eSCRIBE URL |
| **Filters** | Keywords (whole words, \* for any ending), committees, meetings from the last N days and the next N days |
| **Output** | 29 fields per agenda item; JSON, CSV, Excel, API |
| **Automate** | Schedules, Slack or webhook digest, Zapier, Make, n8n, Google Sheets, MCP for AI agents |
| **Price** | $2.00 per 1,000 agenda items ($1.50 per 1,000 agenda items on paid Apify plans) |
| **Free to try** | Runs on Apify's free plan: the $5 monthly credit covers about 2,400 agenda items |
| **Login needed** | No |

### Daily monitor: only what's new, every morning

Set it once, get only the new agenda items every morning. With **Only new since last run** on, the first run returns everything that matches; each later run returns only agenda items not returned before, and an item once more when its vote result is recorded.

```json
{
  "cities": [
    "Seattle",
    "Denver",
    "Ottawa"
  ],
  "keywords": [
    "rezon*",
    "RFP",
    "contract award"
  ],
  "daysBack": 3,
  "daysAhead": 30,
  "incremental": true,
  "stateKey": "council-watch-daily"
}
```

1. Paste this input into the **Input** tab (JSON view) and click **Save as a new task**; it appears under **Saved tasks**.
2. Open the task from **Saved tasks** and click **Schedule**.
3. Choose **Daily**, pick the hour, and save.

**Cost example:** 3 cities and 3 keywords, about 3 new matching items a day ≈ $0.27/month on the free plan ($0.23 on paid plans): one run a day for 30 days, start fee included. The first run returns everything that matches, so it costs more.

Add a Slack incoming-webhook URL in `slackWebhookUrl` (or any URL in `webhookUrl`) to get a short digest of each run's new agenda items; nothing is sent when a run finds nothing.

### Why City Council Agendas users pick this one

- **Alerts, not an archive.** Only new agenda items that mention your keywords.
- **29 cities, one schema.** 18 US cities on Legistar, 11 Canadian on eSCRIBE.
- **Vote results included.** Result and tally when the city records them.
- **Pay per matching item.** $2.00 per 1,000 items, $1.50 on paid plans, $0.003 per run.

### Get started in 3 steps

1. Add the cities (names like 'Seattle' or 'Ottawa', or a Legistar client id or eSCRIBE URL) and your keywords, e.g. 'rezon\*', 'RFP', 'contract award' or a company name.
2. Optionally keep only some committees (e.g. 'Planning') and set how many days back and ahead to read; turn on 'Only new since last run' for alerts.
3. Click Start, then download JSON, CSV or Excel, or schedule it daily and send new items to Slack, a webhook, Google Sheets, Zapier, Make or n8n.

**[▶ Try it with the example input](https://apify.com/aurelix/city-council-agendas)**

The form opens with an example input already filled in: that run costs about $0.049 on the free plan.

### How much does it cost to get city council agendas?

Pay per event: you pay only for what the run returns, plus a small start fee. Bronze, Silver, Gold and higher Apify plans pay less per result.

| Agenda items | Free plan | Paid plans (Bronze, Silver, Gold) |
|---|---|---|
| 100 | $0.20 | $0.15 |
| 1,000 | $2.00 | $1.50 |
| 10,000 | $20.00 | $15.00 |

Totals include the $0.003 start fee per run, rounded to the cent. Apify's free plan includes $5 of credit a month, enough for about 2,400 agenda items.

Cities with no matching item cost nothing for the first 5 in a run, then $0.0002 each; the start fee covers reading the agendas. No proxy is used.

#### Billing events

| Event | Free plan | Paid plans (Bronze, Silver, Gold) |
|---|---|---|
| `agenda-item` | $2.00 per 1,000 agenda items | $1.50 per 1,000 agenda items |
| `city-checked` | $0.0002 per city with nothing to return (beyond 5 per run) | $0.0002 per city with nothing to return (beyond 5 per run) |
| `apify-actor-start` | $0.003 per run | $0.003 per run |

### What data you get

**City Council Agendas** reads the public agendas of city councils, committees, planning commissions and boards and returns each agenda item that mentions one of your keywords: the city, the committee, the meeting date and time, the item number and file number, the item title and the text the city publishes with it (recommendation, action text, notes), the item type and status, the vote result and tally once recorded, and links to the item, the meeting, the agenda, the minutes and every staff report or attachment. It covers Seattle, Oakland, San Jose, Fresno, Sacramento, Stockton, Mesa, Denver, Kansas City, Madison, Milwaukee, Columbus, Pittsburgh, Nashville, Baltimore, Alexandria, Newark and Boston through the cities' Legistar portals, and Ottawa, Edmonton, Mississauga, Brampton, Hamilton, London (Ontario), Markham, Vaughan, Kitchener, Guelph and Oakville through their eSCRIBE meeting portals; any other city on those two platforms can be added by its Legistar client id or eSCRIBE URL. Only-new mode turns it into a daily keyword alert: each run returns only items not seen before, and an item comes back once more when its vote result is recorded.

- City, state or province, country and platform
- Council, committee or board; meeting date, time, location and agenda status
- Agenda item number, city file number, item title and the item text the city publishes (up to 4,000 characters)
- Your keywords the item matched
- Item type and status, action taken, vote result and tally (Legistar cities, once recorded)
- Links: item page, meeting page, agenda, minutes, and each attachment's name and link
- Stable item_id and event_id for joins and dedupe, and change = new or result_recorded

| city | body | meeting_date | item_number | item_title | matched_keywords | result |
|---|---|---|---|---|---|---|
| Seattle | City Council | 2026-11-20 | 1. | An ordinance relating to permit and activities fees and c... | \["agreement", "permit"] | Pass |
| Fresno | City Council | 2026-12-03 | 2.-EE. | Approve override of the Mayor’s veto of “RESOLUTION - App... | \["agreement"] |  |
| Mesa | City Council | 2026-12-01 | 5-f | ZON26-00614 "Stonelake-Pecos Crossing" 35± acres located ... | \["rezon\*"] |  |
| Kansas City | Neighborhood Planning and Development Committee | 2026-12-01 |  | Sponsor: Councilmember Nathan Willett Rezoning an area of... | \["rezon\*"] |  |
| Ottawa | Committee of Adjustment - Panel 3 | 2026-12-08 | 3 | 7219 Fallowfield (Ward 21 - Rideau-Jock) | \["agreement"] |  |
| Edmonton | Executive Committee | 2026-12-02 | 7.8 | HomeEd Loan Agreement - Amendment No.2 | \["agreement"] |  |

One full agenda item record, exactly as a real run returned it (long text and lists shortened here). From a real run:

```json
{
  "city": "Denver",
  "region": "CO",
  "country": "US",
  "platform": "legistar",
  "body": "City Council",
  "meeting_date": "2026-11-30",
  "meeting_time": "3:30 PM",
  "item_number": null,
  "file_number": "26-1578",
  "item_title": "A bill for an ordinance changing the zoning classification for 515 West Mississippi Avenue, 1050 South Fox Street and 50... [306 more characters]",
  "matched_keywords": [
    "rezon*"
  ],
  "item_text": null,
  "item_type": "Bill",
  "item_status": "Second Reading w/Public Hearing",
  "action": null,
  "result": null,
  "vote_tally": null,
  "change": "new",
  "item_url": "https://denver.legistar.com/LegislationDetail.aspx?ID=57721&GUID=73311E79-DAA3-4910-917F-25B992C93A9F",
  "meeting_url": "https://denver.legistar.com/MeetingDetail.aspx?LEGID=13077&GID=655&G=928A1C29-26D7-4A5D-8DD4-947A533B1CC6",
  "agenda_url": "https://denver.legistar1.com/denver/meetings/2026/11/13077_A_City_Council_26-11-30_Council_Agenda.pdf",
  "minutes_url": null,
  "attachments": [
    {
      "name": "BR26-1578_CPD_2026-REZONE-0000071_Bill-Resolution-Request-Form",
      "url": "https://denver.legistar1.com/denver/attachments/0b22e963-6f0f-44bf-a34e-6f1410be65e1.docx"
    },
    {
      "name": "BR26-1578_CPD_2026-REZONE-0000071_Rezone Application Compiled 8.26.26",
      "url": "https://denver.legistar1.com/denver/attachments/45c22d9e-053a-43de-802a-24f984be54c8.pdf"
    },
    {
      "name": "BR26-1578_CPD_2026-REZONE-0000071_Final Legal Approved 9.15.26",
      "url": "https://denver.legistar1.com/denver/attachments/7c4e63b7-b21e-40b2-bcd1-3f0cdae4bcf5.docx"
    },
    "... [7 more]"
  ],
  "meeting_location": "Cathy Reynolds City Council Chamber, 1437 Bannock Street, Room 450",
  "meeting_status": "Final",
  "item_id": "legistar:denver:241372",
  "event_id": "legistar:denver:13077",
  "source_url": "https://webapi.legistar.com/v1/denver/events/13077/eventitems",
  "scraped_at": "2026-12-02T15:18:48Z"
}
```

### Use cases

- Contractors and suppliers watching for RFPs, bids and contract awards before they close
- Developers, land-use lawyers and brokers tracking rezonings, variances and site plans
- Government-affairs teams and vendors following their company, product or policy topic across cities
- Local journalists and residents' groups watching one council or committee

### Use-case recipes

#### Daily rezoning alert for developers

Add the cities you build in, keywords 'rezon\*', 'variance', 'site plan' and 'zoning', and keep the planning and council committees. Turn on 'Only new since last run' and schedule it daily; the Slack digest lists new items with their agenda links.

```json
{
  "cities": [
    "Denver",
    "Columbus",
    "Kitchener"
  ],
  "keywords": [
    "rezon*",
    "variance",
    "site plan",
    "zoning"
  ],
  "incremental": true,
  "stateKey": "rezoning-daily"
}
```

#### RFPs and contract awards for vendors selling to cities

Watch council and committee agendas for 'RFP', 'request for proposals', 'contract award' and your product category, e.g. 'software' or 'paving'. Each item links the staff report with the dollar amount.

```json
{
  "cities": [
    "Seattle",
    "Oakland",
    "San Jose",
    "Mississauga"
  ],
  "keywords": [
    "RFP",
    "request for proposals",
    "contract award",
    "paving"
  ],
  "incremental": true,
  "stateKey": "vendor-rfps"
}
```

#### Your company or a competitor's name across councils

Put a company name in keywords (as a phrase) and every built-in city in cities; the run returns each agenda item that names it, with the vote result once recorded.

```json
{
  "cities": [
    "Seattle",
    "Denver",
    "Nashville",
    "Ottawa",
    "Edmonton"
  ],
  "keywords": [
    "Acme Paving"
  ],
  "daysBack": 30,
  "incremental": true
}
```

### Input

| Field | Type | What it does | Default |
|---|---|---|---|
| `cities` (Cities) | array | Built-in cities (name is enough): Seattle, Oakland, San Jose, Fresno, Sacramento, Stockton, Mesa, Denver, Kansas City, Madison, Milwaukee, Columbus, Pittsburgh... | \["Seattle", "Denver", "Ottawa"] |
| `keywords` (Keywords) | array | Return agenda items whose title, text, file type or attachment names mention one of these (case-insensitive, whole words; end a... | \["rezon\*", "contract\*", "agreement", "RFP"] |
| `maxResultsPerCity` (Max results per city) | integer | Upper limit of agenda items per city, newest meetings first. 0 = no limit. | 100 |
| `daysBack` (Meetings from the last N days) | integer | Read meetings held on or after today minus this many days (UTC), so recent minutes and vote results are included. | 7 |
| `daysAhead` (Upcoming meetings, next N days) | integer | Also read meetings scheduled up to this many days ahead; their agendas usually appear a few days before the meeting. | 30 |
| `bodies` (Councils or committees (optional)) | array | Keep only meetings whose council, committee or board name contains one of these (case-insensitive), e.g. \['City Council', 'Planning', 'Zoning']. |  |

All 10 fields, with examples: see the **Input** tab.

### Use with AI agents (MCP)

MCP (Model Context Protocol) is the open standard that lets AI assistants such as Claude, ChatGPT and Cursor call outside tools. Apify's hosted MCP server at `https://mcp.apify.com/?tools=aurelix/city-council-agendas` gives your assistant this Actor only: it fills in the input from your request, runs it and reads the agenda items back, at the same per-result price as a run started by hand.

#### Example prompts

- "Find agenda items about rezoning in Seattle, Denver and Oakland council and committee meetings this month, with the meeting date and agenda link"
- "Which upcoming city council agendas in Ottawa, Edmonton and Mississauga mention an RFP or a contract award? Give a table of city, committee, date and item"
- "Alert me every day to new council agenda items in Columbus and Nashville that mention our company name"

#### Claude Desktop and claude.ai

**Settings > Connectors > Add custom connector**, name it Apify, paste `https://mcp.apify.com/?tools=aurelix/city-council-agendas`, keep the detected OAuth settings, select **Add** and sign in to Apify.

#### Claude Code

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=aurelix/city-council-agendas"
```

#### Cursor and VS Code

Add this to `~/.cursor/mcp.json` (Cursor); in VS Code's `.vscode/mcp.json` put the same entry under `"servers"` with `"type": "http"`. Sign in to Apify when asked.

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=aurelix/city-council-agendas"
    }
  }
}
```

#### ChatGPT

Turn on **Developer mode**, open **Settings > Apps & Connectors > Create**, paste the URL above as the MCP server URL, choose **OAuth** and authorize Apify.

Clients without sign-in send `Authorization: Bearer <YOUR_APIFY_TOKEN>` instead. No Apify account? This Actor supports Apify's agentic payments: an agent can pay per run with a prepaid, spend-capped token, bought with x402 stablecoin payments.

#### n8n AI agent

Give an **AI Agent** node an **MCP Client Tool** with the endpoint `https://mcp.apify.com/?tools=aurelix/city-council-agendas` and a Bearer credential holding your Apify token.

### Use it from AI agents (MCP), the API or no-code

#### Copy this to your AI assistant

```text
Use the Apify Actor aurelix/city-council-agendas (City Council Agendas) through Apify's MCP server or API. Main input: cities (Cities); keywords (Keywords). Example input: {"cities": ["Seattle", "Denver", "Ottawa"], "keywords": ["rezon*", "RFP", "contract award"], "bodies": ["Council", "Planning"], "daysBack": 7, "daysAhead": 30, "incremental": true, "stateKey": "my-watchlist"}. Each result is one agenda item with fields such as city, region, country, platform, body, meeting_date, meeting_time, item_number. It costs $2.00 per 1,000 agenda items on Apify's free plan plus a $0.003 start fee per run, and needs no login.
```

MCP server URL for this Actor: `https://mcp.apify.com/?tools=aurelix/city-council-agendas` (setup for each client in the section above).

#### API

Start a run and read the dataset with Apify's REST API or the Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("aurelix/city-council-agendas").call(run_input={'cities': ['Seattle', 'Denver', 'Ottawa'], 'keywords': ['rezon*', 'RFP', 'contract award'], 'bodies': ['Council', 'Planning'], 'daysBack': 7, 'daysAhead': 30, 'incremental': True, 'stateKey': 'my-watchlist'})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### No-code: schedule it in 3 clicks

Send the results to Google Sheets, Zapier, Make, n8n, Slack or any webhook URL.

1. Fill in the input, then click **Save as a new task**.
2. In the task, click **Schedule** and pick daily or weekly (Apify Schedules).
3. Turn on **Only new since last run** so each run returns only what is new, and paste a Slack or webhook URL into **Slack webhook URL** / **Webhook URL** to get a digest of the new items (count plus the top 10) after every run.

Prefer n8n or Make? Ask in the **Issues** tab and we will share a ready-made workflow for it.

### FAQ

#### Can I get city council agendas without login?

Yes. It never logs in, so you need no city portal account, password or cookies; only a free Apify account to run it.

#### Is there a city council agendas API?

You can use this Actor as one. Start it with Apify's REST API or the Python and JavaScript clients and read the results as JSON (see the code above), or call it from an AI agent through MCP.

#### How much does it cost to get city council agendas?

About $2.00 for 1,000 agenda items on Apify's free plan and $1.50 on paid plans, start fee included. The free $5 monthly credit covers about 2,400 agenda items.

#### Can I export city council agendas to Excel or Google Sheets?

Yes. Download the results as Excel, CSV, JSON, XML or HTML from the run's **Storage** tab, or send them to Google Sheets with Apify's Google Sheets integration or the API.

#### Is it legal to scrape city council agendas?

It reads only public data any logged-out visitor can see: the cities' public meeting agendas on their Legistar and eSCRIBE portals, without login, with robots.txt obeyed. Agendas are public records the cities publish for anyone. This is general information, not legal advice; you are responsible for how you use the data.

#### How much does a city council agenda monitor cost?

This Actor costs $2.00 per 1,000 matching agenda items ($1.50 on paid plans) plus $0.003 per run, and covers 29 US and Canadian cities with vote results and an only-new mode. A daily run over 3 cities with nothing new costs the start fee only.

#### Can I send new council agenda items to Google Sheets, Slack or n8n?

Yes: schedule it daily with 'Only new since last run' on, set a Slack or webhook URL for a digest, or connect the dataset to Google Sheets, Zapier, Make or n8n.

#### Can an AI agent use it?

Yes, through Apify's MCP server: ask for council agenda items in the cities and on the topics you care about, and the agent gets structured rows with links.

#### Does it work without login?

Yes. It reads the cities' public meeting portals; no account or login is needed.

#### Which cities are covered?

Built in: Seattle, Oakland, San Jose, Fresno, Sacramento, Stockton, Mesa, Denver, Kansas City, Madison, Milwaukee, Columbus, Pittsburgh, Nashville, Baltimore, Alexandria, Newark and Boston (Legistar), and Ottawa, Edmonton, Mississauga, Brampton, Hamilton, London (Ontario), Markham, Vaughan, Kitchener, Guelph and Oakville (eSCRIBE). Each was checked to return agenda items from Apify's servers. Any other city whose agendas are on Legistar or eSCRIBE can be added by its Legistar client id (the part before .legistar.com) or its eSCRIBE portal URL; those are read the same way but were not checked by us, and a city that does not answer is reported in the status and not charged.

#### What do keywords match?

Whole words or phrases, case-insensitive, in the item title, the item text the city publishes, the legislation name and type, and the attachment names. End a word with \* for any ending ('rezon\*' matches rezone and rezoning). Leave keywords empty to get every agenda item.

#### Does it read the agenda PDFs?

No. It matches the item titles and text the cities publish in their agenda data, and links the agenda, minutes and attachment PDFs. Words that appear only inside a PDF are not matched.

#### When does a vote result appear?

Legistar cities record the action, the result (Pass, Fail) and often the tally after the meeting. In only-new mode the item is returned again once, with change = result_recorded. eSCRIBE agendas do not carry results; open the minutes link.

### Lawful use

- Owner, applicant and agent lines keep only organisations, each named in full (a company form or word such as Inc., Ltd., LLC, Holdings, Developments, Associates, Church or City of); anything else on those lines is left out, including people's names, trusts and any name that cannot be kept whole, as are 'c/o' names that are not organisations. Emails, phone numbers, social media links and @handles in item titles, item text and meeting locations are masked. Property addresses are kept because they are what land-use items are about. Names of officials and of people an item concerns are returned as the city publishes them; anyone can ask for removal by opening an issue on this Actor's Issues tab.

### Limits (stated honestly)

- 29 built-in cities: 18 US on Legistar and 11 Canadian on eSCRIBE. Cities on other agenda systems are not covered; open an issue to ask for one.
- Item text is what the city publishes with the agenda item; words found only inside PDF staff reports are not matched.
- eSCRIBE cities: no item type, status or vote result in the agenda data; use the minutes link.
- Meetings from up to 60 days back and 60 days ahead per run; agendas usually appear a few days before a meeting.

### Works great with

- **Then: [Canada Building Permits](https://apify.com/aurelix/canada-building-permits-scraper)**: look up the rezoning and site plan files a Canadian agenda item mentions, with address, ward and status
- **Then: [New York Building Permits Scraper](https://apify.com/aurelix/building-permits-scraper)**: follow an approved US project from the council vote to its building permits
- **Then: [Government Tenders USA Scraper](https://apify.com/aurelix/government-tenders-scraper)**: find the published tender after a council approves an RFP or contract

### Recent changes

- **0.1**: First release: 29 US and Canadian cities on Legistar and eSCRIBE, keyword alerts, vote results, only-new mode.

The full history is on the **Changelog** tab.

### Tested daily

An automated health check runs this Actor every day on a fixed input and checks that at least 9 agenda items come back with `city`, `region`, `country`, `platform`, `body`, `meeting_date` filled in; a failed check alerts the maintainer straight away.

### Was this useful?

- **Something went wrong?** [Open an issue](https://apify.com/aurelix/city-council-agendas/issues) and tell us what you ran: we answer fast and aim to reply within a day.
- **It worked?** [Leave a review](https://apify.com/aurelix/city-council-agendas/reviews): it takes a minute and helps other people find this tool.
- **Need a different source, more fields or a custom feed?** [Open an issue](https://apify.com/aurelix/city-council-agendas/issues) and describe what you need.

# Changelog

This Actor's version history is a separate document: https://apify.com/aurelix/city-council-agendas/changelog.md

# Actor input Schema

## `cities` (type: `array`):

Built-in cities (name is enough): Seattle, Oakland, San Jose, Fresno, Sacramento, Stockton, Mesa, Denver, Kansas City, Madison, Milwaukee, Columbus, Pittsburgh, Nashville, Baltimore, Alexandria, Newark, Boston, Ottawa, Edmonton, Mississauga, Brampton, Hamilton, London, Markham, Vaughan, Kitchener, Guelph, Oakville (London = London, Ontario). You can also add any city that publishes on Legistar by its client id or URL (e.g. 'legistar:seattle' or 'https://seattle.legistar.com'), or an eSCRIBE meeting portal URL (e.g. 'https://pub-ottawa.escribemeetings.com'). Cities not in the built-in list are read the same way but were not checked by us.

## `keywords` (type: `array`):

Return agenda items whose title, text, file type or attachment names mention one of these (case-insensitive, whole words; end a word with \* for any ending, e.g. 'rezon\*' matches rezoning and rezone). Example: \['rezoning', 'RFP', 'contract award', 'your company name']. Send an empty list to get every agenda item.

## `daysBack` (type: `integer`):

Read meetings held on or after today minus this many days (UTC), so recent minutes and vote results are included. At most 60.

## `daysAhead` (type: `integer`):

Also read meetings scheduled up to this many days ahead; their agendas usually appear a few days before the meeting. At most 60.

## `bodies` (type: `array`):

Keep only meetings whose council, committee or board name contains one of these (case-insensitive), e.g. \['City Council', 'Planning', 'Zoning']. Empty = all.

## `incremental` (type: `boolean`):

Return only agenda items not returned by a previous run with the same cities, keywords and committees; an item comes back once more when its vote result is recorded (change = result_recorded). Use with a daily schedule for keyword alerts.

## `maxResultsPerCity` (type: `integer`):

Upper limit of agenda items per city, newest meetings first. 0 = no limit.

## `stateKey` (type: `string`):

Name for the 'only new since last run' memory. Leave empty to derive it from the cities, keywords and committees; set it to keep separate watchlists apart, e.g. 'bay-area-rezoning'.

## `slackWebhookUrl` (type: `string`):

After each run, post a short digest to Slack: how many agenda items were saved (new ones only when 'Only new since last run' is on) and the top 10 with links, e.g. https://hooks.slack.com/services/T000/B000/XXXX. Nothing is posted when the run saved nothing. Leave empty to skip.

## `webhookUrl` (type: `string`):

After each run, POST the same digest as JSON (actor, newOnly, count, items = top 10 results, runUrl, text) to any URL, e.g. a Zapier, Make or n8n webhook. Nothing is sent when the run saved nothing. Leave empty to skip.

## Actor input object example

```json
{
  "cities": [
    "Seattle",
    "Denver",
    "Ottawa"
  ],
  "keywords": [
    "rezon*",
    "contract*",
    "agreement",
    "RFP"
  ],
  "daysBack": 7,
  "daysAhead": 30,
  "bodies": [],
  "incremental": false,
  "maxResultsPerCity": 20
}
```

# Actor output Schema

## `items` (type: `string`):

Agenda items that matched your keywords, one row per item, with the meeting, committee, links and vote result.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cities": [
        "Seattle",
        "Denver",
        "Ottawa"
    ],
    "keywords": [
        "rezon*",
        "contract*",
        "agreement",
        "RFP"
    ],
    "maxResultsPerCity": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("aurelix/city-council-agendas").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "cities": [
        "Seattle",
        "Denver",
        "Ottawa",
    ],
    "keywords": [
        "rezon*",
        "contract*",
        "agreement",
        "RFP",
    ],
    "maxResultsPerCity": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("aurelix/city-council-agendas").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cities": [
    "Seattle",
    "Denver",
    "Ottawa"
  ],
  "keywords": [
    "rezon*",
    "contract*",
    "agreement",
    "RFP"
  ],
  "maxResultsPerCity": 20
}' |
apify call aurelix/city-council-agendas --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aurelix/city-council-agendas"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/L2GU79J2pJIdASOM7/builds/703fX7bu5OuufBLyw/openapi.json
