BC Data docs

elections_status

Election feeds: freshness and errors

For each election the service tracks: whether results are available, the active snapshot (label, as of, retrieved), the last check, the last error, and whether the data is stale. Use it to tell 'no results yet' from 'feed down'.

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

Parameters

This tool takes no arguments. Send {}.

REST

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

MCP

Call the tool elections_status 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_status","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