first_responder_facilities
B.C. fire, police, ambulance and coast guard facilities
Where B.C. first responder facilities are, from the province's open data, read live from DataBC: fire halls, police detachments and stations, ambulance stations and coast guard stations (1,055 listings). Filter by group (FIRE, POLICE, AMBULANCE, COASTGUARD), facility type, name, locality, or distance from a point (lat, lon, radius_km). Returns name, type, address and coordinates. It shows where a facility is, not whether it is staffed, open, or how fast it can respond, and it has no phone numbers. In an emergency call 911.
Cost: 5 units of your allowance (see Rate limits).
Parameters
group(FIRE,POLICE,AMBULANCE,COASTGUARD, optional)facility_type(HALL,STATION,DETACHMENT,COMMUNITYSTN,POLICESTN,OCC,HIGHWAYPATROL,AIREVAC,FIRSTNATIONS,DISPATCH,SEASONAL,COORDINATION, optional)name(string, optional): min length 1, max length 60locality(string, optional): min length 1, max length 60lat(number, optional): min 47.5, max 61lon(number, optional): min -140, max -113radius_km(number, optional): min 0.5, max 50limit(integer, optional): min 1, max 50, default20
REST
curl -X POST https://api.bcmcp.ca/v1/tools/first_responder_facilities \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool first_responder_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":"first_responder_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.