Tides

FREEMIUM
By apihood
Updated 3 months ago
Weather
8.8/10
Popularity
151ms
Latency
100%
Success Rate

Tides API Documentation

Global Tides API provides tidal heights predictions at any location of the World Ocean.

View API Details
GETTides
GETTides

Endpoint for getting Tide predictions like extremes and water level

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
latitudeNUMBER
REQUIREDLatitude in range from -90 to 90
longitudeNUMBER
REQUIREDLongitude in range from -180 to 180
Optional Parameters
intervalNUMBER
OPTIONALInterval means number of minutes between the returned measurements. Please note that one response can contain max 10 080 predicted heights, so duration/interval can't be bigger than 10 080.
timestampNUMBER
OPTIONALTimestamp (number of seconds since the unix epoch) of the prediction beginning. Datetime represented with this timestamp will be floored to whole minute. Defaults to current timestamp
durationSTRING
OPTIONALDuration is the number of minutes for which the forecast should be calculated. Default and minimum is 1 440 (one day). Please note that one response can contain max 10 080 predicted heights, so duration/interval can't be bigger than 10 080.
radiusNUMBER
OPTIONALWhen no prediction is found in requested coordinates, API tries to return the nearest prediction. You can limit the radius by setting radius parameter to any positive integer.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication