# News & stories: API reference

12 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/news {#get-news}

Aggregated local news feed (headline, image, short description, link) plus PG Pulse stories, newest first.

Links only: follow `url` to read the original. Article bodies are never stored or served.

- Cache: 2 min (`Cache-Control: public, max-age=120, s-maxage=120, stale-while-revalidate=240`); live source, also cached on our server
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.
- Paginated: `limit` (default 30, max 200) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `topic` | query | string | Topic slug (see /news/topics). Example: `civic`. |
| `source` | query | string | Source id or name, comma separated (see /news/sources). |
| `q` | query | string | Text search in title, description and source name (covers the whole archive; headlines are kept permanently, summaries for about 18 months). Example: `council`. |
| `from` | query | string | Only items published on or after this date (YYYY-MM-DD or ISO date-time). Example: `2026-09-01`. |
| `to` | query | string | Only items published on or before this date. |
| `kind` | query | string | Item kind. One of: `article`, `reddit`, `video`, `social`, `original`. |
| `sort` | query | string | `latest` (default): every item, newest first. `top`: one entry per story from the last 72 hours, ranked by score = source quality × (1 + 0.6 × (outlets − 1)) × 0.5^(age in hours / 12), each with `score` and `alsoCovered` (the other publishers’ copies), then the rest newest first. Editorial only: nothing paid or engagement-based. One of: `latest`, `top`. |
| `story` | query | string | Every copy of one story (its `storyId`). |
| `since` | query | string | Incremental pulls: only items first collected after this ISO date-time, oldest first (PG Pulse stories by publication time). 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/news?topic=civic&limit=3"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "c0818f9ecf28cb465182",
      "url": "https://www.princegeorgecitizen.com/local-news/emergency-services-grant-application-approved-by-council-13027201",
      "title": "Emergency services grant application approved by council",
      "description": "The City of Prince George is looking for $23.5k from the Union of BC Municipalities",
      "image": "https://princegeorgepulse.ca/media/prince-george/news/emergency-services-grant-application-approved-council-c6445b-480.webp",
      "source": "pg-citizen-local",
      "sourceName": "Prince George Citizen",
      "date": "2026-11-30T18:28:00.000Z",
      "kind": "article",
      "topics": [
        "local",
        "civic"
      ],
      "firstSeen": "2026-11-30T19:00:10.366Z",
      "storyId": "c0818f9ecf28cb465182",
      "…": "1 more keys"
    },
    {
      "id": "8e0ea44d5b30d7a9e4cc",
      "url": "https://www.reddit.com/r/princegeorge/comments/1y8ykdr/newly_elected_city_council_member_dan_mclaren/",
      "title": "Newly elected city council member Dan McLaren.",
      "description": "",
      "image": null,
      "source": "reddit-princegeorge",
      "sourceName": "r/princegeorge",
      "date": "2026-11-30T04:15:26.334Z",
      "kind": "reddit",
      "topics": [
        "reddit",
        "civic"
      ],
      "firstSeen": "2026-11-30T04:15:14.847Z",
      "storyId": "8e0ea44d5b30d7a9e4cc",
      "…": "1 more keys"
    },
    "… 1 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T20:30:19.103Z",
    "ageSec": 715,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 450,
    "count": 3,
    "limit": 3,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/news?topic=civic&limit=3",
    "next": "/api/v1/news?topic=civic&limit=3&offset=3",
    "docs": "/developers/reference/news-and-stories/#get-news"
  }
}
```

## GET /api/v1/news/archive {#get-news-archive}

The permanent headline archive: every month with headlines, with counts.

Headlines are kept permanently (headline, source, date, link, topics); summaries and images only for about 18 months. Get a month with /news/archive/{year}/{month}.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/news/archive"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "year": 2026,
      "month": 11,
      "key": "2026-11",
      "count": 1215,
      "label": "November 2026",
      "url": "https://princegeorgepulse.ca/news/archive/2026/11/",
      "api": "https://princegeorgepulse.ca/api/v1/news/archive/2026/11"
    },
    {
      "year": 2026,
      "month": 10,
      "key": "2026-10",
      "count": 1067,
      "label": "October 2026",
      "url": "https://princegeorgepulse.ca/news/archive/2026/10/",
      "api": "https://princegeorgepulse.ca/api/v1/news/archive/2026/10"
    },
    "… 13 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T20:30:19.103Z",
    "ageSec": 715,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 15,
    "count": 15
  },
  "links": {
    "self": "/api/v1/news/archive",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-archive"
  }
}
```

## GET /api/v1/news/archive/{year} {#get-news-archive-year}

One year of the headline archive: its months with headline counts.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `year` | path | string | Four-digit year (see /news/archive). Required. Example: `2026`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/news/archive/2026"
```

**Example response** (trimmed)

```json
{
  "data": {
    "year": 2026,
    "total": 2665,
    "url": "https://princegeorgepulse.ca/news/archive/2026/",
    "months": [
      {
        "year": 2026,
        "month": 11,
        "key": "2026-11",
        "count": 1215,
        "label": "November 2026",
        "url": "https://princegeorgepulse.ca/news/archive/2026/11/",
        "api": "https://princegeorgepulse.ca/api/v1/news/archive/2026/11"
      },
      {
        "year": 2026,
        "month": 10,
        "key": "2026-10",
        "count": 1067,
        "label": "October 2026",
        "url": "https://princegeorgepulse.ca/news/archive/2026/10/",
        "api": "https://princegeorgepulse.ca/api/v1/news/archive/2026/10"
      },
      "… 9 more"
    ]
  },
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T20:30:19.103Z",
    "ageSec": 715,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/news/archive/2026",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-archive-year"
  }
}
```

## GET /api/v1/news/archive/{year}/{month} {#get-news-archive-year-month}

Every headline of one month (local time), newest first: headline, source, date and link only.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.
- Paginated: `limit` (default 200, max 1000) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `year` | path | string | Four-digit year. Required. Example: `2026`. |
| `month` | path | string | Two-digit month. Required. Example: `09`. |
| `q` | query | string | Words in the headline or source name. |
| `source` | query | string | Source id or name, comma separated. |
| `topic` | query | string | Topic slug (see /news/topics). |
| `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/news/archive/2026/11"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "c0818f9ecf28cb465182",
      "title": "Emergency services grant application approved by council",
      "url": "https://www.princegeorgecitizen.com/local-news/emergency-services-grant-application-approved-by-council-13027201",
      "source": "pg-citizen-local",
      "sourceName": "Prince George Citizen",
      "date": "2026-11-30T18:28:00.000Z",
      "day": "2026-11-30",
      "kind": "article",
      "topics": [
        "local",
        "civic"
      ]
    },
    {
      "id": "d79df3b6b80bad2045ec",
      "title": "Fort St. James’ Kavita runs away with gold at Nationals",
      "url": "https://caledoniacourier.com/2026/11/30/fort-st-james-kavita-runs-away-with-gold-at-nationals/",
      "source": "caledonia-courier",
      "sourceName": "Fort St. James Caledonia Courier",
      "date": "2026-11-30T18:12:07.000Z",
      "day": "2026-11-30",
      "kind": "article",
      "topics": [
        "local"
      ]
    },
    "… 198 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T20:30:19.103Z",
    "ageSec": 715,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 1215,
    "count": 200,
    "limit": 200,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/news/archive/2026/11",
    "next": "/api/v1/news/archive/2026/11?offset=200",
    "docs": "/developers/reference/news-and-stories/#get-news-archive-year-month"
  }
}
```

## GET /api/v1/news/trends {#get-news-trends}

What Prince George is talking about: terms rising in local headlines and summaries this week.

Words and two-word phrases from the headlines and publishers’ short summaries of the last 7 days, compared with the average week of the 4 weeks before: score = (items this week − baseline) / √(baseline + 1), at least 3 items from 2 publishers; single words only when written as names. Counts only, never text. Recomputed hourly.

- Cache: 5 min in browsers, 15 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=900, stale-while-revalidate=1800`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `limit` | query | integer | How many terms (1-40, default 20). |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/news/trends"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "term": "lethbridge",
      "label": "Lethbridge",
      "rank": 1,
      "items": 11,
      "sources": 3,
      "baseline": 0.25,
      "score": 9.62,
      "sourceNames": [
        "UNBC Timberwolves",
        "My Prince George Now",
        "… 1 more"
      ],
      "computedAt": "2026-11-30T19:07:09.336Z",
      "url": "https://princegeorgepulse.ca/news/trends/?term=lethbridge",
      "api": "https://princegeorgepulse.ca/api/v1/news/trends/lethbridge"
    },
    {
      "term": "dougla william",
      "label": "Douglas William Gibbs",
      "rank": 2,
      "items": 8,
      "sources": 8,
      "baseline": 0,
      "score": 8,
      "sourceNames": [
        "Prince George Citizen",
        "Prince George RCMP",
        "… 6 more"
      ],
      "computedAt": "2026-11-30T19:07:09.336Z",
      "url": "https://princegeorgepulse.ca/news/trends/?term=dougla%20william",
      "api": "https://princegeorgepulse.ca/api/v1/news/trends/dougla%20william"
    },
    "… 18 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T19:07:09.336Z",
    "ageSec": 5705,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 20,
    "count": 20
  },
  "links": {
    "self": "/api/v1/news/trends",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-trends"
  }
}
```

## GET /api/v1/news/trends/{term} {#get-news-trends-term}

Daily use of one term in local news: items and distinct publishers per day.

- Cache: 5 min in browsers, 15 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=900, stale-while-revalidate=1800`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `term` | path | string | A word or two-word phrase (case and plurals do not matter). Required. Example: `spruce kings`. |
| `days` | query | integer | Days back (7-400, default 60). |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/news/trends/lethbridge"
```

**Example response** (trimmed)

```json
{
  "data": {
    "term": "lethbridge",
    "series": [
      {
        "day": "2026-10-02",
        "items": 0,
        "sources": 0
      },
      {
        "day": "2026-10-03",
        "items": 0,
        "sources": 0
      },
      "… 58 more"
    ],
    "total": 9,
    "search": "https://princegeorgepulse.ca/api/v1/news?q=lethbridge"
  },
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T19:07:09.336Z",
    "ageSec": 5705,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/news/trends/lethbridge",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-trends-term"
  }
}
```

## GET /api/v1/news/topics {#get-news-topics}

News topics.

- Cache: 5 min in browsers, 24 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=86400, stale-while-revalidate=172800`)
- Source: [PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/news/topics"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "slug": "local",
      "label": "Local news",
      "icon": "Newspaper",
      "title": "Prince George local news",
      "description": "The latest headlines from Prince George newsrooms: the Citizen, CKPG Today, My PG Now and more, in one feed.",
      "rule": {
        "terms": [],
        "exclude": [],
        "veto": [],
        "min": 2
      },
      "url": "https://princegeorgepulse.ca/news/local/",
      "api": "https://princegeorgepulse.ca/api/v1/news?topic=local"
    },
    {
      "slug": "civic",
      "label": "Civic and politics",
      "icon": "Landmark",
      "title": "Prince George politics and civic news",
      "description": "City council, the regional district, school board, elections and provincial decisions that affect Prince George.",
      "rule": {
        "terms": [],
        "exclude": [],
        "veto": [],
        "min": 2
      },
      "url": "https://princegeorgepulse.ca/news/civic/",
      "api": "https://princegeorgepulse.ca/api/v1/news?topic=civic"
    },
    "… 11 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T15:45:32.246Z",
    "updatedAtBasis": "build",
    "ageSec": 17802,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 13,
    "count": 13
  },
  "links": {
    "self": "/api/v1/news/topics",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-topics"
  }
}
```

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

Every news source with item counts and last fetch 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 news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube](https://princegeorgepulse.ca/news/)
- Licence: Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "pg-pulse",
      "name": "PG Pulse",
      "type": "original",
      "homepage": "https://princegeorgepulse.ca/articles/",
      "quality": 5,
      "topicHints": [],
      "logo": "https://princegeorgepulse.ca/favicon.svg",
      "enabled": true,
      "note": "Our own reporting and explainers.",
      "items": 6,
      "ok": true,
      "error": null,
      "…": "2 more keys"
    },
    {
      "id": "pg-citizen-local",
      "name": "Prince George Citizen",
      "type": "rss",
      "homepage": "https://www.princegeorgecitizen.com/",
      "quality": 5,
      "topicHints": [
        "local"
      ],
      "logo": "https://princegeorgepulse.ca/media/prince-george/logos/prince-george-citizen-logo-fb89e2-64.webp",
      "enabled": true,
      "note": null,
      "items": 361,
      "ok": true,
      "error": null,
      "…": "6 more keys"
    },
    "… 46 more"
  ],
  "meta": {
    "source": "PG Pulse news aggregator: headlines, short descriptions and links from local newsrooms, Reddit and YouTube",
    "sourceUrl": "https://princegeorgepulse.ca/news/",
    "updatedAt": "2026-11-30T20:30:19.103Z",
    "ageSec": 715,
    "license": "Headlines and descriptions © their publishers; links only, no article bodies. Follow `url` to read the original.",
    "attribution": "Each item’s publisher (`sourceName`), via PG Pulse (princegeorgepulse.ca)",
    "total": 48,
    "count": 48
  },
  "links": {
    "self": "/api/v1/news/sources",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-news-sources"
  }
}
```

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

PG Pulse stories (original articles), newest first.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [PG Pulse stories (original reporting and explainers)](https://princegeorgepulse.ca/articles/)
- Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
- Paginated: `limit` (default 50, max 200) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `category` | query | string | Story category. Example: `Guide`. |
| `tag` | query | string | Tag. |
| `q` | query | string | Text search. |
| `body` | query | boolean | Include the Markdown body. |
| `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/stories"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "slug": "fall-in-prince-george-whats-on",
      "title": "Fall in Prince George: what’s on this season",
      "description": "Autumn in Prince George: golden trails, hockey’s return, a new arts season, Truth and Reconciliation Day, two elections and getting ready for winter.",
      "date": "2026-09-26T00:00:00.000Z",
      "updated": {},
      "validUntil": {},
      "author": "PG Pulse staff",
      "category": "Events",
      "image": "https://princegeorgepulse.ca/media/prince-george/guides/rainbow-over-prince-george-skyline-8903e7-1280.webp",
      "imageAlt": "A bright rainbow arching over the rooftops and trees of Prince George",
      "imageCredit": "Tim Wenzel, CC BY-SA 3.0 via Wikimedia Commons",
      "tags": [
        "fall",
        "events",
        "… 4 more"
      ],
      "…": "6 more keys"
    },
    {
      "slug": "prince-george-weather-compared-with-bc",
      "title": "How Prince George’s weather compares with the rest of BC",
      "description": "Official 1991–2020 climate normals for Prince George and eight other BC cities: the north is colder in winter, but summer highs match Vancouver’s.",
      "date": "2026-09-22T00:00:00.000Z",
      "author": "PG Pulse staff",
      "category": "Data",
      "image": "https://princegeorgepulse.ca/media/prince-george/guides/unbcs-hilltop-campus-buildings-dusted-snow-5c443a-1280.webp",
      "imageAlt": "Snow on the buildings of the University of Northern British Columbia campus in winter",
      "imageCredit": "Thegrammarguy, CC BY-SA 4.0 via Wikimedia Commons",
      "tags": [
        "weather",
        "climate",
        "… 4 more"
      ],
      "featured": false,
      "sources": [
        {
          "title": "Canadian Climate Normals 1991–2020 (Environment and Climate Change Canada)",
          "url": "https://climate.weather.gc.ca/climate_normals/index_e.html"
        },
        {
          "title": "Prince George weather box (Wikipedia template summarizing ECCC normals)",
          "url": "https://en.wikipedia.org/wiki/Template:Prince_George_weatherbox"
        },
        "… 8 more"
      ],
      "…": "4 more keys"
    },
    "… 4 more"
  ],
  "meta": {
    "source": "PG Pulse stories (original reporting and explainers)",
    "sourceUrl": "https://princegeorgepulse.ca/articles/",
    "updatedAt": "2026-11-30T15:45:32.246Z",
    "updatedAtBasis": "build",
    "ageSec": 17802,
    "license": "CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)",
    "attribution": "PG Pulse (princegeorgepulse.ca)",
    "total": 6,
    "count": 6,
    "limit": 50,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/stories",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-stories"
  }
}
```

## GET /api/v1/stories/{slug} {#get-stories-slug}

One PG Pulse story with its Markdown body.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [PG Pulse stories (original reporting and explainers)](https://princegeorgepulse.ca/articles/)
- Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `slug` | path | string | Story slug. Required. Example: `why-prince-george-sits-in-a-bowl`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/stories/why-prince-george-sits-in-a-bowl"
```

**Example response** (trimmed)

```json
{
  "data": {
    "slug": "why-prince-george-sits-in-a-bowl",
    "title": "Why Prince George sits in a bowl: the lake that disappeared",
    "description": "Downtown Prince George sits on the floor of a vanished ice-age landscape. How ice, a glacial lake and two rivers made the bowl and cutbanks.",
    "date": "2026-09-03T00:00:00.000Z",
    "author": "PG Pulse staff",
    "category": "Explainer",
    "image": "https://princegeorgepulse.ca/media/prince-george/guides/view-east-over-prince-george-university-hill-city-104938-1200.webp",
    "imageAlt": "View east over Prince George from University Hill, with the city in the valley and forested plateau beyond",
    "imageCredit": "Iranianson, CC BY-SA 3.0 via Wikimedia Commons",
    "tags": [
      "geology",
      "glacial lake",
      "… 3 more"
    ],
    "featured": true,
    "sources": [
      {
        "title": "Geotour Guide for Prince George, British Columbia (GSC Open File 5559 / BCGS Geofile 2010-10)",
        "url": "https://mineralsed.ca/site/assets/files/3451/princegeorgegeotourguide.pdf"
      },
      {
        "title": "Cutbanks (The Exploration Place)",
        "url": "https://theexplorationplace.com/project/cutbanks/"
      },
      "… 2 more"
    ],
    "…": "3 more keys"
  },
  "meta": {
    "source": "PG Pulse stories (original reporting and explainers)",
    "sourceUrl": "https://princegeorgepulse.ca/articles/",
    "updatedAt": "2026-11-30T15:45:32.246Z",
    "updatedAtBasis": "build",
    "ageSec": 17802,
    "license": "CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)",
    "attribution": "PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/stories/why-prince-george-sits-in-a-bowl",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-stories-slug"
  }
}
```

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

Published PG Pulse posts from the site’s publishing tool (empty until posts exist).

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [PG Pulse posts](https://princegeorgepulse.ca/posts/)
- Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
- Paginated: `limit` (default 50, max 200) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `category` | query | string | Post category. Example: `Community`. |
| `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/posts"
```

**Example response** (trimmed)

```json
{
  "data": [],
  "meta": {
    "source": "PG Pulse posts",
    "sourceUrl": "https://princegeorgepulse.ca/posts/",
    "updatedAt": "2026-11-30T15:45:32.246Z",
    "updatedAtBasis": "build",
    "ageSec": 17802,
    "license": "CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)",
    "attribution": "PG Pulse (princegeorgepulse.ca)",
    "total": 0,
    "count": 0,
    "limit": 50,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/posts",
    "next": null,
    "docs": "/developers/reference/news-and-stories/#get-posts"
  }
}
```

## GET /api/v1/posts/{slug} {#get-posts-slug}

One published PG Pulse post with its Markdown body.

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [PG Pulse posts](https://princegeorgepulse.ca/posts/)
- Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `slug` | path | string | Post slug (see /posts). Required. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/posts/{slug}"
```
