# Getting around: 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/airport/info {#get-airport-info}

Prince George Airport (YXS): airlines and destinations, parking rates, taxis, rental cars and shuttles, and where to check flight times.

Live flying conditions (METAR, TAF) are at /airport. The airport publishes no open flight-status feed and its terms do not allow republishing its flight board, so `flightStatus.url` links to it.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [The airport authority’s published pages (airline information, parking, transportation)](https://princegeorgepulse.ca/getting-around/)
- Licence: Facts copied from the operator's published pages, with attribution

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "name": "Prince George Airport (YXS)",
    "operator": "Prince George Airport Authority",
    "addr": "4141 Airport Road – 10, Prince George, BC V2N 4M6",
    "lat": 53.8844198,
    "lng": -122.6737511,
    "located": "BC Address Geocoder (score 100, CIVIC_NUMBER) for 4141 Airport Rd",
    "phone": "250-963-2400",
    "fax": "250-963-3462",
    "url": "https://www.pgairport.ca/",
    "airlines": [
      {
        "name": "Air Canada",
        "url": "https://www.aircanada.com/ca/en/aco/home.html",
        "destinations": [
          "Vancouver (YVR)"
        ],
        "seasonal": false,
        "phone": "1-888-247-2262",
        "note": "Daily direct to Vancouver. Baggage: 1-888-689-2247.",
        "source": {
          "name": "Prince George Airport Authority: Airline information",
          "url": "https://www.pgairport.ca/passenger-information/airline-information/"
        }
      },
      {
        "name": "WestJet",
        "url": "https://www.westjet.com/en-ca",
        "destinations": [
          "Vancouver (YVR)",
          "Calgary (YYC)"
        ],
        "seasonal": false,
        "phone": "1-800-538-5696",
        "note": "Daily to Vancouver and Calgary. Local baggage: 250-963-8197. Flight status: westjet.com/en-ca/guest-updates.",
        "source": {
          "name": "Prince George Airport Authority: Airline information",
          "url": "https://www.pgairport.ca/passenger-information/airline-information/"
        }
      },
      "… 5 more"
    ],
    "parking": {
      "summary": "Short-term hourly lot in front of the terminal (pay by plate inside the terminal, cash or card); daily/weekly lot (permit at entrance, pay at the Arrivals paystation or by card at the exit); monthly, annual and premiu…",
      "rates": [
        {
          "item": "Hourly (max 2 hours)",
          "price": "$2 per hour"
        },
        {
          "item": "Daily",
          "price": "$15 per day"
        },
        "… 5 more"
      ],
      "contacts": [
        {
          "label": "Long-term and premium parking",
          "phone": "250-963-2411"
        },
        {
          "label": "Security (accessible parking, receipts)",
          "phone": "250-963-2406"
        }
      ],
      "paymentPortal": "https://app.securepark.io/user/pgaa",
      "source": {
        "name": "Prince George Airport Authority: Parking",
        "url": "https://www.pgairport.ca/passenger-information/parking/"
      }
    },
    "groundTransport": [
      {
        "name": "Prince George Taxi",
        "kind": "Taxi",
        "phone": "250-564-4444",
        "url": "https://pgtaxi.ca/",
        "note": "Waits outside the terminal for arriving flights; cash or credit card. Accessible taxis available.",
        "source": {
          "name": "Prince George Airport Authority: Transportation",
          "url": "https://www.pgairport.ca/passenger-information/transportation/"
        }
      },
      {
        "name": "Uride",
        "kind": "Ride share",
        "phone": null,
        "url": "https://www.uride.co/locations/prince-george",
        "note": "App-based ride share serving the airport.",
        "source": {
          "name": "Prince George Airport Authority: Transportation",
          "url": "https://www.pgairport.ca/passenger-information/transportation/"
        }
      },
      "… 5 more"
    ],
    "…": "3 more keys"
  },
  "meta": {
    "source": "Prince George Airport Authority: Contact",
    "sourceUrl": "https://www.pgairport.ca/contact/",
    "updatedAt": "2026-09-30T12:00:00Z",
    "ageSec": 5301711,
    "license": "Facts copied from the operator's published pages, with attribution",
    "attribution": "Prince George Airport Authority: Contact"
  },
  "links": {
    "self": "/api/v1/airport/info",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-airport-info"
  }
}
```

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

Intercity buses and trains from Prince George (BC Bus North, VIA Rail, Ebus, Northern Health Connections, Route 161), with the next VIA Rail train times.

- 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: [Intercity bus and train operators (each service links its source)](https://princegeorgepulse.ca/getting-around/)
- Licence: Facts copied from the operator's published pages, with attribution; train times: Open Government Licence – Canada 2.0 (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/intercity"
```

**Example response** (trimmed)

```json
{
  "data": {
    "services": [
      {
        "id": "bc-bus-north",
        "name": "BC Bus North",
        "kind": "Bus",
        "operator": "Tahltan NST Bussing Ltd. (bcbus.ca redirects to tnst.ca)",
        "routes": [
          "{…}",
          "{…}",
          "… 2 more"
        ],
        "phone": "778-763-4155",
        "hours": "Daily 8:30 am–5 pm; closed statutory holidays",
        "url": "https://bcbus.ca/",
        "stopAddr": "1248 7th Ave (beside Canfor Leisure Pool); also Pine Centre Mall (Starbucks/TD end) and the College Heights Smart Centres (Walmart) stop",
        "stopLat": 53.9137519,
        "stopLng": -122.7476766,
        "stopLocated": "BC Address Geocoder (score 99, BLOCK) for 1248 7th Ave",
        "…": "3 more keys"
      },
      {
        "id": "via-rail-jasper-prince-rupert",
        "name": "VIA Rail Jasper – Prince Rupert train",
        "kind": "Train",
        "operator": "VIA Rail Canada",
        "routes": [
          "{…}",
          "{…}"
        ],
        "departuresPerWeek": 3,
        "phone": "1-888-842-7245",
        "phoneAlt": "250-564-0178 (ticket counter)",
        "url": "https://www.viarail.ca/en/explore-our-destinations/trains/regional-trains/jasper-prince-rupert",
        "scheduleUrl": "https://www.viarail.ca/en/plan/train-schedules",
        "stopAddr": "Prince George train station, 1300 1st Ave, Prince George, BC V2L 2Y3",
        "stopLat": 53.9189694,
        "…": "9 more keys"
      },
      "… 3 more"
    ],
    "trains": {
      "station": {
        "id": "454",
        "name": "Prince George",
        "lat": 53.919317,
        "lng": -122.744185
      },
      "calls": [
        {
          "train": "5",
          "route": "Jasper - Prince Rupert",
          "headsign": "Prince Rupert",
          "direction": "westbound",
          "arrives": "2026-12-03T00:08:00.000Z",
          "departs": "2026-12-03T15:00:00.000Z"
        },
        {
          "train": "6",
          "route": "Jasper - Prince Rupert",
          "headsign": "Jasper",
          "direction": "eastbound",
          "arrives": "2026-12-03T03:29:00.000Z",
          "departs": "2026-12-03T15:15:00.000Z"
        },
        "… 10 more"
      ],
      "feed": {
        "start": "20261102",
        "end": "20270303"
      },
      "source": "VIA Rail Canada GTFS schedule",
      "sourceUrl": "https://www.viarail.ca/en/developer-resources",
      "licence": "Open Government Licence – Canada 2.0 (https://open.canada.ca/en/open-government-licence-canada)"
    }
  },
  "meta": {
    "source": "Intercity bus and train operators (each service links its source)",
    "sourceUrl": "https://princegeorgepulse.ca/getting-around/",
    "updatedAt": "2026-11-30T05:42:55.313Z",
    "ageSec": 53935,
    "license": "Facts copied from the operator's published pages, with attribution; train times: Open Government Licence – Canada 2.0 (https://open.canada.ca/en/open-government-licence-canada)",
    "attribution": "The carriers named in each item, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/intercity",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-intercity"
  }
}
```

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

Taxi and ride-share services confirmed to operate in Prince George.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [The airport authority’s published pages (airline information, parking, transportation)](https://princegeorgepulse.ca/getting-around/)
- Licence: Facts copied from the operator's published pages, with attribution

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": [
    {
      "name": "Prince George Taxi",
      "phone": "250-564-4444",
      "url": "https://pgtaxi.ca/",
      "addr": "331 1st Ave, Prince George, BC",
      "note": "24/7; 60 cars and 5 minivans; airport service; booking app; battery boosts.",
      "source": {
        "name": "Prince George Taxi",
        "url": "https://pgtaxi.ca/"
      }
    },
    {
      "name": "Uride (ride share)",
      "phone": null,
      "url": "https://www.uride.co/locations/prince-george",
      "addr": null,
      "note": "App-based ride share; Prince George listed on Uride's locations page and on the airport's transportation page.",
      "source": {
        "name": "Uride: Prince George",
        "url": "https://www.uride.co/locations/prince-george"
      }
    }
  ],
  "meta": {
    "source": "The airport authority’s published pages (airline information, parking, transportation)",
    "sourceUrl": "https://princegeorgepulse.ca/getting-around/",
    "updatedAt": "2026-09-30T12:00:00Z",
    "ageSec": 5301711,
    "license": "Facts copied from the operator's published pages, with attribution",
    "attribution": "The airport authority, via PG Pulse (princegeorgepulse.ca)",
    "total": 2,
    "count": 2
  },
  "links": {
    "self": "/api/v1/taxis",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-taxis"
  }
}
```

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

Highways out of Prince George, winter tire rules and DriveBC links (live road events are at /roads).

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [Province of BC: Winter driving; DriveBC](https://www2.gov.bc.ca/gov/content/transportation/driving-and-cycling/traveller-information/seasonal/winter-driving)
- 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/roads/highways"
```

**Example response** (trimmed)

```json
{
  "data": {
    "highways": [
      {
        "name": "Highway 97 south (Cariboo Highway) to Quesnel, Williams Lake, 100 Mile House and Cache Creek",
        "note": "Ebus Prince George – Kamloops follows this corridor (stops on Cariboo Hwy 97)."
      },
      {
        "name": "Highway 97 north (Hart Highway) to Mackenzie junction, Chetwynd and Dawson Creek",
        "note": "BC Bus North Prince George – Fort St John corridor."
      },
      "… 2 more"
    ],
    "drivebcLinks": [
      {
        "label": "DriveBC road conditions map",
        "url": "https://www.drivebc.ca/"
      },
      {
        "label": "DriveBC highway cameras",
        "url": "https://www.drivebc.ca/cameras"
      },
      "… 3 more"
    ],
    "winterTires": {
      "url": "https://www2.gov.bc.ca/gov/content/transportation/driving-and-cycling/traveller-information/seasonal/winter-driving",
      "note": "Signed highways need winter tires or chains on board October 1 to April 30; some highways outside mountain passes or high-snowfall areas end March 31.",
      "mapPdf": "https://www2.gov.bc.ca/assets/gov/driving-and-transportation/driving/winter/pdfs/sirmap.pdf"
    },
    "source": {
      "name": "Province of BC: Winter driving",
      "url": "https://www2.gov.bc.ca/gov/content/transportation/driving-and-cycling/traveller-information/seasonal/winter-driving"
    },
    "checked": "2026-09-30"
  },
  "meta": {
    "source": "Province of BC: Winter driving; DriveBC",
    "sourceUrl": "https://www2.gov.bc.ca/gov/content/transportation/driving-and-cycling/traveller-information/seasonal/winter-driving",
    "updatedAt": "2026-09-30T12:00:00Z",
    "ageSec": 5301711,
    "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": "Province of British Columbia, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/roads/highways",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-roads-highways"
  }
}
```

## GET /api/v1/ev-chargers {#get-ev-chargers}

Public EV charging stations in Prince George: ports, power, connectors, network and hours.

Stations at one site are grouped. Same data as the map layer /maps/layers/ev-chargers, flattened. Refreshed daily into the PG Pulse database.

- 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 / U.S. DOE Alternative Fuels Data Center station locator](https://natural-resources.canada.ca/energy-efficiency/transportation-energy-efficiency/electric-charging-alternative-fuelling-stationslocator-map)
- Licence: Alternative Fuels Data Center station data (public), with attribution; OpenStreetMap fallback under ODbL
- Paginated: `limit` (default 100, max 500) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `q` | query | string | Text search in name, address and network. Example: `Tesla`. |
| `fast` | query | boolean | Only sites with DC fast charging. |
| `near` | query | string | Sort by distance from "lat,lng" (adds `distanceM`). Example: `53.9171,-122.7497`. |
| `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/ev-chargers?fast=1&limit=3"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "ev-bc-hydro---prince-george---college-of-new-caledonia-377620",
      "name": "BC Hydro - Prince George - College of New Caledonia",
      "kind": "DC fast charging",
      "addr": "3330 22 Ave",
      "lat": 53.90412,
      "lng": -122.78537,
      "dcFastPorts": 16,
      "level2Ports": 0,
      "maxPower": "350 kW",
      "connectors": [
        "CHAdeMO",
        "CCS",
        "… 1 more"
      ],
      "network": "BCHYDRO",
      "hours": "24 hours daily",
      "…": "2 more keys"
    },
    {
      "id": "ev-bc-hydro---prince-george---superstore-156686",
      "name": "BC Hydro - Prince George - Superstore",
      "kind": "DC fast charging",
      "addr": "2155 Ferry Ave",
      "lat": 53.8886,
      "lng": -122.77,
      "dcFastPorts": 2,
      "level2Ports": 0,
      "maxPower": "50 kW",
      "connectors": [
        "CHAdeMO",
        "CCS"
      ],
      "network": "BCHYDRO",
      "hours": "24 hours daily",
      "…": "2 more keys"
    },
    "… 1 more"
  ],
  "meta": {
    "source": "Natural Resources Canada / U.S. DOE Alternative Fuels Data Center station locator",
    "sourceUrl": "https://natural-resources.canada.ca/energy-efficiency/transportation-energy-efficiency/electric-charging-alternative-fuelling-stationslocator-map",
    "updatedAt": "2026-11-29T10:30:14.902Z",
    "ageSec": 123096,
    "license": "Alternative Fuels Data Center station data (public), with attribution; OpenStreetMap fallback under ODbL",
    "attribution": "NRCan / AFDC, via PG Pulse (princegeorgepulse.ca)",
    "total": 6,
    "count": 3,
    "limit": 3,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/ev-chargers?fast=1&limit=3",
    "next": "/api/v1/ev-chargers?fast=1&limit=3&offset=3",
    "docs": "/developers/reference/getting-around/#get-ev-chargers"
  }
}
```

## GET /api/v1/fuel/prices {#get-fuel-prices}

Average pump prices in Prince George: regular, premium, diesel and auto propane, latest day and week, with the change and comparisons.

City-wide average pump prices in cents per litre, taxes included: not the price at any one station. No open source publishes per-station prices. Daily figures are weekday survey averages; weeks run Wednesday to Tuesday. `elsewhere` compares the same day (or week) in other cities and the national average. History: /fuel/prices/history.

- Cache: 5 min in browsers, 30 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=1800, stale-while-revalidate=3600`)
- Source: [Natural Resources Canada, average retail fuel prices by city (survey data by Kalibrate)](https://natural-resources.canada.ca/domestic-international-markets/transportation-fuel-prices)
- Licence: Natural Resources Canada, reproduced under its terms for non-commercial reproduction (https://natural-resources.canada.ca/terms-conditions): a copy of an official work published by the Government of Canada, not produced in affiliation with or with the endorsement of NRCan. Survey data collected by Kalibrate.

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

**Example request**

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

**Example response** (trimmed)

```json
{
  "data": {
    "location": "Prince George",
    "note": "City-wide average pump prices in cents per litre, taxes included: not the price at any one station. No open source publishes per-station prices.",
    "products": [
      {
        "product": "regular",
        "label": "Regular gasoline",
        "price": 145.7,
        "date": "2026-11-27",
        "changeFromWeekBefore": -2,
        "vsVancouver": -27.2,
        "vsCanada": -3.7,
        "unit": "cents per litre",
        "daily": {
          "date": "2026-11-27",
          "price": 145.7,
          "compareDate": "2026-11-20",
          "change": -2
        },
        "weekly": {
          "weekEnding": "2026-11-24",
          "price": 150.1,
          "change": -10,
          "yearAgo": 131.1
        },
        "elsewhere": [
          "{…}",
          "{…}"
        ]
      },
      {
        "product": "premium",
        "label": "Premium gasoline",
        "price": 172.9,
        "date": "2026-11-27",
        "changeFromWeekBefore": -2.3,
        "vsVancouver": -26.3,
        "vsCanada": -6,
        "unit": "cents per litre",
        "daily": {
          "date": "2026-11-27",
          "price": 172.9,
          "compareDate": "2026-11-20",
          "change": -2.3
        },
        "weekly": {
          "weekEnding": "2026-11-24",
          "price": 177.8,
          "change": -10.7,
          "yearAgo": 157.2
        },
        "elsewhere": [
          "{…}",
          "{…}"
        ]
      },
      "… 2 more"
    ]
  },
  "meta": {
    "source": "Natural Resources Canada, average retail fuel prices by city (survey data by Kalibrate)",
    "sourceUrl": "https://natural-resources.canada.ca/domestic-international-markets/transportation-fuel-prices",
    "updatedAt": "2026-11-30T16:50:35.455Z",
    "ageSec": 13875,
    "license": "Natural Resources Canada, reproduced under its terms for non-commercial reproduction (https://natural-resources.canada.ca/terms-conditions): a copy of an official work published by the Government of Canada, not produc…",
    "attribution": "Natural Resources Canada (survey data: Kalibrate), via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/fuel/prices",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-fuel-prices"
  }
}
```

## GET /api/v1/fuel/prices/history {#get-fuel-prices-history}

Average pump price history: daily or weekly city averages for one product, for the city, comparison cities and Canada.

City-wide average pump prices in cents per litre, taxes included: not the price at any one station. No open source publishes per-station prices. `freq=W` (default) is weekly averages since 2024 (the week in progress is marked `partial`); `freq=D` is daily, kept since the job started (NRCan itself shows only the last 60 days). Columns: price, taxes, marketing margin and refining margin (NRCan approximations), all cents per litre.

- Cache: 5 min in browsers, 30 min in shared caches (`Cache-Control: public, max-age=300, s-maxage=1800, stale-while-revalidate=3600`)
- Source: [Natural Resources Canada, average retail fuel prices by city (survey data by Kalibrate)](https://natural-resources.canada.ca/domestic-international-markets/transportation-fuel-prices)
- Licence: Natural Resources Canada, reproduced under its terms for non-commercial reproduction (https://natural-resources.canada.ca/terms-conditions): a copy of an official work published by the Government of Canada, not produced in affiliation with or with the endorsement of NRCan. Survey data collected by Kalibrate.
- Paginated: `limit` (default 500, max 2000) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `product` | query | string | Fuel. One of: `regular`, `premium`, `diesel`, `propane`. Example: `diesel`. |
| `freq` | query | string | D = daily, W = weekly (Wednesday to Tuesday). One of: `D`, `W`. |
| `location` | query | string | Location id (see `locations` in meta) or `all`. Default: the city. Example: `all`. |
| `from` | query | string | First date, YYYY-MM-DD. Example: `2026-01-01`. |
| `to` | query | string | Last date, YYYY-MM-DD. |
| `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/fuel/prices/history?product=regular&freq=W&location=all&from=2026-06-01"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "location": "Prince George",
      "locationId": 4,
      "product": "regular",
      "freq": "W",
      "period": "2026-06-02",
      "price": 177.8,
      "taxes": 23,
      "marketing": 16.8,
      "refining": 60.9
    },
    {
      "location": "Vancouver",
      "locationId": 2,
      "product": "regular",
      "freq": "W",
      "period": "2026-06-02",
      "price": 210.9,
      "taxes": 37,
      "marketing": 10,
      "refining": 86.8
    },
    "… 79 more"
  ],
  "meta": {
    "source": "Natural Resources Canada, average retail fuel prices by city (survey data by Kalibrate)",
    "sourceUrl": "https://natural-resources.canada.ca/domestic-international-markets/transportation-fuel-prices",
    "updatedAt": "2026-11-30T16:50:35.455Z",
    "ageSec": 13875,
    "license": "Natural Resources Canada, reproduced under its terms for non-commercial reproduction (https://natural-resources.canada.ca/terms-conditions): a copy of an official work published by the Government of Canada, not produc…",
    "attribution": "Natural Resources Canada (survey data: Kalibrate), via PG Pulse (princegeorgepulse.ca)",
    "product": "regular",
    "label": "Regular gasoline",
    "unit": "cents per litre",
    "locations": [
      {
        "id": 4,
        "name": "Prince George"
      },
      {
        "id": 2,
        "name": "Vancouver"
      },
      "… 1 more"
    ],
    "total": 81,
    "count": 81,
    "…": "2 more keys"
  },
  "links": {
    "self": "/api/v1/fuel/prices/history?product=regular&freq=W&location=all&from=2026-06-01",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-fuel-prices-history"
  }
}
```

## GET /api/v1/fuel/stations {#get-fuel-stations}

Gas stations, cardlocks, propane and car washes in Prince George, with brand, address, directions and the directory listing.

From OpenStreetMap (amenity=fuel, amenity=car_wash) merged with the business directory and deduplicated. `fuels` lists extra fuels where OpenStreetMap or the business licence records them (diesel, premium, propane); absence means unknown, not unavailable. No prices per station. Same data as the map layers /maps/layers/fuel and /maps/layers/car-washes.

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [OpenStreetMap contributors; business directory (City business licences)](https://www.openstreetmap.org/copyright)
- Licence: ODbL 1.0, © OpenStreetMap contributors (https://www.openstreetmap.org/copyright); directory links: CC BY 4.0, PG Pulse
- Paginated: `limit` (default 100, max 500) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `kind` | query | string | fuel (gas stations and cardlocks) or car-wash. One of: `fuel`, `car-wash`. |
| `q` | query | string | Text search in name, brand and address. Example: `Esso`. |
| `propane` | query | boolean | Only places recorded as selling propane. |
| `near` | query | string | Sort by distance from "lat,lng" (adds `distanceM`). Example: `53.9171,-122.7497`. |
| `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/fuel/stations?kind=fuel&limit=5"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "osm-n5180751813",
      "kind": "fuel",
      "name": "Bon Voyage Esso",
      "brand": "Esso",
      "addr": "4488 Highway 16 W",
      "lat": 53.85747,
      "lng": -122.81626,
      "fuels": [],
      "propane": false,
      "cardlock": false,
      "businessSlug": "bon-voyage-esso",
      "url": "https://princegeorgepulse.ca/business/bon-voyage-esso/",
      "…": "5 more keys"
    },
    {
      "id": "osm-n5180751803",
      "kind": "fuel",
      "name": "Camco",
      "brand": "Husky",
      "addr": "122 George St",
      "lat": 53.91779,
      "lng": -122.74076,
      "fuels": [],
      "propane": false,
      "cardlock": false,
      "businessSlug": null,
      "url": null,
      "…": "5 more keys"
    },
    "… 3 more"
  ],
  "meta": {
    "source": "OpenStreetMap contributors; business directory (City business licences)",
    "sourceUrl": "https://www.openstreetmap.org/copyright",
    "updatedAt": "2026-11-28T16:54:26.988Z",
    "ageSec": 186444,
    "license": "ODbL 1.0, © OpenStreetMap contributors (https://www.openstreetmap.org/copyright); directory links: CC BY 4.0, PG Pulse",
    "attribution": "© OpenStreetMap contributors, via PG Pulse (princegeorgepulse.ca)",
    "total": 42,
    "count": 5,
    "limit": 5,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/fuel/stations?kind=fuel&limit=5",
    "next": "/api/v1/fuel/stations?kind=fuel&limit=5&offset=5",
    "docs": "/developers/reference/getting-around/#get-fuel-stations"
  }
}
```

## GET /api/v1/road-closures {#get-road-closures}

City road closures and lane restrictions, now and coming up.

From the City’s traffic disruptions map, refreshed every 30 minutes. Each item has `phase` (now, today, upcoming, ended), `impact` (plain-language lanes and access), start and end times (UTC ISO), the City’s description and a GeoJSON `geometry`. Highway events are in /roads (DriveBC).

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [City of Prince George, traffic disruptions map](https://www.princegeorge.ca/city-services/roads-transportation/traffic-disruptions)
- Licence: Public information published by the City on its traffic disruptions map; facts and links only, with attribution
- Paginated: `limit` (default 100, max 500) and `offset`; also `format=csv`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `when` | query | string | `current` (in effect now or starting later today, default), `upcoming` (not yet ended) or `all`. One of: `current`, `upcoming`, `all`. |
| `reason` | query | string | Construction, Event or Hazard. Example: `Construction`. |
| `q` | query | string | Street or text search. Example: `Westwood`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/road-closures"
```

**Example response** (trimmed)

```json
{
  "data": [
    {
      "id": "c49f893e-9642-4a6b-afe2-b901f6fc8297",
      "kind": "closure",
      "parentId": null,
      "street": "8480 - 8795 Pinegrove Rd.",
      "direction": "Both Directions",
      "reason": "Construction",
      "laneImpact": "Alternating One Way",
      "access": null,
      "impact": "Single-lane alternating traffic",
      "description": "Traffic disruptions",
      "altRoute": null,
      "url": null,
      "…": "9 more keys"
    },
    {
      "id": "611cbd67-2bdb-4d2c-8ded-6f0a6446c2cd",
      "kind": "closure",
      "parentId": null,
      "street": "8535 - 8705 Pooley Rd.",
      "direction": "Both Directions",
      "reason": "Construction",
      "laneImpact": "Alternating One Way",
      "access": null,
      "impact": "Single-lane alternating traffic",
      "description": "Traffic disruptions",
      "altRoute": null,
      "url": null,
      "…": "9 more keys"
    },
    "… 5 more"
  ],
  "meta": {
    "source": "City of Prince George, traffic disruptions map",
    "sourceUrl": "https://www.princegeorge.ca/city-services/roads-transportation/traffic-disruptions",
    "updatedAt": "2026-11-30T20:37:16.749Z",
    "ageSec": 274,
    "license": "Public information published by the City on its traffic disruptions map; facts and links only, with attribution",
    "attribution": "City of Prince George, traffic disruptions map, via PG Pulse (princegeorgepulse.ca)",
    "total": 7,
    "count": 7,
    "limit": 100,
    "offset": 0
  },
  "links": {
    "self": "/api/v1/road-closures",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-road-closures"
  }
}
```

## GET /api/v1/road-closures/map {#get-road-closures-map}

Road closures, detours and block points as GeoJSON.

- Cache: 5 min (`Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600`)
- Source: [City of Prince George, traffic disruptions map](https://www.princegeorge.ca/city-services/roads-transportation/traffic-disruptions)
- Licence: Public information published by the City on its traffic disruptions map; facts and links only, with attribution

- GeoJSON: add `format=geojson` for a bare FeatureCollection

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `when` | query | string | `upcoming` (default), `current` or `all`. One of: `current`, `upcoming`, `all`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/road-closures/map?format=geojson"
```

**Example response** (trimmed)

```json
{
  "data": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "LineString",
          "coordinates": [
            [
              -122.62395,
              53.84971
            ],
            [
              -122.62397,
              53.8492
            ],
            "… 6 more"
          ]
        },
        "properties": {
          "id": "c49f893e-9642-4a6b-afe2-b901f6fc8297",
          "kind": "closure",
          "street": "8480 - 8795 Pinegrove Rd.",
          "reason": "Construction",
          "impact": "Single-lane alternating traffic",
          "description": "Traffic disruptions",
          "startsAt": "2026-11-03T14:30:00.000Z",
          "endsAt": "2026-12-01T02:30:00.000Z",
          "phase": "now"
        }
      },
      {
        "type": "Feature",
        "geometry": {
          "type": "LineString",
          "coordinates": [
            [
              -122.63213,
              53.84732
            ],
            [
              -122.63211,
              53.84827
            ],
            "… 2 more"
          ]
        },
        "properties": {
          "id": "611cbd67-2bdb-4d2c-8ded-6f0a6446c2cd",
          "kind": "closure",
          "street": "8535 - 8705 Pooley Rd.",
          "reason": "Construction",
          "impact": "Single-lane alternating traffic",
          "description": "Traffic disruptions",
          "startsAt": "2026-11-03T14:30:00.000Z",
          "endsAt": "2026-12-01T02:30:00.000Z",
          "phase": "now"
        }
      },
      "… 6 more"
    ]
  },
  "meta": {
    "source": "City of Prince George, traffic disruptions map",
    "sourceUrl": "https://www.princegeorge.ca/city-services/roads-transportation/traffic-disruptions",
    "updatedAt": "2026-11-30T20:37:16.749Z",
    "ageSec": 274,
    "license": "Public information published by the City on its traffic disruptions map; facts and links only, with attribution",
    "attribution": "City of Prince George, traffic disruptions map, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/road-closures/map?format=geojson",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-road-closures-map"
  }
}
```

## GET /api/v1/snow-day {#get-snow-day}

School, college and university closures and school bus cancellations today.

Closures, delayed starts and bus cancellations posted by the school district, college and university in Prince George, checked every 10 minutes on school mornings in the snow months (hourly otherwise). `closures` lists notices in effect today or announced for a later day (`today`, `forDate` local date, `level` warning for a closure, advisory for buses or a delay), each with its own `url`, `sourceUrl` and `license`. `checks` says when each institution was last checked and what its page showed; an empty `closures` list with fresh checks means none of them posted a closure. `cityNotices` are recent snow-related items from the City’s news.

- Cache: 2 min (`Cache-Control: public, max-age=120, s-maxage=120, stale-while-revalidate=240`)
- Source: [School District 57, UNBC, College of New Caledonia](https://sd57.bc.ca/district/departments/transportation/)
- Licence: Public notices published by each institution; facts and links only, with attribution (each item carries its own source and licence)

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/snow-day"
```

**Example response** (trimmed)

```json
{
  "data": {
    "date": "2026-11-30",
    "closures": [],
    "checks": [
      {
        "source": "sd57-buses",
        "institution": "School District 57",
        "label": "SD57 school buses",
        "page": "https://sd57.bc.ca/district/departments/transportation/",
        "ok": true,
        "status": "No notices posted",
        "error": null,
        "checkedAt": "2026-11-30T19:50:14.210Z",
        "lastOkAt": "2026-11-30T19:50:14.210Z",
        "stale": false
      },
      {
        "source": "sd57",
        "institution": "School District 57",
        "label": "SD57 schools",
        "page": "https://sd57.bc.ca/news/",
        "ok": true,
        "status": "No closure posted",
        "error": null,
        "checkedAt": "2026-11-30T19:50:17.111Z",
        "lastOkAt": "2026-11-30T19:50:17.111Z",
        "stale": false
      },
      "… 2 more"
    ],
    "cityNotices": []
  },
  "meta": {
    "source": "School District 57, UNBC, College of New Caledonia",
    "sourceUrl": "https://sd57.bc.ca/district/departments/transportation/",
    "updatedAt": "2026-11-30T19:50:24.210Z",
    "ageSec": 3087,
    "license": "Public notices published by each institution; facts and links only, with attribution (each item carries its own source and licence)",
    "attribution": "School District 57, UNBC, College of New Caledonia, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/snow-day",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-snow-day"
  }
}
```

## GET /api/v1/snow-day/routes {#get-snow-day-routes}

City snow clearing priority routes as GeoJSON.

The City’s snow removal priority for each street (1 = cleared first), one MultiLineString per street, priority and period (daytime or nighttime), refreshed weekly. `priority` filters (comma-separated).

- Cache: 5 min in browsers, 1 h in shared caches (`Cache-Control: public, max-age=300, s-maxage=3600, stale-while-revalidate=7200`)
- Source: [City of Prince George, snow removal priority map](https://www.arcgis.com/apps/webappviewer/index.html?id=cc5b3e65452c413f95f50d6aec823f6c)
- Licence: Open Government Licence – City of Prince George (https://pgmapinfo.princegeorge.ca/opendata/CityofPrinceGeorge_Open_Government_License_Open_Data.pdf)

- GeoJSON: add `format=geojson` for a bare FeatureCollection

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `priority` | query | string | Comma-separated priorities, e.g. `1,2`. Example: `1,2`. |

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

**Example request**

```bash
curl "https://princegeorgepulse.ca/api/v1/snow-day/routes?priority=1&format=geojson"
```

**Example response** (trimmed)

```json
{
  "data": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "MultiLineString",
          "coordinates": [
            [
              [
                -122.73173,
                53.91543
              ],
              [
                -122.73478,
                53.9163
              ]
            ],
            [
              [
                -122.73786,
                53.91717
              ],
              [
                -122.73939,
                53.9176
              ]
            ],
            "… 10 more"
          ]
        },
        "properties": {
          "street": "1st Ave",
          "priority": 1,
          "period": 1,
          "periodLabel": "daytime"
        }
      },
      {
        "type": "Feature",
        "geometry": {
          "type": "MultiLineString",
          "coordinates": [
            [
              [
                -122.74848,
                53.91868
              ],
              [
                -122.74912,
                53.91788
              ]
            ],
            [
              [
                -122.7535,
                53.91247
              ],
              [
                -122.75412,
                53.91172
              ]
            ],
            "… 26 more"
          ]
        },
        "properties": {
          "street": "Victoria St",
          "priority": 1,
          "period": 2,
          "periodLabel": "nighttime"
        }
      },
      "… 188 more"
    ]
  },
  "meta": {
    "source": "City of Prince George, snow removal priority map",
    "sourceUrl": "https://www.arcgis.com/apps/webappviewer/index.html?id=cc5b3e65452c413f95f50d6aec823f6c",
    "updatedAt": "2026-11-29T11:41:38.185Z",
    "ageSec": 118813,
    "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, snow removal priority map, via PG Pulse (princegeorgepulse.ca)"
  },
  "links": {
    "self": "/api/v1/snow-day/routes?priority=1&format=geojson",
    "next": null,
    "docs": "/developers/reference/getting-around/#get-snow-day-routes"
  }
}
```
