BC Data docs

elections_districts

B.C. electoral districts

List the provincial electoral districts of an election, optionally filtered by name or code. District codes are unique only within a boundary set: 2024 and 2026 use the 2024 boundaries, 2020 uses different ones and there is no crosswalk.

Cost: 2 units of your allowance (see Rate limits).

Parameters

  • election_id (string, optional): min length 3, max length 20, default "2024-ge"
  • query (string, optional): max length 80

REST

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

MCP

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