Get current speed timeline for a location

Returns signed current speed every 10 minutes for the nearest current station, skipping stations with no model and refused with 451 when that station's source forbids redistributing its predictions. end must be within 366 days of start.

get/currents/timeline

Request

  • Base URL: https://api.openwaters.io
  • URL: https://api.openwaters.io/currents/timeline
  • 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.