The Web Data Services for both observations and predictions are no longer available through the tides.gc.ca website
Effective May 3rd, 2021: The Web Data Services for both observations and predictions are no longer available through this site and are now accessible through a Canadian Hydrographic Service API at: https://api-iwls.dfo-mpo.gc.ca/swagger-ui.html using Microsoft Edge or Google Chrome.
Send your feedback about our new tools to chsinfo@dfo-mpo.gc.ca.
APPENDIX A - REST API
Here are some instructions:
- https://api-iwls.dfo-mpo.gc.ca/swagger-ui.html
-
Find the identifiers (ID) of your stations of interest :
https://api-iwls.dfo-mpo.gc.ca/api/v1/stations
(e.g. the ID of the Old Quebec station is "5cebf1e23d0f4a073c4bc0f6")
-
Obtain the water level data using the following query :
-
Replace the station ID "5cebf1e23d0f4a073c4bc0f6" with that of your station of interest ;
-
Change the value of the "Time-series-code" parameter to use either :
wlo - Observed water level
wlf or wlf-spine - predicted water levels (at operational stations only)
wlp - Predicted water levels
wlp-hilo - High and low sea predictions (Tide tables)
-
Adjust the "From" and "To" date parameters using the ISO 8061 UTC format
-
- Date modified: