Skip to content
PG Pulse
PG Pulse

Try searching for

From PG PulseYour business could be hereA banner at the top of every page of PG Pulse, seen by people across Prince George every day.Advertise here

Local knowledge for your AI tools

Connect Cursor, VS Code, Codex or Claude Code. Free MCP access, no key needed.

Connect your AI assistant
View as MarkdownFree, no key needed

Power: API reference

5 endpoints. Base URL https://princegeorgepulse.ca/api/v1. Conventions (envelope, paging, fields, formats, limits) are on the overview. All endpoints.

GET /api/v1/power/outages #

BC Hydro outages within 150 km, nearest first and a page at a time, with totals by town, regional and provincial totals.

nearby is one page of the outages within radiusKm (nearest first; limit, offset, links.next); nearbyTotals and byMunicipality always count every nearby outage, so a page never under-reports a storm. meta.total is the number of nearby outages that match within. Outage outlines (polygon, up to 60 points each) are included unless polygons=false.

  • Cache: 5 min (Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600); live source, also cached on our server
  • Source: BC Hydro outage map data
  • Licence: © BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status
ParameterInTypeDescription
withinquerynumberOnly outages within this many km of downtown (default: the whole radius). Example: 25.
polygonsquerybooleanInclude each outage outline (default true).
limitqueryintegerOutages per page (default 50, max 500). Example: 20.
offsetqueryintegerOutages to skip. Use links.next to page.

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

Example request

bash
curl "https://princegeorgepulse.ca/api/v1/power/outages?limit=10&polygons=false"

Example response (trimmed)

json
{
  "data": {
    "nearby": [],
    "nearbyTotals": {
      "outages": 0,
      "customers": 0
    },
    "byMunicipality": [],
    "region": {
      "outages": 0,
      "customers": 0
    },
    "province": {
      "outages": 7,
      "customers": 60
    },
    "radiusKm": 150
  },
  "meta": {
    "source": "BC Hydro outage map data",
    "sourceUrl": "https://www.bchydro.com/power-outages/app/outage-map.html",
    "updatedAt": "2026-11-30T15:41:13.182Z",
    "ageSec": 212,
    "license": "© BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status",
    "attribution": "BC Hydro, via PG Pulse (princegeorgepulse.ca)",
    "total": 0,
    "count": 0,
    "limit": 10,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/power/outages?limit=10&polygons=false",
    "next": null,
    "docs": "/developers/reference/power/#get-power-outages"
  }
}

GET /api/v1/power/at #

Is the power out at an address or point? The BC Hydro outage covering it, else the nearest ones.

Pass address (a street address in Prince George, located with the BC Address Geocoder) or near=lat,lng. outage is the current BC Hydro outage at the point (null when none is): match: block when BC Hydro's area lists the address's block of the street (n block STREET), outline when the outage outline contains the point; with the estimated restoration time (etr) when BC Hydro has one; nearest lists up to three other outages within 5 km. Outage outlines are approximate, so a point just outside one may still be in it. Only outages within the radius of /power/outages are checked.

  • Cache: 5 min (Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600); live source, also cached on our server
  • Source: BC Hydro outage map data
  • Licence: © BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status
ParameterInTypeDescription
addressquerystringStreet address in Prince George. Example: 1100 Patricia Blvd.
nearquerystringPoint as lat,lng.

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

Example request

bash
curl "https://princegeorgepulse.ca/api/v1/power/at?address=1100%20Patricia%20Blvd"

Example response (trimmed)

json
{
  "data": {
    "lat": 53.9127255,
    "lng": -122.7451883,
    "address": "1100 Patricia Blvd, Prince George, BC",
    "outage": null,
    "nearest": []
  },
  "meta": {
    "source": "BC Hydro outage map data",
    "sourceUrl": "https://www.bchydro.com/power-outages/app/outage-map.html",
    "updatedAt": "2026-11-30T15:41:13.182Z",
    "ageSec": 212,
    "license": "© BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status",
    "attribution": "BC Hydro, via PG Pulse (princegeorgepulse.ca)",
    "geocoder": "BC Address Geocoder (DataBC), Open Government Licence – British Columbia"
  },
  "links": {
    "self": "/api/v1/power/at?address=1100%20Patricia%20Blvd",
    "next": null,
    "docs": "/developers/reference/power/#get-power-at"
  }
}

GET /api/v1/power/outages/log #

Past and current BC Hydro outages near Prince George, as recorded from the outage map: area, cause, customers, start and end.

Recorded from BC Hydro's outage map on every refresh (every few minutes). end is the last time the outage was on the map (null while it is on), so it is accurate to the refresh interval; customersMax is the most customers it affected at once. Kept about 400 days; meta.since is when the record starts.

  • Cache: 5 min (Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600)
  • Source: BC Hydro outage map data
  • Licence: © BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status
  • Paginated: limit (default 50, max 500) and offset; also format=csv
ParameterInTypeDescription
daysquerynumberHow far back, 1 to 400 (default 30). Example: 7.
withinquerynumberOnly within this many km of downtown. Example: 25.
limitqueryintegerItems per page (default 50, max 500 unless noted). Example: 20.
offsetqueryintegerItems 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/power/outages/log"

Example response (trimmed)

json
{
  "data": [
    {
      "id": "bchydro:2874540",
      "municipality": "Vanderhoof",
      "area": "East of LAMPITT AVE, West of STEWART ST, North of 1ST ST, South of CONNAUGHT ST",
      "cause": "Planned work being done on our equipment",
      "customers": 90,
      "customersMax": 90,
      "start": "2026-11-29T15:58:03.000Z",
      "end": "2026-11-30T00:26:32.459Z",
      "minutes": 508,
      "distanceKm": 83,
      "lat": 54.015973,
      "lng": -124.006702,
      "…": "2 more keys"
    },
    {
      "id": "bchydro:2874415",
      "municipality": "Prince George",
      "area": "4600 block TALLUS RD",
      "cause": "Wire down",
      "customers": 1,
      "customersMax": 1,
      "start": "2026-11-28T20:30:18.000Z",
      "end": "2026-11-28T22:57:22.999Z",
      "minutes": 147,
      "distanceKm": 44,
      "lat": 54.30748,
      "lng": -122.655838,
      "…": "2 more keys"
    },
    "… 48 more"
  ],
  "meta": {
    "source": "BC Hydro outage map data",
    "sourceUrl": "https://www.bchydro.com/power-outages/app/outage-map.html",
    "updatedAt": "2026-11-30T15:44:44.670Z",
    "ageSec": 0,
    "license": "© BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status",
    "attribution": "BC Hydro, via PG Pulse (princegeorgepulse.ca)",
    "days": 30,
    "since": "2026-11-08T02:57:08.051Z",
    "total": 900,
    "count": 50,
    "limit": 50,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/power/outages/log",
    "next": "/api/v1/power/outages/log?offset=50",
    "docs": "/developers/reference/power/#get-power-outages-log"
  }
}

GET /api/v1/power/rates #

BC Hydro residential rates (tiered, flat and time-of-day).

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

Example request

bash
curl "https://princegeorgepulse.ca/api/v1/power/rates"

Example response (trimmed)

json
{
  "data": {
    "source": "BC Hydro, Residential rates (tiered rate, flat rate and time-of-day pricing pages)",
    "sourceUrl": "https://www.bchydro.com/accounts-billing/rates-energy-use/electricity-rates/residential-rates.html",
    "asOf": "2026-09-30",
    "notes": "Rates as published on bchydro.com, checked weekly; these values were first seen on 2026-09-30. Estimates exclude GST and any rate riders or regional charges; your actual bill may differ.",
    "tiered": {
      "url": "https://www.bchydro.com/accounts-billing/rates-energy-use/electricity-rates/residential-rates/tiered.html",
      "basicChargeCentsPerDay": 23.44,
      "tier1CentsPerKwh": 11.87,
      "tier2CentsPerKwh": 14.08,
      "tier1KwhPerDay": 22.1918,
      "tier1ThresholdMonthlyKwh": 675,
      "tier1ThresholdBimonthlyKwh": 1350
    },
    "flat": {
      "url": "https://www.bchydro.com/accounts-billing/rates-energy-use/electricity-rates/residential-rates/flat.html",
      "basicChargeCentsPerDay": 25,
      "energyCentsPerKwh": 12.7
    },
    "timeOfDay": {
      "url": "https://www.bchydro.com/accounts-billing/rates-energy-use/electricity-rates/residential-rates/time-of-day.html",
      "onPeakSurchargeCentsPerKwh": 5,
      "onPeakHours": "4 to 9 p.m.",
      "overnightDiscountCentsPerKwh": 5,
      "overnightHours": "11 p.m. to 7 a.m.",
      "offPeakHours": "7 a.m. to 4 p.m. and 9 to 11 p.m."
    }
  },
  "meta": {
    "source": "BC Hydro, Residential rates (tiered rate, flat rate and time-of-day pricing pages)",
    "sourceUrl": "https://www.bchydro.com/accounts-billing/rates-energy-use/electricity-rates/residential-rates.html",
    "updatedAt": "2026-10-01T04:27:28.898Z",
    "ageSec": 5224636,
    "license": "BC Hydro published rates, with attribution",
    "attribution": "BC Hydro, via PG Pulse (princegeorgepulse.ca)",
    "dataset": "bchydro-rates",
    "asOf": "2026-09-30"
  },
  "links": {
    "self": "/api/v1/power/rates",
    "next": null,
    "docs": "/developers/reference/power/#get-power-rates"
  }
}

GET /api/v1/power/outages/history #

Recorded BC Hydro outage counts and customers affected (nearby, Northern region, province).

ParameterInTypeDescription
seriesquerystringOnly some of: outages.nearby.count, outages.nearby.customers, outages.region.count, outages.region.customers, outages.province.count, outages.province.customers.
fromquerystringStart: ISO date/datetime, or a span back from to such as 48h, 7d or 30d (default 7d). Example: 7d.
toquerystringEnd: ISO date/datetime (default now).
intervalquerystringraw (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/power/outages/history?from=48h"

Example response (trimmed)

json
{
  "data": [
    {
      "series": "outages.nearby.count",
      "label": "Power outages within 150 km",
      "unit": "outages",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T15:45:00.000Z",
          "value": 0
        },
        {
          "t": "2026-11-28T15:50:00.000Z",
          "value": 0
        },
        "… 574 more"
      ]
    },
    {
      "series": "outages.nearby.customers",
      "label": "Customers without power within 150 km",
      "unit": "customers",
      "interval": "raw",
      "truncated": false,
      "points": [
        {
          "t": "2026-11-28T15:45:00.000Z",
          "value": 0
        },
        {
          "t": "2026-11-28T15:50:00.000Z",
          "value": 0
        },
        "… 574 more"
      ]
    },
    "… 4 more"
  ],
  "meta": {
    "source": "BC Hydro outage map data",
    "sourceUrl": "https://www.bchydro.com/power-outages/app/outage-map.html",
    "updatedAt": "2026-11-30T15:40:00.000Z",
    "ageSec": 285,
    "license": "© BC Hydro. Public outage information, not openly licensed: shown with credit and a link to BC Hydro; check BC Hydro for current status",
    "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": "outages.nearby.count",
        "source": "BC Hydro outage map data"
      },
      {
        "id": "outages.nearby.customers",
        "source": "BC Hydro outage map data"
      },
      "… 4 more"
    ],
    "total": 6,
    "count": 6
  },
  "links": {
    "self": "/api/v1/power/outages/history?from=48h",
    "next": null,
    "docs": "/developers/reference/power/#get-power-outages-history"
  }
}

Add PG Pulse to your home screen

Your browser installs apps from its Share menu.

  1. Tap Share in the browser toolbar (at the bottom of the screen on iPhone, at the top on iPad).
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. PG Pulse opens from its icon like any other app.