Local knowledge for your AI tools
Connect Cursor, VS Code, Codex or Claude Code. Free MCP access, no key needed.
Air & water: API reference
9 endpoints. Base URL https://princegeorgepulse.ca/api/v1. Conventions (envelope, paging, fields, formats, limits) are on the overview. All endpoints.
GET /api/v1/air #
Air quality: AQHI now/history/forecast, PM2.5 model, monitoring stations.
Station readings in µg/m³ (ppb for gases). stations[].pm25Avg24h is the 24-hour PM2.5 average; pm25_24 is the same value under its original name, kept for existing clients.
- 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: Environment and Climate Change Canada AQHI (Prince George); Open-Meteo air quality model; BC Ministry of Environment air monitoring stations
- Licence: Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/); CC BY 4.0, Open-Meteo.com (https://open-meteo.com/en/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
curl "https://princegeorgepulse.ca/api/v1/air"Example response (trimmed)
{
"data": {
"aqhi": {
"value": 1.2,
"observedAt": "2026-11-30T15:00:00Z",
"history": [
{
"t": "2026-11-28T16:00:00Z",
"v": 2.06
},
{
"t": "2026-11-28T17:00:00Z",
"v": 2.23
},
"… 46 more"
],
"forecast": [
{
"t": "2026-11-30T15:00:00Z",
"v": 1
},
{
"t": "2026-11-30T16:00:00Z",
"v": 1
},
"… 33 more"
]
},
"model": {
"usAqi": 55,
"pm25": 0.8,
"pm10": 0.8,
"o3": 67,
"no2": 2.3,
"time": "2026-11-30T08:00:00-07:00"
},
"pm25": {
"time": [
"2026-10-30T00:00:00-07:00",
"2026-10-30T01:00:00-07:00",
"… 838 more"
],
"value": [
14.2,
14.1,
"… 838 more"
],
"forecastFrom": "2026-11-30T08:00:00-07:00"
},
"daily": [
{
"date": "2026-10-30",
"pm25": 8.2,
"maxAqi": 52
},
{
"date": "2026-10-31",
"pm25": 6.3,
"maxAqi": 46
},
"… 33 more"
],
"stations": [
{
"name": "Exploration Place",
"lat": 53.905139,
"lng": -122.734049,
"pm25": null,
"pm25_24": null,
"pm10": null,
"o3": null,
"no2": null,
"so2": null,
"trs": 6.5,
"windKmh": 5.4,
"updated": "2026-11-30T15:00:00.000Z",
"…": "2 more keys"
},
{
"name": "Glenview School",
"lat": 53.996,
"lng": -122.776,
"pm25": null,
"pm25_24": null,
"pm10": null,
"o3": null,
"no2": null,
"so2": null,
"trs": null,
"windKmh": 8.2,
"updated": "2026-11-30T15:00:00.000Z",
"…": "2 more keys"
},
"… 4 more"
]
},
"meta": {
"source": "Environment and Climate Change Canada AQHI (Prince George); Open-Meteo air quality model; BC Ministry of Environment air monitoring stations",
"sourceUrl": "https://weather.gc.ca/airquality/pages/bcaq-009_e.html",
"updatedAt": "2026-11-30T15:26:13.543Z",
"ageSec": 1111,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/); CC BY 4.0, Open-Meteo.com (https://open-meteo.com/en/licence); Open Government Licence – Br…",
"attribution": "Environment and Climate Change Canada, Open-Meteo.com and BC Ministry of Environment, via PG Pulse (princegeorgepulse.ca)"
},
"links": {
"self": "/api/v1/air",
"next": null,
"docs": "/developers/reference/air-and-water/#get-air"
}
}GET /api/v1/rivers #
Fraser and Nechako river gauges: latest level/flow, 24h change, hourly series.
Each gauge with its latest reading and the hourly series of the last hours hours (default 72; hourly=false leaves the series out). The full recorded history is in /rivers/{id}/history.
- 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: Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)
- Licence: Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)
| Parameter | In | Type | Description |
|---|---|---|---|
hourly | query | boolean | Include the hourly series (default true). |
hours | query | integer | Hours of the hourly series to include, 1 to 2160 (default 72). Example: 24. |
Also accepts fields (sparse fieldset) and format (json, md).
Example request
curl "https://princegeorgepulse.ca/api/v1/rivers?hours=24"Example response (trimmed)
{
"data": [
{
"id": "08KE018",
"name": "Fraser River at South Fort George",
"short": "Fraser (in town)",
"river": "Fraser",
"lat": 53.90078,
"lng": -122.73494,
"primary": "level",
"latest": {
"t": "2026-11-30T15:00:00Z",
"level": 3.86,
"discharge": null
},
"change24h": {
"level": -0.094,
"discharge": null
},
"direction": {
"level": "falling",
"discharge": null
},
"hourly": [
{
"t": "2026-11-29T16:00:00Z",
"level": 3.949,
"discharge": null
},
{
"t": "2026-11-29T17:00:00Z",
"level": 3.946,
"discharge": null
},
"… 22 more"
]
},
{
"id": "08KB001",
"name": "Fraser River at Shelley",
"short": "Fraser at Shelley",
"river": "Fraser",
"lat": 54.00367,
"lng": -122.62475,
"primary": "discharge",
"latest": {
"t": "2026-11-30T15:05:00Z",
"level": 1.605,
"discharge": 355
},
"change24h": {
"level": -0.1,
"discharge": -30
},
"direction": {
"level": "falling",
"discharge": "falling"
},
"hourly": [
{
"t": "2026-11-29T16:00:00Z",
"level": 1.699,
"discharge": 383.5
},
{
"t": "2026-11-29T17:00:00Z",
"level": 1.695,
"discharge": 382.1
},
"… 22 more"
]
},
"… 6 more"
],
"meta": {
"source": "Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)",
"sourceUrl": "https://wateroffice.ec.gc.ca/search/real_time_e.html",
"updatedAt": "2026-11-30T15:41:14.314Z",
"ageSec": 210,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)",
"attribution": "Water Survey of Canada (provisional data), via PG Pulse (princegeorgepulse.ca)",
"total": 8,
"count": 8
},
"links": {
"self": "/api/v1/rivers?hours=24",
"next": null,
"docs": "/developers/reference/air-and-water/#get-rivers"
}
}GET /api/v1/rivers/stations #
Gauge stations used by PG Pulse.
- Cache: 5 min in browsers, 24 h in shared caches (
Cache-Control: public, max-age=300, s-maxage=86400, stale-while-revalidate=172800) - Source: Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)
- Licence: 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
curl "https://princegeorgepulse.ca/api/v1/rivers/stations"Example response (trimmed)
{
"data": [
{
"id": "08KE018",
"name": "Fraser River at South Fort George",
"short": "Fraser (in town)",
"river": "Fraser",
"lat": 53.90078,
"lng": -122.73494,
"primary": "level"
},
{
"id": "08KB001",
"name": "Fraser River at Shelley",
"short": "Fraser at Shelley",
"river": "Fraser",
"lat": 54.00367,
"lng": -122.62475,
"primary": "discharge"
},
"… 6 more"
],
"meta": {
"source": "Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)",
"sourceUrl": "https://wateroffice.ec.gc.ca/search/real_time_e.html",
"updatedAt": "2026-11-30T15:43:14.369Z",
"updatedAtBasis": "build",
"ageSec": 90,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)",
"attribution": "Water Survey of Canada (provisional data), via PG Pulse (princegeorgepulse.ca)",
"total": 8,
"count": 8
},
"links": {
"self": "/api/v1/rivers/stations",
"next": null,
"docs": "/developers/reference/air-and-water/#get-rivers-stations"
}
}GET /api/v1/rivers/history #
Historical daily statistics and records for each gauge.
- Cache: 5 min in browsers, 24 h in shared caches (
Cache-Control: public, max-age=300, s-maxage=86400, stale-while-revalidate=172800) - Source: Environment and Climate Change Canada, Water Survey of Canada, HYDAT daily means
- Licence: 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
curl "https://princegeorgepulse.ca/api/v1/rivers/history"Example response (trimmed)
{
"data": {
"source": "Environment and Climate Change Canada, Water Survey of Canada, HYDAT daily means (hydrometric-daily-mean)",
"sourceUrl": "https://api.weather.gc.ca/collections/hydrometric-daily-mean",
"pageUrl": "https://wateroffice.ec.gc.ca/",
"asOf": "2025-11-06",
"notes": "dailyStats has 366 entries (day of year, leap-year indexed) of [min, 25th percentile, median, 75th percentile, max] of approved daily means across all years of record. Approved data lag real-time by up to a year.",
"stations": {
"08KB001": {
"name": "Fraser River at Shelley",
"measure": "discharge",
"unit": "m³/s",
"description": "Fraser upstream of the Nechako confluence, about 12 km northeast of downtown",
"firstYear": 1950,
"lastDate": "2025-10-01",
"yearsOfRecord": 76,
"recordHigh": {
"date": "1972-06-14",
"value": 4980
},
"recordLow": {
"date": "2024-01-13",
"value": 59.6
},
"dailyStats": [
[
114,
168.5,
"… 3 more"
],
[
113,
165.5,
"… 3 more"
],
"… 364 more"
],
"latestYear": {
"year": 2025,
"series": [
"{…}",
"{…}",
"… 266 more"
]
},
"annualPeaks": [
"{…}",
"{…}",
"… 72 more"
]
},
"08JC002": {
"name": "Nechako River at Isle Pierre",
"measure": "discharge",
"unit": "m³/s",
"description": "Nechako about 40 km west of the city, above the confluence",
"firstYear": 1950,
"lastDate": "2024-12-31",
"yearsOfRecord": 75,
"recordHigh": {
"date": "2007-06-30",
"value": 1170
},
"recordLow": {
"date": "1953-04-15",
"value": 40.8
},
"dailyStats": [
[
50.4,
97.6,
"… 3 more"
],
[
51.5,
98.125,
"… 3 more"
],
"… 364 more"
],
"latestYear": {
"year": 2024,
"series": [
"{…}",
"{…}",
"… 364 more"
]
},
"annualPeaks": [
"{…}",
"{…}",
"… 72 more"
]
},
"08KE018": {
"name": "Fraser River at South Fort George",
"measure": "level",
"unit": "m",
"description": "Fraser in the city, just below the Nechako confluence (water level only)",
"firstYear": 1968,
"lastDate": "2025-11-06",
"yearsOfRecord": 58,
"recordHigh": {
"date": "1972-06-15",
"value": 10.354
},
"recordLow": {
"date": "1980-12-03",
"value": 2.769
},
"dailyStats": [
[
3.241,
3.483,
"… 3 more"
],
[
3.217,
3.536,
"… 3 more"
],
"… 364 more"
],
"latestYear": {
"year": 2025,
"series": [
"{…}",
"{…}",
"… 308 more"
]
},
"annualPeaks": [
"{…}",
"{…}",
"… 55 more"
]
}
}
},
"meta": {
"source": "Environment and Climate Change Canada, Water Survey of Canada, HYDAT daily means (hydrometric-daily-mean)",
"sourceUrl": "https://api.weather.gc.ca/collections/hydrometric-daily-mean",
"updatedAt": "2026-10-01T04:27:44.873Z",
"ageSec": 5224620,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)",
"attribution": "Water Survey of Canada (HYDAT), via PG Pulse (princegeorgepulse.ca)",
"dataset": "river-history",
"asOf": "2025-11-06"
},
"links": {
"self": "/api/v1/rivers/history",
"next": null,
"docs": "/developers/reference/air-and-water/#get-rivers-history"
}
}GET /api/v1/water-quality #
City drinking water: wells, quality summary and monthly production.
- Cache: 5 min in browsers, 24 h in shared caches (
Cache-Control: public, max-age=300, s-maxage=86400, stale-while-revalidate=172800) - Source: City of Prince George, Annual Water System Report
- Licence: Open Government Licence – City of Prince George (https://pgmapinfo.princegeorge.ca/OpenData/CityofPrinceGeorge_Open_Government_License_Open_Data.pdf)
Also accepts fields (sparse fieldset) and format (json, md).
Example request
curl "https://princegeorgepulse.ca/api/v1/water-quality"Example response (trimmed)
{
"data": {
"source": "City of Prince George, 2025 Annual Water System Report (released October 2026)",
"sourceUrl": "https://www.princegeorge.ca/sites/default/files/2026-10/2025%20CPG%20Water%20Distribution%20System%20Annual%20Report%20to%20Northern%20Health%20Authority.pdf",
"pageUrl": "https://www.princegeorge.ca/water",
"rawWaterReportsUrl": "https://www.princegeorge.ca/water",
"asOf": "2025",
"summary": [
"Prince George's drinking water is groundwater drawn from wells along the Nechako and Fraser rivers. The gravel layer between the rivers and the well intakes acts as natural filtration; the City has no additional filtr…",
"Water is chlorinated with sodium hypochlorite made on site at the three main wells, and a minimum free chlorine residual of 0.2 ppm is maintained throughout the distribution system, as Northern Health's operating perm…",
"… 2 more"
],
"facts": {
"annualProductionM3": 10784256,
"samplesPerMonthRequired": 74,
"samplesPerMonthAverage": 120,
"boilWaterAdvisories": 0,
"waterMainBreaks": 15,
"serviceConnectionsRepaired": 191,
"hydrantInspections": 738,
"consumerWaterMeters": 4994,
"minimumFreeChlorinePpm": 0.2,
"otherConnections": 4269,
"servicedPopulation": 73009,
"hydrants": 2274,
"…": "6 more keys"
},
"notes": "Residential connections are printed as \"24,0015\" in the report's section 3.1 table, so that figure is left out until the City corrects it.",
"citations": {
"annualProductionM3": "Section 3.1 table (page 5) and Table 5 total (page 12)",
"samplesPerMonthRequired": "Section 4.2.1 (page 13)",
"samplesPerMonthAverage": "Section 4.2.1 (page 13): an average of 30 samples a week, 120 a month",
"boilWaterAdvisories": "Section 4.2.2 (page 14)",
"waterMainBreaks": "Section 3.1.6 (page 11)",
"serviceConnectionsRepaired": "Section 3.1.6 (page 11)",
"hydrantInspections": "Section 3.1.6 (page 11)",
"consumerWaterMeters": "Section 3.3.1 (page 12), at the end of 2025",
"minimumFreeChlorinePpm": "Section 2.0 (page 4) and section 4.3 (page 15)",
"otherConnections": "Section 3.1 table (page 5)",
"servicedPopulation": "Section 3.1 table (page 5)",
"hydrants": "Section 3.1 (pages 5 and 6)",
"…": "8 more keys"
},
"wells": [
{
"name": "PW605",
"source": "Groundwater (Nechako River)",
"type": "Radial collector",
"sharePct": 52.5
},
{
"name": "PW601",
"source": "Groundwater (Nechako River)",
"type": "Radial collector",
"sharePct": 25.6
},
"… 4 more"
],
"monthlyProductionM3": [
813349,
732963,
"… 10 more"
]
},
"meta": {
"source": "City of Prince George, 2025 Annual Water System Report (released October 2026)",
"sourceUrl": "https://www.princegeorge.ca/sites/default/files/2026-10/2025%20CPG%20Water%20Distribution%20System%20Annual%20Report%20to%20Northern%20Health%20Authority.pdf",
"updatedAt": "2026-11-10T06:28:38.088Z",
"ageSec": 1761366,
"license": "Open Government Licence – City of Prince George (https://pgmapinfo.princegeorge.ca/OpenData/CityofPrinceGeorge_Open_Government_License_Open_Data.pdf)",
"attribution": "City of Prince George, via PG Pulse (princegeorgepulse.ca)",
"dataset": "water-quality",
"asOf": "2025"
},
"links": {
"self": "/api/v1/water-quality",
"next": null,
"docs": "/developers/reference/air-and-water/#get-water-quality"
}
}GET /api/v1/wildlife #
Recent research-grade iNaturalist sightings within 25 km, with photo credits.
- 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: iNaturalist research-grade observations within 25 km of Prince George
- Licence: Each photo under the Creative Commons licence named in
license, credited inattribution; observation data CC BY-NC (iNaturalist)
Also accepts fields (sparse fieldset) and format (json, md).
Example request
curl "https://princegeorgepulse.ca/api/v1/wildlife"Example response (trimmed)
{
"data": {
"recent": [
{
"id": 417781601,
"observedOn": "2026-11-29",
"common": "Barred Owl",
"scientific": "Strix varia",
"group": "Aves",
"photo": "https://inaturalist-open-data.s3.amazonaws.com/photos/769619129/small.jpg",
"attribution": "(c) S.Wolf, some rights reserved (CC BY-NC)",
"license": "CC-BY-NC",
"url": "https://www.inaturalist.org/observations/417781601"
},
{
"id": 417528745,
"observedOn": "2026-11-28",
"common": "Pine Grosbeak",
"scientific": "Pinicola enucleator",
"group": "Aves",
"photo": "https://inaturalist-open-data.s3.amazonaws.com/photos/769124758/small.jpg",
"attribution": "(c) Nicole B., some rights reserved (CC BY-NC)",
"license": "CC-BY-NC",
"url": "https://www.inaturalist.org/observations/417528745"
},
"… 10 more"
],
"speciesLast30": 25,
"observationsLast30": 15,
"top": [
{
"common": "Brown Creeper",
"scientific": "Certhia americana",
"count": 3,
"url": "https://www.inaturalist.org/taxa/7458"
},
{
"common": "Steller's Jay",
"scientific": "Cyanocitta stelleri",
"count": 3,
"url": "https://www.inaturalist.org/taxa/8234"
},
"… 6 more"
]
},
"meta": {
"source": "iNaturalist research-grade observations within 25 km of Prince George",
"sourceUrl": "https://www.inaturalist.org/observations?lat=53.9171&lng=-122.7497&radius=25&quality_grade=research",
"updatedAt": "2026-11-30T15:22:13.653Z",
"ageSec": 1351,
"license": "Each photo under the Creative Commons licence named in `license`, credited in `attribution`; observation data CC BY-NC (iNaturalist)",
"attribution": "iNaturalist observers, via PG Pulse (princegeorgepulse.ca)"
},
"links": {
"self": "/api/v1/wildlife",
"next": null,
"docs": "/developers/reference/air-and-water/#get-wildlife"
}
}GET /api/v1/air/history #
Recorded air quality: AQHI and PM2.5 (model and monitoring stations).
- 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
- Licence: Mixed: see each item’s source
| Parameter | In | Type | Description |
|---|---|---|---|
series | query | string | Only some of: air.aqhi, air.pm25, air.pm25_stations. |
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
curl "https://princegeorgepulse.ca/api/v1/air/history?from=48h"Example response (trimmed)
{
"data": [
{
"series": "air.aqhi",
"label": "Air Quality Health Index",
"unit": "AQHI",
"interval": "raw",
"truncated": false,
"points": [
{
"t": "2026-11-28T16:00:00.000Z",
"value": 2.06
},
{
"t": "2026-11-28T17:00:00.000Z",
"value": 2.23
},
"… 46 more"
]
},
{
"series": "air.pm25",
"label": "Fine particulate (PM2.5), model",
"unit": "µg/m³",
"interval": "raw",
"truncated": false,
"points": [
{
"t": "2026-11-28T16:00:00.000Z",
"value": 13.9
},
{
"t": "2026-11-28T17:00:00.000Z",
"value": 15.5
},
"… 46 more"
]
},
"… 1 more"
],
"meta": {
"source": "Environment and Climate Change Canada AQHI (Prince George); Open-Meteo air quality model; BC Ministry of Environment air monitoring stations",
"sourceUrl": "https://weather.gc.ca/airquality/pages/bcaq-009_e.html",
"updatedAt": "2026-11-30T15:00:00.000Z",
"ageSec": 2684,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/); CC BY 4.0, Open-Meteo.com (https://open-meteo.com/en/licence); Open Government Licence – Br…",
"attribution": "The upstream named in each series (`meta.series.source`), via PG Pulse (princegeorgepulse.ca)",
"from": "2026-11-28T15:44:44.000Z",
"to": "2026-11-30T15:44:44.000Z",
"interval": "raw",
"series": [
{
"id": "air.aqhi",
"source": "Environment and Climate Change Canada AQHI (Prince George); Open-Meteo air quality model; BC Ministry of Environment air monitoring stations"
},
{
"id": "air.pm25",
"source": "Environment and Climate Change Canada AQHI (Prince George); Open-Meteo air quality model; BC Ministry of Environment air monitoring stations"
},
"… 1 more"
],
"total": 3,
"count": 3
},
"links": {
"self": "/api/v1/air/history?from=48h",
"next": null,
"docs": "/developers/reference/air-and-water/#get-air-history"
}
}GET /api/v1/rivers/{id}/history #
Recorded water level and flow for one gauge (hourly from the real-time feed).
- Cache: 5 min (
Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600) - Source: Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)
- Licence: 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 | Station id from /rivers/stations. Required. One of: 08KE018, 08KB001, 08JC002, 08KC001, 08JA023, 08JA017, 08JC001, 08JB002. Example: 08KE018. |
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
curl "https://princegeorgepulse.ca/api/v1/rivers/08KE018/history?from=30d"Example response (trimmed)
{
"data": [
{
"series": "river.08KE018.level",
"label": "Fraser River at South Fort George: water level",
"unit": "m",
"interval": "hour",
"truncated": false,
"points": [
{
"t": "2026-10-31T15:00:00.000Z",
"value": 3.94,
"min": 3.94,
"max": 3.94,
"n": 1
},
{
"t": "2026-10-31T16:00:00.000Z",
"value": 3.937,
"min": 3.937,
"max": 3.937,
"n": 1
},
"… 719 more"
]
},
{
"series": "river.08KE018.discharge",
"label": "Fraser River at South Fort George: flow",
"unit": "m³/s",
"interval": "hour",
"truncated": false,
"points": []
}
],
"meta": {
"source": "Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)",
"sourceUrl": "https://wateroffice.ec.gc.ca/search/real_time_e.html",
"updatedAt": "2026-11-30T15:00:00.000Z",
"ageSec": 2684,
"license": "Environment and Climate Change Canada Data Servers End-use Licence (https://eccc-msc.github.io/open-data/licence/readme_en/)",
"attribution": "Water Survey of Canada (provisional data), via PG Pulse (princegeorgepulse.ca)",
"from": "2026-10-31T15:44:44.000Z",
"to": "2026-11-30T15:44:44.000Z",
"interval": "hour",
"series": [
{
"id": "river.08KE018.level",
"source": "Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)"
},
{
"id": "river.08KE018.discharge",
"source": "Environment and Climate Change Canada, Water Survey of Canada real-time hydrometric data (provisional)"
}
],
"total": 2,
"count": 2
},
"links": {
"self": "/api/v1/rivers/08KE018/history?from=30d",
"next": null,
"docs": "/developers/reference/air-and-water/#get-rivers-id-history"
}
}GET /api/v1/snowpack #
Snow water equivalent at the snow stations upstream: this winter day by day, against the range of past winters at each station.
stations[]: { id, name, elevationM, latest { date, mm }, pctOfMedian, medianToday, season [{ date, mm }], normal { years, firstYear, lastYear, stats, medianPeak, medianPeakDay } }. stats has 366 entries (water-year days from October 1, leap-year layout) of [min, 25th percentile, median, 75th percentile, max] in mm, from complete past winters at the station (not an official 30-year normal); null with fewer than 10 winters. Provisional data.
- 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 River Forecast Centre, automated snow weather stations (BC Data Catalogue)
- 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
curl "https://princegeorgepulse.ca/api/v1/snowpack"Example response (trimmed)
{
"data": {
"source": "BC River Forecast Centre, automated snow weather stations: snow water equivalent (current season and daily archive)",
"sourceUrl": "https://catalogue.data.gov.bc.ca/dataset/current-season-automated-snow-weather-station-data",
"archiveUrl": "https://catalogue.data.gov.bc.ca/dataset/archive-automated-snow-weather-station-data",
"asOf": "2026-11-30",
"waterYear": 2027,
"normalsAt": "2026-11-10T06:30:06.951Z",
"notes": "Snow water equivalent is the depth of water the snowpack would make if it all melted, in millimetres, weighed by a snow pillow at each station. Readings are provisional. The range for each date is the spread of every …",
"stations": [
{
"id": "1A05P",
"name": "Longworth Upper",
"elevationM": 1740,
"latest": {
"date": "2026-11-30",
"mm": 73
},
"pctOfMedian": 22,
"medianToday": 333,
"season": [
"{…}",
"{…}",
"… 50 more"
],
"normal": {
"years": 10,
"firstYear": 2017,
"lastYear": 2026,
"stats": [
null,
[
0,
0,
"… 3 more"
],
"… 364 more"
],
"medianPeak": 1119,
"medianPeakDay": 206
}
},
{
"id": "4A18P",
"name": "Mount Sheba",
"elevationM": 1490,
"latest": {
"date": "2026-11-30",
"mm": 125
},
"pctOfMedian": null,
"medianToday": null,
"season": [
"{…}",
"{…}",
"… 59 more"
],
"normal": null
},
"… 3 more"
]
},
"meta": {
"source": "BC River Forecast Centre, automated snow weather stations: snow water equivalent (current season and daily archive)",
"sourceUrl": "https://catalogue.data.gov.bc.ca/dataset/current-season-automated-snow-weather-station-data",
"updatedAt": "2026-11-30T10:55:13.365Z",
"ageSec": 17371,
"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 River Forecast Centre, via PG Pulse (princegeorgepulse.ca)",
"dataset": "snowpack",
"kind": "fetched",
"asOf": "2026-11-30",
"checkedAt": "2026-11-30T10:55:13.365Z"
},
"links": {
"self": "/api/v1/snowpack",
"next": null,
"docs": "/developers/reference/air-and-water/#get-snowpack"
}
}