Marine
Marine Weather
Returns marine and sailing weather forecast (up to 7 days depending on plan) including tide data (Pro+ and above), wave height, swell, and water temperature.
get/marine.json
Query parameters
keystring required
Example:YOUR_API_KEY
Your WeatherAPI.com API key.
qstring required
Example:London
Location query. Accepts: city name, lat/lon, US zip, UK postcode, Canada postal code, METAR code (metar:EGLL), IATA (iata:DXB), auto:ip, IPv4/IPv6, or location ID (id:2801268).
daysinteger required
Number of forecast days (1–7 depending on plan).
dtstring date
Restrict date output in yyyy-MM-dd format.
hourinteger
Restrict output to a specific hour (0–23) in 24-hour format.
tides'yes' | 'no'
Enable/disable tide data (Pro+ and above).
Response
Marine weather data
Changes
No recorded changes to this endpoint across all 1 revision of this API.