BC Data docs

bc_transit_statistics

TransLink and BC Transit (Victoria) monthly revenue and passenger trips (Statistics Canada)

Statistics Canada table 23-10-0307-01 for the two British Columbia urban transit agencies it lists, monthly from January 2023: TransLink (South Coast British Columbia Transportation Authority) and the BC Transit Victoria Regional Transit System, with total revenue excluding subsidies and total passenger trips, both in thousands. BC Transit is Victoria only, not its other systems. One total per agency: no mode, route, station or SkyTrain breakdown. Without a month range the latest month is returned.

Cost: 1 unit of your allowance (see Rate limits).

Parameters

  • agency (translink, bc_transit_victoria, optional)
  • statistic (Total revenue, excluding subsidies, Total passenger trips, optional)
  • month_from (string, optional)
  • month_to (string, optional)
  • limit (integer, optional): min 1, max 100, default 30
  • offset (integer, optional): min 0, max 100000, default 0

REST

curl -X POST https://api.bcmcp.ca/v1/tools/bc_transit_statistics \
  -H "Authorization: Bearer $BCDATA_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

MCP

Call the tool bc_transit_statistics with these arguments. Over raw JSON-RPC:

curl -X POST https://api.bcmcp.ca/mcp \
  -H "Authorization: Bearer $BCDATA_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bc_transit_statistics","arguments":{}}}'

What comes back

Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.

On this page