BC Data docs

federal_ridings_bc

B.C. federal electoral districts (ridings)

The 43 federal electoral districts in British Columbia (2023 Representation Order) from Elections Canada: district code, English and French name. List them all, or filter by code (59001 or 001) or by part of a name. Boundaries are not copied; links point to the Elections Canada file and results pages. Federal voting results are linked, not reproduced.

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

Parameters

  • code (string, optional)
  • name (string, optional): min length 1, max length 80

REST

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

MCP

Call the tool federal_ridings_bc 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":"federal_ridings_bc","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