bc_population
B.C. population estimates and projections by region, year, age and gender (BC Stats)
Population of a B.C. region by year from BC Stats' sub-provincial estimates (July 1, back to 2001 for municipalities and regional districts, 1971 for development regions and 1976 for the other region types) and projections (to 2046): the total and, with age_bands, five-year age bands, for the total, female or male population. Region types: municipality, regional district, development region, health authority, health service delivery area, school district, college region, children and family development region (code 0 is the province in every file). Pick an area_type, then an area by name words or code, a year or range, and estimate or projection. Estimates are not census counts; projections are one scenario. Not income, households or Indigenous population (separate BC Stats files), and not community health service areas, local health areas or school trustee areas.
Cost: 2 units of your allowance (see Rate limits).
Parameters
area_type(regional_district,municipality,development_region,health_authority,health_service_delivery_area,school_district,college_region,cfd_region, optional): default"municipality"area(string, optional): min length 1, max length 60area_code(string, optional)year(integer, optional): min 1971, max 2100year_from(integer, optional): min 1971, max 2100year_to(integer, optional): min 1971, max 2100kind(estimate,projection, optional)gender(total,female,male, optional): default"total"age_bands(boolean, optional): defaultfalselimit(integer, optional): min 1, max 100, default30
REST
curl -X POST https://api.bcmcp.ca/v1/tools/bc_population \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool bc_population 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":"bc_population","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.