Get current events for a location

Returns slack water, maximum flood, and maximum ebb between start and end for the nearest current station, skipping stations with no model. When that station's source forbids redistributing its predictions the request is refused with 451 rather than answered from a station farther away. end must be within 366 days of start.

get/currents/events

Request

  • Base URL: https://api.openwaters.io
  • URL: https://api.openwaters.io/currents/events
  • Auth: none required

Query parameters

latitudenumber required

Latitude

longitudenumber required

Longitude

startstring date-time

Start date/time (ISO 8601 format, defaults to now)

endstring date-time

End date/time (ISO 8601 format, defaults to 7 days from start)

Response

Successful prediction

units'knots' required
floodDirectionnumber

Degrees true, when the station has one

ebbDirectionnumber

Degrees true, when the station has one

distancenumber

Distance from the query point in kilometers (location queries only)

Changes

No recorded changes to this operation across all 1 revision of this API.