# Hazards: 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/wildfire {#get-wildfire}

Wildfires near Prince George, season stats, danger rating, bans and evacuations.

- Cache: 5 min in browsers, 30 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=1800, stale-while-revalidate=3600`); live source, also cached on our server
- Source: [BC Wildfire Service (active fires, danger rating, bans and prohibitions); Emergency Management and Climate Readiness (evacuation orders and alerts)](https://wildfiresituation.nrs.gov.bc.ca/map)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "active": [
      {
        "id": "G92299",
        "name": "Creham Creek Muskwa Junction",
        "status": "Under Control",
        "cause": "Person",
        "sizeHa": 41.6,
        "discovered": "2026-09-29T23:27:23.000Z",
        "out": null,
        "lat": 57.8834,
        "lng": -123.6461,
        "location": "Creham Creek Muskwa Junction",
        "url": "https://wildfiresituation.nrs.gov.bc.ca/incidents?fireYear=2026&incidentNumber=G92299",
        "ofNote": false,
        "…": "1 more keys"
      },
      {
        "id": "G92324",
        "name": "NW of Wenger Creek",
        "status": "Under Control",
        "cause": "Person",
        "sizeHa": 0.5,
        "discovered": "2026-10-08T21:20:58.000Z",
        "out": null,
        "lat": 57.9273,
        "lng": -123.3775,
        "location": "NW of Wenger Creek",
        "url": "https://wildfiresituation.nrs.gov.bc.ca/incidents?fireYear=2026&incidentNumber=G92324",
        "ofNote": false,
        "…": "1 more keys"
      }
    ],
    "season": {
      "year": 2026,
      "total": 169,
      "out": 167,
      "active": 2,
      "totalHa": 952,
      "byCause": {
        "Person": 78,
        "Lightning": 91
      },
      "byStatus": {
        "Out": 167,
        "Under Control": 2
      },
      "byMonth": {
        "2026-03": 2,
        "2026-04": 18,
        "2026-05": 23,
        "2026-06": 25,
        "2026-07": 59,
        "2026-08": 20,
        "2026-09": 13,
        "2026-10": 3,
        "2026-11": 4
      },
      "discoveredEarlier": 2,
      "largest": {
        "id": "G70322",
        "name": "Windy Creek",
        "status": "Out",
        "cause": "Person",
        "sizeHa": 206.8,
        "discovered": "2026-04-26T15:00:14.000Z",
        "out": "2026-06-03T21:10:07.000Z",
        "lat": 55.9698,
        "lng": -121.4783,
        "location": "Windy Creek",
        "url": "https://wildfiresituation.nrs.gov.bc.ca/incidents?fireYear=2026&incidentNumber=G70322",
        "ofNote": false,
        "…": "1 more keys"
      }
    },
    "danger": {
      "rating": null,
      "value": null,
      "updated": null
    },
    "bans": [],
    "evacuations": []
  },
  "meta": {
    "source": "BC Wildfire Service (active fires, danger rating, bans and prohibitions); Emergency Management and Climate Readiness (evacuation orders and alerts)",
    "sourceUrl": "https://wildfiresituation.nrs.gov.bc.ca/map",
    "updatedAt": "2026-11-30T20:33:49.725Z",
    "ageSec": 483,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "BC Wildfire Service and EMCR, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/wildfire",
    "next": null,
    "docs": "/developers/reference/hazards/#get-wildfire"
  }
}
```

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

Earthquakes within about 400 km over the last year.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`); live source, also cached on our server
- Source: [Natural Resources Canada, Earthquakes Canada (FDSN event service)](https://www.earthquakescanada.nrcan.gc.ca/)
- Licence: Open Government Licence – Canada (https://open.canada.ca/en/open-government-licence-canada)

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "events": [
      {
        "id": "ca2026xlzl",
        "time": "2026-11-27T06:06:48.000Z",
        "lat": 54.5979,
        "lng": -118.4997,
        "depthKm": 6.11,
        "mag": 2.7,
        "magType": "MLy",
        "place": "Suspected industry-related event, 66 km SSE of Grande Prairie, AB",
        "distanceKm": 286
      },
      {
        "id": "ca2026xjhq",
        "time": "2026-11-25T19:12:34.000Z",
        "lat": 54.3211,
        "lng": -118.4632,
        "depthKm": 2.97,
        "mag": 2.51,
        "magType": "MLy",
        "place": "Suspected industry-related event, 64 km NE of Grande Cache, AB",
        "distanceKm": 283
      },
      "… 291 more"
    ],
    "radiusKm": 400,
    "since": "2025-11-30",
    "minMag": 2.5,
    "totalAllMagnitudes": 895
  },
  "meta": {
    "source": "Natural Resources Canada, Earthquakes Canada (FDSN event service)",
    "sourceUrl": "https://www.earthquakescanada.nrcan.gc.ca/",
    "updatedAt": "2026-11-30T20:07:48.852Z",
    "ageSec": 2044,
    "license": "Open Government Licence – Canada (https://open.canada.ca/en/open-government-licence-canada)",
    "attribution": "Earthquakes Canada, Natural Resources Canada, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/earthquakes",
    "next": null,
    "docs": "/developers/reference/hazards/#get-earthquakes"
  }
}
```

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

DriveBC road events within 150 km.

- 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: [DriveBC road events (BC Ministry of Transportation and Transit)](https://www.drivebc.ca/)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `severity` | query | string | Filter by severity (e.g. MAJOR, MINOR). Example: `MAJOR`. |
| `within` | query | number | Only within this many km. Example: `50`. |

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "events": [
      {
        "id": "drivebc.ca/RIDE-101703",
        "headline": "INCIDENT",
        "type": "INCIDENT",
        "subtypes": [
          "HAZARD"
        ],
        "severity": "MAJOR",
        "description": "Bridge closed at Johnston Bridge Loop, In Quesnel and Front St. Closed to all traffic. Detour via Plywood Rd and Maple Drive. Repairs underway. Industrial traffic is not allowed to detour through Johnston Subdivision.",
        "summary": "Bridge closed at Johnston Bridge Loop, in Quesnel and Front St",
        "roads": [],
        "updated": "2026-10-26T10:45:33-07:00",
        "lat": 52.973128006595,
        "lng": -122.48947215725,
        "distanceKm": 106,
        "…": "2 more keys"
      },
      {
        "id": "drivebc.ca/RIDE-106510",
        "headline": "CONSTRUCTION",
        "type": "CONSTRUCTION",
        "subtypes": [
          "ROAD_MAINTENANCE"
        ],
        "severity": "MINOR",
        "description": "Utility work from Highway 16 W, In Prince George and Konrath Rd to In Prince George and Sykes Rd W. Starting 8:00 AM PCT on Friday November 13, 2026 until 4:00 PM PCT on Wednesday December 2, 2026. From 8:00 AM to 4:0…",
        "summary": "Utility work from Highway 16 W, Konrath Rd to Sykes Rd W",
        "roads": [
          "Highway 16"
        ],
        "updated": "2026-11-13T18:04:16-07:00",
        "lat": 53.85623,
        "lng": -122.8212,
        "distanceKm": 8,
        "…": "2 more keys"
      },
      "… 36 more"
    ],
    "radiusKm": 150
  },
  "meta": {
    "source": "DriveBC road events (BC Ministry of Transportation and Transit)",
    "sourceUrl": "https://www.drivebc.ca/",
    "updatedAt": "2026-11-30T20:34:49.962Z",
    "ageSec": 423,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "DriveBC, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/roads",
    "next": null,
    "docs": "/developers/reference/hazards/#get-roads"
  }
}
```

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

Planetary K-index (aurora chances): now, observed and 3-day forecast.

- Cache: 5 min in browsers, 15 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=900, stale-while-revalidate=1800`); live source, also cached on our server
- Source: [NOAA Space Weather Prediction Center, planetary K-index](https://www.spaceweather.gov/products/planetary-k-index)
- Licence: Public domain (US Government work, NOAA SWPC)

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "now": {
      "kp": 0.67,
      "t": "2026-11-30T20:36:00Z"
    },
    "observed": [
      {
        "t": "2026-11-27T18:00:00Z",
        "kp": 1
      },
      {
        "t": "2026-11-27T21:00:00Z",
        "kp": 2.33
      },
      "… 22 more"
    ],
    "forecast": [
      {
        "t": "2026-11-30T18:00:00Z",
        "kp": 1.33
      },
      {
        "t": "2026-11-30T21:00:00Z",
        "kp": 2
      },
      "… 17 more"
    ],
    "maxNext24": 2
  },
  "meta": {
    "source": "NOAA Space Weather Prediction Center, planetary K-index",
    "sourceUrl": "https://www.spaceweather.gov/products/planetary-k-index",
    "updatedAt": "2026-11-30T20:38:49.458Z",
    "ageSec": 183,
    "license": "Public domain (US Government work, NOAA SWPC)",
    "attribution": "NOAA Space Weather Prediction Center, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/aurora",
    "next": null,
    "docs": "/developers/reference/hazards/#get-aurora"
  }
}
```

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

DriveBC highway cameras within 60 km (image links are DriveBC’s own).

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`); live source, also cached on our server
- Source: [DriveBC highway cameras (BC Ministry of Transportation and Transit)](https://www.drivebc.ca/cameras)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)
- Paginated: `limit` (default 50, max 200) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `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/webcams"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": 957,
      "name": "Prince George eastbound",
      "caption": "Highway 97 at Highway 16 junction in Prince George, looking eastbound on Highway 16.",
      "highway": "97",
      "km": 3,
      "image": "https://www.drivebc.ca/images/957.jpg?t=1796070898",
      "updated": "2026-11-30T13:20:38-07:00",
      "stale": false,
      "lat": 53.897331,
      "lng": -122.768097,
      "url": "https://www.drivebc.ca/cameras/957"
    },
    {
      "id": 958,
      "name": "Prince George northbound",
      "caption": "Highway 97 at Highway 16 junction in Prince George, looking northbound on Highway 97.",
      "highway": "97",
      "km": 3,
      "image": "https://www.drivebc.ca/images/958.jpg?t=1796070898",
      "updated": "2026-11-30T13:21:12-07:00",
      "stale": false,
      "lat": 53.897331,
      "lng": -122.768097,
      "url": "https://www.drivebc.ca/cameras/958"
    },
    "… 15 more"
  ],
  "meta": {
    "source": "DriveBC highway cameras (BC Ministry of Transportation and Transit)",
    "sourceUrl": "https://www.drivebc.ca/cameras",
    "updatedAt": "2026-11-30T20:40:49.324Z",
    "ageSec": 63,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "DriveBC, via PG Pulse (princegeorgepulse.ca)",
    "total": 17,
    "count": 17,
    "limit": 50,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/webcams",
    "next": null,
    "docs": "/developers/reference/hazards/#get-webcams"
  }
}
```

## GET /api/v1/wildfire/history {#get-wildfire-history}

Recorded wildfire counts and area burned in the Prince George Fire Centre.

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [PG Pulse live history: readings recorded from Open-Meteo, ECCC, Water Survey of Canada, BC Hydro, BC Wildfire Service, DriveBC, NOAA SWPC and NOAA AWC on every refresh](https://princegeorgepulse.ca/dashboard/)
- Licence: Mixed: see each item’s source

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `series` | query | string | Only some of: fire.active, fire.season_total, fire.season_ha, fire.evacuations. |
| `from` | query | string | Start: ISO date/datetime, or a span back from `to` such as 48h, 7d or 30d (default 7d). Example: `7d`. |
| `to` | query | string | End: ISO date/datetime (default now). |
| `interval` | query | string | `raw` (every recorded reading; kept 90 days), `hour` or `day` (hourly rollups, kept indefinitely), or `auto` (raw up to 3 days, hourly up to 120 days, then daily). One of: `auto`, `raw`, `hour`, `day`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/wildfire/history?from=48h"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "series": "fire.active",
      "label": "Active wildfires, Prince George Fire Centre",
      "unit": "fires",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T20:45:00.000Z",
          "value": 2
        },
        {
          "t": "2026-11-28T21:10:00.000Z",
          "value": 2
        },
        "… 114 more"
      ]
    },
    {
      "series": "fire.season_total",
      "label": "Wildfires this season, Prince George Fire Centre",
      "unit": "fires",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T20:45:00.000Z",
          "value": 169
        },
        {
          "t": "2026-11-28T21:10:00.000Z",
          "value": 169
        },
        "… 114 more"
      ]
    },
    "… 2 more"
  ],
  "meta": {
    "source": "BC Wildfire Service (active fires, danger rating, bans and prohibitions); Emergency Management and Climate Readiness (evacuation orders and alerts)",
    "sourceUrl": "https://wildfiresituation.nrs.gov.bc.ca/map",
    "updatedAt": "2026-11-30T20:30:00.000Z",
    "ageSec": 713,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "The upstream named in each series (`meta.series.source`), via PG Pulse (princegeorgepulse.ca)",
    "from": "2026-11-28T20:41:52.000Z",
    "to": "2026-11-30T20:41:52.000Z",
    "interval": "raw",
    "series": [
      {
        "id": "fire.active",
        "source": "BC Wildfire Service (active fires, danger rating, bans and prohibitions); Emergency Management and Climate Readiness (evacuation orders and alerts)"
      },
      {
        "id": "fire.season_total",
        "source": "BC Wildfire Service (active fires, danger rating, bans and prohibitions); Emergency Management and Climate Readiness (evacuation orders and alerts)"
      },
      "… 2 more"
    ],
    "total": 4,
    "count": 4
  },
  "links": {
    "self": "/api/v1/wildfire/history?from=48h",
    "next": null,
    "docs": "/developers/reference/hazards/#get-wildfire-history"
  }
}
```

## GET /api/v1/roads/history {#get-roads-history}

Recorded DriveBC event counts within 150 km.

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [PG Pulse live history: readings recorded from Open-Meteo, ECCC, Water Survey of Canada, BC Hydro, BC Wildfire Service, DriveBC, NOAA SWPC and NOAA AWC on every refresh](https://princegeorgepulse.ca/dashboard/)
- Licence: Mixed: see each item’s source

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `series` | query | string | Only some of: roads.events, roads.major. |
| `from` | query | string | Start: ISO date/datetime, or a span back from `to` such as 48h, 7d or 30d (default 7d). Example: `7d`. |
| `to` | query | string | End: ISO date/datetime (default now). |
| `interval` | query | string | `raw` (every recorded reading; kept 90 days), `hour` or `day` (hourly rollups, kept indefinitely), or `auto` (raw up to 3 days, hourly up to 120 days, then daily). One of: `auto`, `raw`, `hour`, `day`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/roads/history?from=48h"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "series": "roads.events",
      "label": "DriveBC events within 150 km",
      "unit": "events",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T20:50:00.000Z",
          "value": 36
        },
        {
          "t": "2026-11-28T20:55:00.000Z",
          "value": 36
        },
        "… 319 more"
      ]
    },
    {
      "series": "roads.major",
      "label": "Major DriveBC events within 150 km",
      "unit": "events",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T20:50:00.000Z",
          "value": 1
        },
        {
          "t": "2026-11-28T20:55:00.000Z",
          "value": 1
        },
        "… 319 more"
      ]
    }
  ],
  "meta": {
    "source": "DriveBC road events (BC Ministry of Transportation and Transit)",
    "sourceUrl": "https://www.drivebc.ca/",
    "updatedAt": "2026-11-30T20:30:00.000Z",
    "ageSec": 713,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "The upstream named in each series (`meta.series.source`), via PG Pulse (princegeorgepulse.ca)",
    "from": "2026-11-28T20:41:52.000Z",
    "to": "2026-11-30T20:41:52.000Z",
    "interval": "raw",
    "series": [
      {
        "id": "roads.events",
        "source": "DriveBC road events (BC Ministry of Transportation and Transit)"
      },
      {
        "id": "roads.major",
        "source": "DriveBC road events (BC Ministry of Transportation and Transit)"
      }
    ],
    "total": 2,
    "count": 2
  },
  "links": {
    "self": "/api/v1/roads/history?from=48h",
    "next": null,
    "docs": "/developers/reference/hazards/#get-roads-history"
  }
}
```

## GET /api/v1/aurora/history {#get-aurora-history}

Recorded planetary K-index.

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [PG Pulse live history: readings recorded from Open-Meteo, ECCC, Water Survey of Canada, BC Hydro, BC Wildfire Service, DriveBC, NOAA SWPC and NOAA AWC on every refresh](https://princegeorgepulse.ca/dashboard/)
- Licence: Mixed: see each item’s source

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `series` | query | string | Only some of: kp.observed, kp.estimated. |
| `from` | query | string | Start: ISO date/datetime, or a span back from `to` such as 48h, 7d or 30d (default 7d). Example: `7d`. |
| `to` | query | string | End: ISO date/datetime (default now). |
| `interval` | query | string | `raw` (every recorded reading; kept 90 days), `hour` or `day` (hourly rollups, kept indefinitely), or `auto` (raw up to 3 days, hourly up to 120 days, then daily). One of: `auto`, `raw`, `hour`, `day`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/aurora/history?from=48h"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "series": "kp.observed",
      "label": "Planetary K-index (3-hour, observed)",
      "unit": "Kp",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T21:00:00.000Z",
          "value": 3.33
        },
        {
          "t": "2026-11-29T00:00:00.000Z",
          "value": 3
        },
        "… 13 more"
      ]
    },
    {
      "series": "kp.estimated",
      "label": "Planetary K-index (1-minute estimate)",
      "unit": "Kp",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T20:52:00.000Z",
          "value": 4.67
        },
        {
          "t": "2026-11-28T21:02:00.000Z",
          "value": 0
        },
        "… 222 more"
      ]
    }
  ],
  "meta": {
    "source": "NOAA Space Weather Prediction Center, planetary K-index",
    "sourceUrl": "https://www.spaceweather.gov/products/planetary-k-index",
    "updatedAt": "2026-11-30T20:36:00.000Z",
    "ageSec": 353,
    "license": "Public domain (US Government work, NOAA SWPC)",
    "attribution": "The upstream named in each series (`meta.series.source`), via PG Pulse (princegeorgepulse.ca)",
    "from": "2026-11-28T20:41:52.000Z",
    "to": "2026-11-30T20:41:52.000Z",
    "interval": "raw",
    "series": [
      {
        "id": "kp.observed",
        "source": "NOAA Space Weather Prediction Center, planetary K-index"
      },
      {
        "id": "kp.estimated",
        "source": "NOAA Space Weather Prediction Center, planetary K-index"
      }
    ],
    "total": 2,
    "count": 2
  },
  "links": {
    "self": "/api/v1/aurora/history?from=48h",
    "next": null,
    "docs": "/developers/reference/hazards/#get-aurora-history"
  }
}
```

## GET /api/v1/wildfire/seasons {#get-wildfire-seasons}

Every wildfire season in the fire centre since 1950: fires, area burned, causes.

`seasons[]`: `{ year, fires, hectares, lightning, person, unknown, largestHa }`. Real fires only (nuisance fires, smoke reports and duplicates left out). The current season (`currentSeason`) comes from the BC Wildfire Service current-year layer and still changes.

- Cache: 5 min in browsers, 6 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=21600, stale-while-revalidate=43200`)
- Source: [BC Wildfire Service, fire incident locations (historical and current)](https://catalogue.data.gov.bc.ca/dataset/bc-wildfire-fire-incident-locations-historical)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/wildfire/seasons"
```

**Example response** (trimmed)

```json
{
  "data": {
    "source": "BC Wildfire Service, fire incident locations, historical and current season (BC Geographic Warehouse)",
    "sourceUrl": "https://catalogue.data.gov.bc.ca/dataset/bc-wildfire-fire-incident-locations-historical",
    "currentUrl": "https://catalogue.data.gov.bc.ca/dataset/bc-wildfire-fire-locations-current",
    "asOf": "2026",
    "fireCentre": "Prince George Fire Centre",
    "historicalAt": "2026-11-10T06:30:07.869Z",
    "currentSeason": 2026,
    "notes": "Every wildfire the BC Wildfire Service recorded in the fire centre, by season: the number of fires, the area burned (each fire’s final size in hectares) and the cause. Nuisance fires, smoke reports and duplicates are …",
    "historical": [
      {
        "year": 1950,
        "fires": 150,
        "hectares": 325591,
        "lightning": 39,
        "person": 81,
        "unknown": 30,
        "largestHa": 99767
      },
      {
        "year": 1951,
        "fires": 141,
        "hectares": 1424,
        "lightning": 37,
        "person": 77,
        "unknown": 27,
        "largestHa": 283
      },
      "… 74 more"
    ],
    "seasons": [
      {
        "year": 1950,
        "fires": 150,
        "hectares": 325591,
        "lightning": 39,
        "person": 81,
        "unknown": 30,
        "largestHa": 99767
      },
      {
        "year": 1951,
        "fires": 141,
        "hectares": 1424,
        "lightning": 37,
        "person": 77,
        "unknown": 27,
        "largestHa": 283
      },
      "… 75 more"
    ]
  },
  "meta": {
    "source": "BC Wildfire Service, fire incident locations, historical and current season (BC Geographic Warehouse)",
    "sourceUrl": "https://catalogue.data.gov.bc.ca/dataset/bc-wildfire-fire-incident-locations-historical",
    "updatedAt": "2026-11-23T13:20:46.402Z",
    "ageSec": 631266,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
    "attribution": "BC Wildfire Service, via PG Pulse (princegeorgepulse.ca)",
    "dataset": "wildfire-history",
    "kind": "fetched",
    "asOf": "2026",
    "checkedAt": "2026-11-30T13:20:31.039Z"
  },
  "links": {
    "self": "/api/v1/wildfire/seasons",
    "next": null,
    "docs": "/developers/reference/hazards/#get-wildfire-seasons"
  }
}
```

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

Highway corridors out of Prince George: DriveBC events in effect on each, by kind.

One entry per corridor the site follows (a highway on one side of the city, inside a bounding box). `counts` are DriveBC events in effect now: closures, major events, incidents, roadwork and road conditions; `upcoming` are planned events not started yet. `null` counts: DriveBC could not be read. Details per corridor: `/highways/{id}`.

- 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: [DriveBC road events, highway cameras and road weather stations (BC Ministry of Transportation and Transit); high elevation forecasts by Environment and Climate Change Canada](https://www.drivebc.ca/)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc); forecasts: Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "16-west",
      "name": "Highway 16 west",
      "highway": "16",
      "alias": "Yellowhead Highway",
      "to": "Vanderhoof, Burns Lake, Smithers, Terrace and Prince Rupert",
      "bbox": "-130.7,53.7,-122.75,55.4",
      "page": "https://princegeorgepulse.ca/highways/16-west/",
      "counts": {
        "closures": 0,
        "major": 0,
        "incidents": 0,
        "construction": 4,
        "conditions": 11,
        "upcoming": 0,
        "total": 15
      },
      "fetchedAt": "2026-11-30T20:34:49.968Z",
      "stale": false
    },
    {
      "id": "16-east",
      "name": "Highway 16 east",
      "highway": "16",
      "alias": "Yellowhead Highway",
      "to": "McBride, Tête Jaune Cache and Jasper",
      "bbox": "-122.75,52.75,-118.4,54",
      "page": "https://princegeorgepulse.ca/highways/16-east/",
      "counts": {
        "closures": 0,
        "major": 0,
        "incidents": 0,
        "construction": 3,
        "conditions": 8,
        "upcoming": 1,
        "total": 12
      },
      "fetchedAt": "2026-11-30T20:34:49.968Z",
      "stale": false
    },
    "… 5 more"
  ],
  "meta": {
    "source": "DriveBC road events, highway cameras and road weather stations (BC Ministry of Transportation and Transit); high elevation forecasts by Environment and Climate Change Canada",
    "sourceUrl": "https://www.drivebc.ca/",
    "updatedAt": "2026-11-30T20:34:49.968Z",
    "ageSec": 423,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc); forecasts: Environment and Climate Change Canada Data Servers E…",
    "attribution": "DriveBC, BC Ministry of Transportation and Transit; Environment and Climate Change Canada, via PG Pulse (princegeorgepulse.ca)",
    "total": 7,
    "count": 7
  },
  "links": {
    "self": "/api/v1/highways",
    "next": null,
    "docs": "/developers/reference/hazards/#get-highways"
  }
}
```

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

One highway corridor: DriveBC events, cameras, road weather stations and mountain pass forecasts.

Events (closures first, then major, then by distance from the city centre; `upcoming` events have not started), camera sites on that highway (one entry per site, its views with image URLs on drivebc.ca), road weather stations on that highway (air and road temperature, pavement) and Environment Canada high elevation forecasts inside the corridor. A part is `null` when its source has nothing cached and does not answer.

- 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: [DriveBC road events, highway cameras and road weather stations (BC Ministry of Transportation and Transit); high elevation forecasts by Environment and Climate Change Canada](https://www.drivebc.ca/)
- Licence: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc); forecasts: Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` | path | string | Corridor id (from /highways). Required. Example: `16-west`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/highways/16-west"
```

**Example response** (trimmed)

```json
{
  "data": {
    "id": "16-west",
    "name": "Highway 16 west",
    "highway": "16",
    "alias": "Yellowhead Highway",
    "to": "Vanderhoof, Burns Lake, Smithers, Terrace and Prince Rupert",
    "bbox": "-130.7,53.7,-122.75,55.4",
    "page": "https://princegeorgepulse.ca/highways/16-west/",
    "counts": {
      "closures": 0,
      "major": 0,
      "incidents": 0,
      "construction": 4,
      "conditions": 11,
      "upcoming": 0,
      "total": 15
    },
    "events": [
      {
        "id": "drivebc.ca/RIDE-106510",
        "kind": "construction",
        "type": "CONSTRUCTION",
        "subtypes": [
          "ROAD_MAINTENANCE"
        ],
        "severity": "MINOR",
        "headline": "CONSTRUCTION",
        "summary": "Utility work from Highway 16 W, Konrath Rd to Sykes Rd W",
        "description": "Utility work from Highway 16 W, In Prince George and Konrath Rd to In Prince George and Sykes Rd W. Starting 8:00 AM PCT on Friday November 13, 2026 until 4:00 PM PCT on Wednesday December 2, 2026. From 8:00 AM to 4:0…",
        "roads": [
          "{…}"
        ],
        "closed": false,
        "updated": "2026-11-13T18:04:16-07:00",
        "created": "2026-11-13T18:04:16-07:00",
        "…": "5 more keys"
      },
      {
        "id": "drivebc.ca/RIDE-108577",
        "kind": "conditions",
        "type": "ROAD_CONDITION",
        "subtypes": [
          "HAZARD"
        ],
        "severity": "MINOR",
        "headline": "ROAD_CONDITION",
        "summary": "Slippery sections on Highway 16, between Ferry Avenue (Prince George) and Bowron River Rest Area (Purden Lake)",
        "description": "Slippery sections on Highway 16, between Ferry Avenue (Prince George) and Bowron River Rest Area (Purden Lake).",
        "roads": [
          "{…}"
        ],
        "closed": false,
        "updated": "2026-11-30T11:33:55-07:00",
        "created": "2026-11-29T20:59:33-07:00",
        "…": "5 more keys"
      },
      "… 13 more"
    ],
    "cameras": [
      {
        "group": 99,
        "name": "Peden Hill at Vance Road",
        "km": 4,
        "lat": 53.8808054,
        "lng": -122.7705025,
        "views": [
          "{…}"
        ]
      },
      {
        "group": 98,
        "name": "Peden Hill at Davis Road",
        "km": 5,
        "lat": 53.8741195,
        "lng": -122.7785055,
        "views": [
          "{…}"
        ]
      },
      "… 26 more"
    ],
    "roadWeather": [
      {
        "id": 478967,
        "name": "Jutland Road",
        "location": "North side of Hwy 16 at Jutland Road",
        "lat": 53.8252,
        "lng": -122.86621,
        "elevationM": 758,
        "airC": -3,
        "roadC": -1,
        "pavement": "Moist",
        "snowCm": null,
        "precipMm": null,
        "wind": null,
        "…": "2 more keys"
      },
      {
        "id": 478965,
        "name": "Tamarack",
        "location": "Hwy 16, N side, approx 30 kms W of Prince George",
        "lat": 53.83139,
        "lng": -123.13222,
        "elevationM": 715,
        "airC": -2,
        "roadC": -1,
        "pavement": "Moist",
        "snowCm": 0,
        "precipMm": 0,
        "wind": "NW 6 km/h",
        "…": "2 more keys"
      },
      "… 9 more"
    ],
    "passes": []
  },
  "meta": {
    "source": "DriveBC road events, highway cameras and road weather stations (BC Ministry of Transportation and Transit); high elevation forecasts by Environment and Climate Change Canada",
    "sourceUrl": "https://www.drivebc.ca/",
    "updatedAt": "2026-11-30T20:34:49.968Z",
    "ageSec": 423,
    "license": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc); forecasts: Environment and Climate Change Canada Data Servers E…",
    "attribution": "DriveBC, BC Ministry of Transportation and Transit; Environment and Climate Change Canada, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/highways/16-west",
    "next": null,
    "docs": "/developers/reference/hazards/#get-highways-id"
  }
}
```

## GET /api/v1/northern-lights {#get-northern-lights}

Northern lights tonight in Prince George: verdict, Kp outlook for three nights, aurora nowcast, solar wind, cloud cover, darkness and moon, places to watch.

The verdict is derived from three inputs only: the highest NOAA forecast Kp in the 3-hour blocks overlapping the dark hours, the average forecast cloud cover (Open-Meteo model) over those hours, and whether it gets at least nautically dark; it is not a probability. `thresholds` are the Kp levels the site uses for this latitude (faint low on the horizon, usually visible to the north, possibly overhead). `now.ovation.here` is NOAA OVATION's probability (%) of visible aurora overhead at the city's grid cell for the next 30 to 90 minutes and `now.ovation.north` the highest value up to 4° north. Darkness (astronomical dusk to dawn, nautical when the sun never sinks 18° below the horizon) and the moon are computed. A part is `null` when its source has nothing cached and does not answer. `spots`: public places away from city lights from the outdoors dataset, each with its own source and licence.

- 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: [NOAA Space Weather Prediction Center, planetary K-index; NOAA Space Weather Prediction Center, OVATION aurora forecast; NOAA Space Weather Prediction Center, real-time solar wind; Open-Meteo forecast API (hourly cloud cover, model data); Environment and Climate Change Canada text forecast; places from BC Parks, Recreation Sites and Trails BC and the BC Freshwater Atlas](https://www.spaceweather.gov/products/planetary-k-index)
- Licence: Public domain (US Government work, NOAA SWPC); cloud cover: CC BY 4.0, Open-Meteo.com (https://open-meteo.com/en/licence); forecast text: Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/); places: Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc); drive times: ODbL 1.0, © OpenStreetMap contributors (https://www.openstreetmap.org/copyright); darkness and moon computed

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/northern-lights"
```

**Example response** (trimmed)

```json
{
  "data": {
    "verdict": {
      "level": "unlikely",
      "activity": "quiet",
      "sky": "cloudy",
      "headline": "Unlikely tonight",
      "detail": "Geomagnetic activity is forecast to stay quiet (below Kp 3). Clouds are forecast too.",
      "moonNote": "A bright moon is up for most of the night, which washes out fainter displays."
    },
    "isDark": false,
    "thresholds": {
      "kpFaint": 3,
      "kpVisible": 4,
      "kpOverhead": 6
    },
    "nights": [
      {
        "date": "2026-11-30",
        "label": "Tonight",
        "dark": {
          "from": "2026-12-01T02:03:42.431Z",
          "to": "2026-12-01T13:56:38.285Z",
          "kind": "astronomical"
        },
        "sunset": "2026-11-30T23:54:09.400Z",
        "sunrise": "2026-12-01T16:06:32.751Z",
        "kpMax": 1.67,
        "storm": null,
        "kpBlocks": [
          "{…}",
          "{…}",
          "… 3 more"
        ],
        "cloudCoverAvg": 98,
        "clearestHour": {
          "t": "2026-12-01T13:00:00.000Z",
          "cover": 81
        },
        "moon": {
          "illumination": 0.5,
          "phase": "Last quarter",
          "upMinutes": 370,
          "darkMinutes": 713,
          "rise": "2026-12-01T07:43:42.431Z",
          "set": null,
          "upAtDusk": false,
          "bright": true
        }
      },
      {
        "date": "2026-12-01",
        "label": "Tuesday night",
        "dark": {
          "from": "2026-12-02T02:03:14.945Z",
          "to": "2026-12-02T13:57:50.333Z",
          "kind": "astronomical"
        },
        "sunset": "2026-12-01T23:53:23.601Z",
        "sunrise": "2026-12-02T16:08:02.394Z",
        "kpMax": 1.67,
        "storm": null,
        "kpBlocks": [
          "{…}",
          "{…}",
          "… 3 more"
        ],
        "cloudCoverAvg": 92,
        "clearestHour": {
          "t": "2026-12-02T02:00:00.000Z",
          "cover": 58
        },
        "moon": {
          "illumination": 0.39,
          "phase": "Waning crescent",
          "upMinutes": 290,
          "darkMinutes": 715,
          "rise": "2026-12-02T09:03:14.945Z",
          "set": null,
          "upAtDusk": false,
          "bright": false
        }
      },
      "… 1 more"
    ],
    "now": {
      "kp": 0.67,
      "kpAt": "2026-11-30T20:36:00Z",
      "ovation": {
        "observedAt": "2026-11-30T20:33:00.000Z",
        "forecastAt": "2026-11-30T21:46:00.000Z",
        "here": 0,
        "north": {
          "value": 0,
          "lat": 55
        },
        "grid": {
          "lat": 54,
          "lng": -123
        }
      },
      "ovationAt": "2026-11-30T20:41:52.733Z",
      "wind": {
        "speedKms": 345,
        "btNt": 4,
        "bzNt": 0,
        "t": "2026-11-30T20:38:00.000Z"
      }
    },
    "recent": {
      "blocks": [
        {
          "t": "2026-11-29T18:00:00Z",
          "kp": 1.33
        },
        {
          "t": "2026-11-29T21:00:00Z",
          "kp": 1.67
        },
        "… 6 more"
      ],
      "max": 2
    },
    "forecastText": {
      "name": "Tonight",
      "summary": "Snow. Amount 5 to 10 cm. Wind becoming south 20 km/h near midnight. Low minus 4. Wind chill minus 4 this evening and minus 10 overnight.",
      "issued": "2026-11-30T18:00:00Z"
    },
    "spots": [
      {
        "name": "West Lake Park",
        "kind": "Provincial park",
        "km": 21,
        "drive": "32 min",
        "page": "https://princegeorgepulse.ca/outdoors/west-lake-park/",
        "directions": "https://www.google.com/maps/dir/?api=1&destination=53.73642,-122.86078",
        "source": "BC Parks Data API",
        "sourceUrl": "https://bcparks.ca/west-lake-park/",
        "licence": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
        "winter": true
      },
      {
        "name": "Buckhorn Lake",
        "kind": "Recreation site",
        "km": 24,
        "drive": "43 min",
        "page": "https://princegeorgepulse.ca/outdoors/buckhorn-lake/",
        "directions": "https://www.google.com/maps/dir/?api=1&destination=53.75451,-122.50766",
        "source": "Recreation Sites and Trails BC (BC Data Catalogue)",
        "sourceUrl": "https://www.sitesandtrailsbc.ca/resource/REC1020",
        "licence": "Open Government Licence – British Columbia (https://www2.gov.bc.ca/gov/content/data/policy-standards/data-policies/open-data/open-government-licence-bc)",
        "winter": false
      },
      "… 5 more"
    ],
    "page": "https://princegeorgepulse.ca/northern-lights/"
  },
  "meta": {
    "source": "NOAA Space Weather Prediction Center, planetary K-index; NOAA Space Weather Prediction Center, OVATION aurora forecast; NOAA Space Weather Prediction Center, real-time solar wind; Open-Meteo forecast API (hourly cloud…",
    "sourceUrl": "https://www.spaceweather.gov/products/planetary-k-index",
    "updatedAt": "2026-11-30T20:38:49.458Z",
    "ageSec": 183,
    "license": "Public domain (US Government work, NOAA SWPC); cloud cover: CC BY 4.0, Open-Meteo.com (https://open-meteo.com/en/licence); forecast text: Environment and Climate Change Canada Data Servers End-use Licence (https://ecc…",
    "attribution": "NOAA Space Weather Prediction Center; Open-Meteo.com; Environment and Climate Change Canada; BC Parks and Recreation Sites and Trails BC, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/northern-lights",
    "next": null,
    "docs": "/developers/reference/hazards/#get-northern-lights"
  }
}
```
