Canada River Levels & Flows API

Water level (m) and flow (m3/s) readings from Water Survey of Canada river gauges: recent 5-minute readings or daily averages back decades, by station number or province.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from api.weather.gc.ca/collections/hydrometric-realtime/items

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Station numbersoptional
Water Survey of Canada station numbers, such as 02HC003 (Humber River at Weston). A province search returns them in station_number. One per line, or separated by commas.
Example: 02HC003
Provinceoptional
Two-letter province or territory code, such as ON: reads the stations there that send real-time data (up to 25).
Example: ON
Daily meanoptional
True for daily averages instead of 5 to 15 minute readings.
Maximum resultsoptional
Most readings per station, newest first (default 100, at most 5000).
Example: 5

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/canada-river-levels/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/canada-river-levels/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"station_numbers":["02HC003"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

station_numberslist
Water Survey of Canada station numbers, such as 02HC003 (Humber River at Weston). A province search returns them in station_number.
example: 02HC003
provincetext
Two-letter province or territory code, such as ON: reads the stations there that send real-time data (up to 25).
example: ON
daily_meanyes/no
True for daily averages instead of 5 to 15 minute readings.
default: falseexample: false
max_resultsnumber
Most readings per station, newest first (default 100, at most 5000).
default: 100example: 5

What's in each record

12 fields: 11 here, 1 technical one under Technical details.

Basics

  • Station number

    Water Survey of Canada station number, such as 02HC003.

    Example 02HC003

  • Station name

    Name of the gauge, such as HUMBER RIVER AT WESTON.

    Example HUMBER RIVER AT WESTON

  • Granularity

    realtime for 5 to 15 minute readings, daily_mean for daily averages.

    Example realtime

  • Datetime local

    Time of the reading in local standard time with its offset (real-time rows).

    Example Dec 6, 2026

  • Level m

    Water level in metres.

    Example 2.348

  • Discharge m 3s

    Flow (discharge) in cubic metres per second.

    Example 6.71

Location

  • Province

    Province, territory or state code of the station.

    Example ON

  • Latitude

    Latitude of the station.

    Example 43.69894

  • Longitude

    Longitude of the station.

    Example -79.52039

Dates

  • Observed

    Time of the reading in UTC (real-time rows).

    Example Dec 6, 2026

  • Date

    Local day of the reading (real-time rows) or of the average (daily rows).

    Example Dec 5, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idSource id of the reading: station number with the time (or the day on daily rows).

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
station_numbertextStation number3 of 3
station_nametextStation name3 of 3
provincetextProvince3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
granularitytextGranularity3 of 3
observed_atdate and timeObserved3 of 3
datetime_localtextDatetime local3 of 3
datedateDate3 of 3
level_mnumberLevel m3 of 3
discharge_m3snumberDischarge m 3s3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordStation numberStation nameGranularityDatetime localLevel mDischarge m 3sProvinceLatitudeLongitudeObservedDate
102HC003HUMBER RIVER AT WESTONrealtimeDec 6, 20262.3486.71ON43.69894-79.52039Dec 6, 2026Dec 5, 2026
202HC003HUMBER RIVER AT WESTONrealtimeDec 6, 20262.3486.71ON43.69894-79.52039Dec 6, 2026Dec 5, 2026
302HC003HUMBER RIVER AT WESTONrealtimeDec 6, 20262.3486.71ON43.69894-79.52039Dec 6, 2026Dec 5, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Real-time readings (5 to 15 minutes apart) cover roughly the last 30 days only and are provisional: Water Survey of Canada revises them once checked. Daily averages (daily_mean) reach back decades but are published after review, so the newest days can be missing.
  • Stations report level, flow or both: many give only one, so the other field is empty. Province searches read only stations that send real-time data, at most 25 of them, with the newest readings of each.
  • Readings are returned newest first, at most 5,000 per station and 10,000 per run.
  • Environment Canada asks heavy users to stay near one request per second overall, so requests are spaced about a second apart: a province search takes a minute or more.
  • Data from Environment and Climate Change Canada (Water Survey of Canada) under the Open Government Licence - Canada; credit Environment and Climate Change Canada as the source. It does not endorse this API.

Version history

A run uses the live version unless the request names another one with version.