BC Data docs

ess_facilities

B.C. Emergency Social Services facilities

B.C. Emergency Social Services (ESS) facilities from the province's open data, read live from DataBC (cached 30 minutes): name, address, community, regional district, type code, and each facility's status and status date. Always read status and status_date: a facility marked CLOSED is a site from an earlier event, not a place to send anyone. The layer shows no capacity, hours or phone numbers and does not say where to go; in an emergency call 911 and follow official provincial and local emergency information (EmergencyInfoBC, the local government).

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

Parameters

  • community (string, optional): min length 1, max length 60
  • name (string, optional): min length 1, max length 60
  • type_code (RC, GL, RSCTR, optional)
  • limit (integer, optional): min 1, max 50, default 20

REST

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

MCP

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