health_areas
B.C. health authority, service delivery area, local health area and community area
Which B.C. health authority (Interior, Fraser, Vancouver Coastal, Vancouver Island, Northern), health service delivery area, local health area and community health service area a point (lat, lon) is in, from BC Health boundaries on DataBC, read live. Or list the areas at one level (health_authority, hsda, lha, chsa). Names and codes only: no geometry and no population or demographic figures.
Cost: 3 units of your allowance (see Rate limits).
Parameters
lat(number, optional): min 47.5, max 61lon(number, optional): min -140, max -113level(health_authority,hsda,lha,chsa, optional)
REST
curl -X POST https://api.bcmcp.ca/v1/tools/health_areas \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool health_areas 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":"health_areas","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.