BC Data docs

hydrometric_stations

B.C. river and lake monitoring stations (ECCC hydrometric)

Find Water Survey of Canada real-time hydrometric stations in B.C. by station id (for example 08KD007), part of a name (for example BOWRON), or the nearest ones to a point (lat, lon, optional radius_km up to 100). Returns id, name, position and time zone. Read hydrometric_latest for the readings.

Cost: 1 unit of your allowance (see Rate limits).

Parameters

  • station_id (string, optional)
  • query (string, optional): min length 2, max length 60
  • lat (number, optional): min 48, max 61
  • lon (number, optional): min -141, max -113
  • radius_km (number, optional): max 100
  • limit (integer, optional): min 1, max 25

REST

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

MCP

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