BC Data docs

bc_earthquakes

Earthquakes in and near British Columbia (Earthquakes Canada)

Find earthquakes in and near British Columbia from Natural Resources Canada's Earthquakes Canada event service, read live: by date range (default the last 30 days, including today), magnitude, or within a radius of a point (nearest first, or strongest first when order is strongest), newest or strongest first. Returns event id, time (UTC), location, depth, magnitude and its type, and the place name Earthquakes Canada gives (distance and direction from a town, with a region code). Events in neighbouring jurisdictions are left out unless include_neighbours is set. Event listing only: no shaking maps, hazard, damage, felt reports beyond a 'felt' flag, or warnings. Not for emergencies: use official sources.

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

Parameters

  • start (string, optional)
  • end (string, optional)
  • min_magnitude (number, optional): min -1, max 10, default 3
  • max_magnitude (number, optional): min -1, max 10
  • lat (number, optional): min 47.5, max 61
  • lon (number, optional): min -140, max -113
  • radius_km (number, optional): min 1, max 500
  • order (recent, strongest, optional): default "recent"
  • include_neighbours (boolean, optional): default false
  • limit (integer, optional): min 1, max 50, default 20

REST

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

MCP

Call the tool bc_earthquakes 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_earthquakes","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