{"api":{"id":"api_c01333fa24520685e5fe8896","slug":"canada-water-level-predictions","name":"Canada Water Level Predictions API","description":"Minute-by-minute predicted tide and water levels in metres for a Canadian Hydrographic Service station, with plain times and the station's series code. Also serves observed levels and high/low tide predictions.","kind":"ready_made","visibility":"public","domain":"api-iwls.dfo-mpo.gc.ca","source_url":"https://api-iwls.dfo-mpo.gc.ca/api/v1/stations/{id}/data","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":5,"created_at":"2026-12-06T04:45:48.344Z","updated_at":"2026-12-06T04:45:48.344Z","runnable":true},"version":"1.0","contract_hash":"786ecb7c9853a16c0e0c61f35ef72e3605b9827ee66b2fdaa1267da5d34ed911","fields":[{"name":"event_time","type":"datetime","description":"Time of the value (UTC).","required":true,"coverage":1,"example":"2026-12-06T00:00:00.000Z"},{"name":"value_m","type":"number","description":"Water level in metres above chart datum.","required":false,"coverage":1,"example":1.195},{"name":"series","type":"string","description":"Series code asked for.","required":false,"coverage":1,"example":"wlp"},{"name":"station_id","type":"string","description":"Station id asked for.","required":false,"coverage":1,"example":"5cebf1df3d0f4a073c4bbcbb"},{"name":"qc_flag","type":"string","description":"The source's quality-control flag code.","required":false,"coverage":1,"example":"2"}],"inputs":[{"name":"station_id","type":"string","description":"Station id from the Canada Tide Stations API, such as 5cebf1df3d0f4a073c4bbcbb for Halifax.","example":"5cebf1df3d0f4a073c4bbcbb","required":true},{"name":"series","type":"string","description":"Series code: wlp (predicted level, default), wlp-hilo (high and low tides), wlo (observed level).","default":"wlp","example":"wlp"},{"name":"from","type":"string","description":"Start time in ISO 8601 UTC, such as 2026-12-06T00:00:00Z. Defaults to now.","example":"2026-12-06T00:00:00Z"},{"name":"to","type":"string","description":"End time in ISO 8601 UTC, at most 7 days after the start. Defaults to 24 hours after the start.","example":"2026-12-06T03:00:00Z"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"event_time":{"description":"Time of the value (UTC).","format":"date-time","type":"string"},"qc_flag":{"description":"The source's quality-control flag code.","type":"string"},"series":{"description":"Series code asked for.","type":"string"},"station_id":{"description":"Station id asked for.","type":"string"},"value_m":{"description":"Water level in metres above chart datum.","type":"number"}},"required":["event_time"],"title":"Canada Water Level Predictions API","type":"object"},"samples":[{"event_time":"2026-12-06T00:00:00.000Z","value_m":1.195,"series":"wlp","station_id":"5cebf1df3d0f4a073c4bbcbb","qc_flag":"2"},{"event_time":"2026-12-06T00:01:00.000Z","value_m":1.192,"series":"wlp","station_id":"5cebf1df3d0f4a073c4bbcbb","qc_flag":"2"},{"event_time":"2026-12-06T00:02:00.000Z","value_m":1.188,"series":"wlp","station_id":"5cebf1df3d0f4a073c4bbcbb","qc_flag":"2"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"event_time":1,"qc_flag":1,"series":1,"station_id":1,"value_m":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.344Z","activated_at":"2026-12-06T04:45:48.344Z","active":true,"contract_hash":"786ecb7c9853a16c0e0c61f35ef72e3605b9827ee66b2fdaa1267da5d34ed911","fields_count":5}]}