Weather forecasts

World Weather Online Marine Weather API

by worldweatheronline.com

Weather forecasts Added on February 4th, 2011 Checked and working on November 16th, 2026
Visit worldweatheronline.com →

What it does

The World Weather Online Marine Weather API gives marine and sailing forecasts for any coordinates: significant wave height, swell height, direction and period, water temperature, wind, visibility and tides. Responses are XML or JSON. Free with a free API key, up to 500 calls a day; paid plans for more.
  • API
  • HTTP-GET
  • JSON
  • REST
  • XML

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free with a free API key, up to 500 calls a day; paid plans for more.
From the browser
Yes (CORS)
Formats
JSON, XML
Interface
REST, HTTP-GET
Provider
worldweatheronline.com
Last checked
Working on November 16th, 2026

More information: https://www.worldweatheronline.com/weather-api/api/marine-weather-api.aspx

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

worldweatheronline.com
World Weather Online Marine Weather API

Example request

curl

curl 'https://api.worldweatheronline.com/premium/v1/marine.ashx?key=YOUR_API_KEY&q=51.5,-0.12&format=json'

JavaScript

const response = await fetch("https://api.worldweatheronline.com/premium/v1/marine.ashx?key=YOUR_API_KEY&q=51.5,-0.12&format=json");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.worldweatheronline.com/premium/v1/marine.ashx?key=YOUR_API_KEY&q=51.5,-0.12&format=json",
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried World Weather Online Marine Weather API.