# Cambridgema Iqm2 — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access municipal meeting schedules, details, and documents from an IQM2-powered government meeting portal. Search across boards, commissions, and calendar years to retrieve meeting information, document links (agendas, minutes, final actions), group listings, and RSS feed notifications for local government proceedings.

**Category:** Government & Public Data | **Website:** [cambridgema.iqm2.com/](https://cambridgema.iqm2.com/) | **Docs:** [parse.bot/marketplace/1d336be2-ca4c-4e33-bdae-f2f0f251d7a1/cambridgema-iqm2-com-api](https://parse.bot/marketplace/1d336be2-ca4c-4e33-bdae-f2f0f251d7a1/cambridgema-iqm2-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_boards_list

Get list of all boards and commissions with their descriptions, meeting frequency, members, and other metadata. Returns comprehensive information about each municipal body including current membership.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_boards_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_calendar_rss_feed

Get the latest meeting entries from the portal RSS feed. Returns recently published meeting agenda notifications.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_calendar_rss_feed \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_meeting_detail

Get full details for a specific meeting including board name, type, date/time, status, documents, and agenda items. Requires a meeting ID obtained from get_meetings_list.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Meeting ID (from get_meetings_list results). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meeting_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### get_meeting_document_url

Construct the direct URL for a meeting document given the meeting ID and document type code. Does not fetch the document; returns the URL for download.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Meeting ID (from get_meetings_list or get_meeting_detail results). |
| `type` | string | Yes | Document type code: 14 (Agenda Summary), 1 (Agenda Packet), 15 (Final Actions), 12 (Minutes), 4 (Minutes alternate). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meeting_document_url \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>","type":"<string>"}'
```

### get_meeting_groups

Retrieve all available meeting group IDs and names from the calendar filter dropdown. Each group represents a board, commission, or committee. Use these IDs with get_meetings_list or get_meetings_by_group to filter meetings by group.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meeting_groups \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_meetings_by_group

Get meetings for a specific group in the default year (2024). Not all groups have meetings; some may return an empty list. Use get_meeting_groups to discover valid group IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `group_id` | string | Yes | Meeting group ID (from get_meeting_groups endpoint). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meetings_by_group \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"group_id":"<string>"}'
```

### get_meetings_by_year

Get all meetings for a specific calendar year across all groups. Equivalent to get_meetings_list with just a year filter. Returns meeting summaries with documents.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `year` | string | Yes | Calendar year (e.g. 2024, 2025). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meetings_by_year \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"year":"<string>"}'
```

### get_meetings_list

Get list of meetings filtered by date range, year, and optionally by group ID. Returns all meetings across all groups for the specified year by default. Each meeting includes date/time, group name, meeting type, status, and links to available documents.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `from` | string | No | Start date in m/d/yyyy format (e.g. 1/1/2024). Defaults to 1/1/{year}. |
| `group_id` | string | No | Meeting group ID to filter by (from get_meeting_groups endpoint). Omitting returns all groups. |
| `to` | string | No | End date in m/d/yyyy format (e.g. 12/31/2024). Defaults to 12/31/{year}. |
| `year` | string | No | Calendar year to filter meetings (e.g. 2024, 2025). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cambridgema-iqm2-com-api-1d336be2/get_meetings_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from":"<string>","group_id":"<string>","to":"<string>","year":"<string>"}'
```
