# Events: API reference

7 endpoints. Base URL `https://princegeorgepulse.ca/api/v1`. Conventions (envelope, paging, fields, formats, limits) are on the [overview](https://princegeorgepulse.ca/developers/). [All endpoints](https://princegeorgepulse.ca/developers/reference/).

## GET /api/v1/events {#get-events}

Upcoming events in Prince George (aggregated calendar), soonest first.

Times carry their UTC offset (Prince George local time).

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`); live source, also cached on our server
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event
- Paginated: `limit` (default 100, max 500) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `from` | query | string | Only events running on or after this date (YYYY-MM-DD). Dates before today search past events (history is kept about two years). Example: `2026-10-01`. |
| `to` | query | string | Only events starting on or before this date. |
| `month` | query | string | Only events in this local month (YYYY-MM), as on the site’s month pages; instead of `from`/`to`. See /events/months. Example: `2026-11`. |
| `category` | query | string | Category name or slug (see /events/categories). Example: `music-nightlife`. |
| `venue` | query | string | Venue name contains. |
| `source` | query | string | Automated calendar source id (see /events/sources). |
| `q` | query | string | Text search in title, summary, venue and source. |
| `past` | query | boolean | Include events that already ended. |
| `free` | query | boolean | true: only events whose listing says they are free (`free`). Events that do not say so may still be free. |
| `since` | query | string | Incremental sync: only events added or changed after this ISO date-time, oldest change first, including ones a source stopped listing (`status: removed`). Store `meta.updatedAt` and pass it next time. Example: `2026-09-30T00:00:00Z`. |
| `limit` | query | integer | Items per page (default 50, max 500 unless noted). Example: `20`. |
| `offset` | query | integer | Items to skip. Use `links.next` to page. Example: `0`. |

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`, `csv`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events?limit=3"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "L7ojowhQbc",
      "title": "2Spirit Indigiqueer Sip & Learn Series",
      "start": "2026-10-19T16:00:00-07:00",
      "end": "2026-11-30T17:30:00-07:00",
      "allDay": false,
      "venue": "Two Rivers Gallery",
      "address": "725 Civic Plaza",
      "lat": 53.912761,
      "lng": -122.748546,
      "category": "Learning",
      "summary": "Join us for an artistic evening of discussion focused on 2Spirit pride, and Indigiqueer history. Across 6 sessions, participants will engage in a craft or cultural teaching related to the discussion theme of the week…",
      "image": "https://princegeorgepulse.ca/media/prince-george/events/2spirit-indigiqueer-sip-learn-series-ddd67e-480.webp",
      "…": "14 more keys"
    },
    {
      "id": "VLxud5croK",
      "title": "Applications are now open for the 2027 UNBC 3MT competition",
      "start": "2026-10-26T00:00:00-07:00",
      "end": "2027-01-16T23:59:00-07:00",
      "allDay": true,
      "venue": "UNBC",
      "address": "3333 University Way",
      "lat": 53.887584,
      "lng": -122.813943,
      "category": "Learning",
      "summary": "",
      "image": null,
      "…": "13 more keys"
    },
    "… 1 more"
  ],
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-30T19:21:22.588Z",
    "ageSec": 4828,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "timezone": "America/Vancouver",
    "horizonDays": 183,
    "today": "2026-11-30",
    "calendar": "https://princegeorgepulse.ca/events/calendar.ics",
    "failedSources": [],
    "total": 526,
    "…": "3 more keys"
  },
  "links": {
    "self": "/api/v1/events?limit=3",
    "next": "/api/v1/events?limit=3&offset=3",
    "docs": "/developers/reference/events/#get-events"
  }
}
```

## GET /api/v1/events/months {#get-events-months}

Months with upcoming events, with counts and their month pages.

The current month and every later month that has upcoming events, as on the site’s “Browse by month” links. Read one month with `/events?month=YYYY-MM`.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/months"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "month": "2026-11",
      "label": "November 2026",
      "count": 15,
      "url": "https://princegeorgepulse.ca/events/2026-11/",
      "api": "https://princegeorgepulse.ca/api/v1/events?month=2026-11"
    },
    {
      "month": "2026-12",
      "label": "December 2026",
      "count": 356,
      "url": "https://princegeorgepulse.ca/events/2026-12/",
      "api": "https://princegeorgepulse.ca/api/v1/events?month=2026-12"
    },
    "… 5 more"
  ],
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-30T19:21:22.588Z",
    "ageSec": 4828,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "today": "2026-11-30",
    "total": 7,
    "count": 7
  },
  "links": {
    "self": "/api/v1/events/months",
    "next": null,
    "docs": "/developers/reference/events/#get-events-months"
  }
}
```

## GET /api/v1/events/categories {#get-events-categories}

Event categories with upcoming counts.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/categories"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "name": "Music & nightlife",
      "slug": "music-nightlife",
      "upcoming": 59
    },
    {
      "name": "Arts & culture",
      "slug": "arts-culture",
      "upcoming": 92
    },
    "… 7 more"
  ],
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-30T15:45:32.246Z",
    "updatedAtBasis": "build",
    "ageSec": 17778,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "total": 9,
    "count": 9
  },
  "links": {
    "self": "/api/v1/events/categories",
    "next": null,
    "docs": "/developers/reference/events/#get-events-categories"
  }
}
```

## GET /api/v1/events/sources {#get-events-sources}

Calendars the events feed is built from, with status.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/sources"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "city-pg",
      "name": "City of Prince George",
      "type": "drupal-fullcalendar",
      "url": "https://www.princegeorge.ca/community-culture/events/events-calendar",
      "ok": true,
      "count": 59,
      "raw": 341,
      "ms": 562,
      "kept": false,
      "checkedAt": "2026-11-30T19:20:10.621Z",
      "lastSuccess": "2026-11-30T19:20:10.621Z"
    },
    {
      "id": "cougars",
      "name": "Prince George Cougars",
      "type": "ical",
      "url": "https://cluster.leaguestat.com/components/calendar/ical_add_games.php?client_code=whl&season_id=295&team_id=210",
      "ok": true,
      "count": 18,
      "raw": 34,
      "ms": 158,
      "kept": false,
      "checkedAt": "2026-11-30T19:20:10.621Z",
      "lastSuccess": "2026-11-30T19:20:10.621Z"
    },
    "… 30 more"
  ],
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-30T19:21:22.588Z",
    "ageSec": 4828,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "total": 32,
    "count": 32
  },
  "links": {
    "self": "/api/v1/events/sources",
    "next": null,
    "docs": "/developers/reference/events/#get-events-sources"
  }
}
```

## GET /api/v1/events/series {#get-events-series}

Recurring programs listed once per date (weekly storytimes, classes, markets), each with its schedule and series page.

A series is the same title at the same venue on fixed weekdays every week or every other week, on at least three listed dates; the schedule is worked out from those dates. Each date is also in /events, with `series.id`.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event
- Paginated: `limit` (default 100, max 500) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `q` | query | string | Text search in title and venue. |
| `past` | query | boolean | Include series with no upcoming dates. |
| `limit` | query | integer | Items per page (default 50, max 500 unless noted). Example: `20`. |
| `offset` | query | integer | Items to skip. Use `links.next` to page. Example: `0`. |

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`, `csv`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/series?limit=3"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "senior-monday-the-exploration-place",
      "title": "Senior Monday",
      "venue": "The Exploration Place",
      "schedule": "Every Monday",
      "line": "Every Monday, next Mon, Nov 30",
      "interval": 7,
      "weekdays": [
        1
      ],
      "time": null,
      "next": "2026-11-30T00:00:00-07:00",
      "upcoming": [
        {
          "id": "42DSF-qK6B",
          "start": "2026-11-30T00:00:00-07:00",
          "end": "2026-11-30T23:59:00-07:00",
          "pageUrl": "https://princegeorgepulse.ca/events/senior-monday-2026-11-30-2kn363s/"
        },
        {
          "id": "roaTRjoYtk",
          "start": "2026-12-07T00:00:00-07:00",
          "end": "2026-12-07T23:59:00-07:00",
          "pageUrl": "https://princegeorgepulse.ca/events/senior-monday-2026-12-07-9vtpbui/"
        },
        "… 2 more"
      ],
      "url": "https://princegeorgepulse.ca/events/series/senior-monday-the-exploration-place/"
    },
    {
      "id": "legotime-bob-harkins-branch-library",
      "title": "LEGOtime!",
      "venue": "Bob Harkins Branch Library",
      "schedule": "Every Monday at 3 p.m.",
      "line": "Every Monday at 3 p.m., next Mon, Nov 30",
      "interval": 7,
      "weekdays": [
        1
      ],
      "time": "15:00",
      "next": "2026-11-30T15:00:00-07:00",
      "upcoming": [
        {
          "id": "ZTGYyZEMLh",
          "start": "2026-11-30T15:00:00-07:00",
          "end": "2026-11-30T17:00:00-07:00",
          "pageUrl": "https://princegeorgepulse.ca/events/legotime-2026-11-30-i1yy8al/"
        },
        {
          "id": "q9KQQJphXa",
          "start": "2026-12-14T15:00:00-07:00",
          "end": "2026-12-14T17:00:00-07:00",
          "pageUrl": "https://princegeorgepulse.ca/events/legotime-2026-12-14-8y23pgq/"
        },
        "… 1 more"
      ],
      "url": "https://princegeorgepulse.ca/events/series/legotime-bob-harkins-branch-library/"
    },
    "… 1 more"
  ],
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-30T19:21:22.588Z",
    "ageSec": 4828,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "today": "2026-11-30",
    "total": 75,
    "count": 3,
    "limit": 3,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/events/series?limit=3",
    "next": "/api/v1/events/series?limit=3&offset=3",
    "docs": "/developers/reference/events/#get-events-series"
  }
}
```

## GET /api/v1/events/series/{id} {#get-events-series-id}

One recurring series: schedule, upcoming dates and series page.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` | path | string | Series id (from /events/series, or `series.id` on an event). Required. |

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/series/daycare-wednesday-the-exploration-place"
```

**Example response** (trimmed)

```json
{
  "data": {
    "id": "daycare-wednesday-the-exploration-place",
    "title": "Daycare Wednesday",
    "venue": "The Exploration Place",
    "schedule": "Every Wednesday",
    "line": "Every Wednesday, next Wed, Dec 2",
    "interval": 7,
    "weekdays": [
      3
    ],
    "time": null,
    "next": "2026-12-02T00:00:00-07:00",
    "upcoming": [
      {
        "id": "ek10eruh-c",
        "start": "2026-12-02T00:00:00-07:00",
        "end": "2026-12-02T23:59:00-07:00",
        "pageUrl": "https://princegeorgepulse.ca/events/daycare-wednesday-2026-12-02-k6wxm0g/"
      },
      {
        "id": "w8zO7GMdi_",
        "start": "2026-12-09T00:00:00-07:00",
        "end": "2026-12-09T23:59:00-07:00",
        "pageUrl": "https://princegeorgepulse.ca/events/daycare-wednesday-2026-12-09-hyoqwrc/"
      },
      "… 2 more"
    ],
    "url": "https://princegeorgepulse.ca/events/series/daycare-wednesday-the-exploration-place/",
    "summary": "Bring your little explorers for a fun day of discovery and play! All day long, admission is just $2.50 per child, and care providers and kids under 2 get in free.",
    "…": "4 more keys"
  },
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-11-26T07:20:12.684Z",
    "ageSec": 393698,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/events/series/daycare-wednesday-the-exploration-place",
    "next": null,
    "docs": "/developers/reference/events/#get-events-series-id"
  }
}
```

## GET /api/v1/events/{id} {#get-events-id}

One event.

- Cache: 5 min in browsers, 10 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=600, stale-while-revalidate=1200`)
- Source: [PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)](https://princegeorgepulse.ca/events/)
- Licence: Event facts from each organiser; see `url`/`source` per event

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` | path | string | Event id (from /events), or the last segment of its page address (`pageUrl`). Required. |

Also accepts `fields` (sparse fieldset) and `format` (`json`, `md`).

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/events/L7ojowhQbc"
```

**Example response** (trimmed)

```json
{
  "data": {
    "id": "L7ojowhQbc",
    "title": "2Spirit Indigiqueer Sip & Learn Series",
    "start": "2026-10-19T16:00:00-07:00",
    "end": "2026-11-30T17:30:00-07:00",
    "allDay": false,
    "venue": "Two Rivers Gallery",
    "address": "725 Civic Plaza",
    "lat": 53.912761,
    "lng": -122.748546,
    "category": "Learning",
    "summary": "Join us for an artistic evening of discussion focused on 2Spirit pride, and Indigiqueer history. Across 6 sessions, participants will engage in a craft or cultural teaching related to the discussion theme of the week…",
    "image": "https://princegeorgepulse.ca/media/prince-george/events/2spirit-indigiqueer-sip-learn-series-ddd67e-480.webp",
    "…": "15 more keys"
  },
  "meta": {
    "source": "PG Pulse events calendar, aggregated from venue, city and community calendars (each event links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/events/",
    "updatedAt": "2026-10-04T04:05:31.824Z",
    "ageSec": 4984579,
    "license": "Event facts from each organiser; see `url`/`source` per event",
    "attribution": "Each event’s organiser or listing source, via PG Pulse (princegeorgepulse.ca)",
    "checkedAt": "2026-11-30T19:20:10.621Z"
  },
  "links": {
    "self": "/api/v1/events/L7ojowhQbc",
    "next": null,
    "docs": "/developers/reference/events/#get-events-id"
  }
}
```
