The Marine Weather Data API is an advanced solution designed to provide accurate and up-to-date information on ocean and atmospheric conditions in coastal and maritime areas. This API provides hourly forecasts with global coverage, delivering essential data such as wind speed and direction, wave height and period, water and air temperature, atmospheric pressure, cloud cover, precipitation, and other key parameters for maritime activities.
It is ideal for users who need to integrate marine weather data into navigation applications, water sports platforms, port logistics planning tools, environmental monitoring systems, and more. The API extracts information from highly recognized global and regional weather models, such as GFS, ICON, ECMWF, among others, allowing it to offer accurate forecasts up to 7 days in advance.
To use this endpoint, you must include a latitude and longitude in the parameters.
Get Weather - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] Longitude of the position that you want to get a forecast for |
lng |
[Required] Latitude of the position that you want to get a forecast for |
{"hours":[{"airTemperature":{"ecmwf":12.93,"noaa":19.27,"sg":12.93},"airTemperature1000hpa":{"ecmwf":12.2,"noaa":21.22,"sg":12.2},"airTemperature100m":{"noaa":20.7,"sg":20.7},"airTemperature200hpa":{"ecmwf":-58.05,"noaa":-58.13,"sg":-58.05},"airTemperature500hpa":{"ecmwf":-6.19,"noaa":-6.17,"sg":-6.19},"airTemperature800hpa":{"noaa":17.51,"sg":17.51},"airTemperature80m":{"noaa":20.68,"sg":20.68},"cloudCover":{"noaa":6.2,"sg":6.2},"currentDirection":{"ecmwf":315.83,"meto":13.8,"sg":315.83},"currentSpeed":{"ecmwf":0.03,"meto":0.05,"sg":0.03},"dewPointTemperature":{"ecmwf":10.34,"noaa":9.65,"sg":10.34},"gust":{"noaa":4.64,"sg":4.64},"humidity":{"noaa":54.7,"sg":54.7},"iceCover":{"noaa":0.0,"sg":0.0},"precipitation":{"ecmwf":0.0,"noaa":0.0,"sg":0.0},"pressure":{"ecmwf":1012.63,"noaa":1012.64,"sg":1012.63},"seaIceThickness":{"ecmwf":0.0,"sg":0.0},"seaLevel":{"meto":0.04,"sg":0.04},"secondarySwellDirection":{"noaa":289.67,"sg":289.67},"secondarySwellHeight":{"noaa":0.48,"sg":0.48},"secondarySwellPeriod":{"noaa":11.39,"sg":11.39},"snowAlbedo":{"ecmwf":0.85,"sg":0.85},"snowDepth":{"noaa":0.0,"sg":0.0},"swellDirection":{"meteo":222.19,"noaa":224.5,"sg":222.19},"swellHeight":{"noaa":0.61,"sg":0.61},"swellPeriod":{"noaa":15.88,"sg":15.88},"time":"2025-06-11T00:00:00+00:00","visibility":{"noaa":24.14,"sg":24.14},"waterTemperature":{"meto":15.5,"noaa":17.74,"sg":15.5},"waveDirection":{"ecmwf":264.42,"meteo":275.13,"noaa":225.71,"sg":264.42},"waveHeight":{"ecmwf":0.37,"noaa":0.98,"sg":0.37},"windDirection":{"ecmwf":267.11,"noaa":252.38,"sg":267.11},"windDirection1000hpa":{"ecmwf":264.92,"noaa":267.11,"sg":264.92},"windDirection100m":{"ecmwf":267.98,"noaa":270.35,"sg":267.98},"windDirection200hpa":{"ecmwf":253.75,"noaa":251.66,"sg":253.75},"windDirection20m":{"noaa":257.72,"sg":257.72},"windDirection30m":{"noaa":260.84,"sg":260.84},"windDirection40m":{"noaa":262.96,"sg":262.96},"windDirection500hpa":{"ecmwf":251.02,"noaa":247.42,"sg":251.02},"windDirection50m":{"noaa":264.65,"sg":264.65},"windDirection800hpa":{"noaa":227.24,"sg":227.24},"windDirection80m":{"noaa":268.37,"sg":268.37},"windSpeed":{"ecmwf":7.16,"noaa":3.89,"sg":7.16},"windSpeed1000hpa":{"ecmwf":6.78,"noaa":4.35,"sg":6.78},"windSpeed100m":{"ecmwf":9.29,"noaa":4.94,"sg":9.29},"windSpeed200hpa":{"ecmwf":33.11,"noaa":32.89,"sg":33.11},"windSpeed20m":{"noaa":3.94,"sg":3.94},"windSpeed30m":{"noaa":4.27,"sg":4.27},"windSpeed40m":{"noaa":4.45,"sg":4.45},"windSpeed500hpa":{"ecmwf":10.91,"noaa":11.32,"sg":10.91},"windSpeed50m":{"noaa":4.57,"sg":4.57},"windSpeed800hpa":{"noaa":7.2,"sg":7.2},"windSpeed80m":{"noaa":4.82,"sg":4.82},"windWaveDirection":{"meteo":289.01,"noaa":282.18,"sg":289.01},"windWaveHeight":{"noaa":0.51,"sg":0.51},"windWavePeriod":{"noaa":4.9,"sg":4.9}},{"airTemperature":{"ecmwf":12.52,"noaa":17.63,"sg":12.52},"airTemperature1000hpa":{"ecmwf":11.75,"noaa":19.13,"sg":11.75},"airTemperature100m":{"noaa":18.65,"sg":18.65},"airTemperature200hpa":{"ecmwf":-58.05,"noaa":-57.95,"sg":-58.05},"airTemperature500hpa":{"ecmwf":-6.27,"noaa":-6.31,"sg":-6.27},"airTemperature800hpa":{"noaa":17.6,"sg":17.6},"airTemperature80m":{"noaa":18.68,"sg":18.68},"cloudCover":{"noaa":4.47,"sg":4.47},"currentDirection":{"ecmwf":318.55,"meto":10.23,"sg":318.55},"currentSpeed":{"ecmwf":0.04,"meto":0.06,"sg":0.04},"dewPointTemperature":{"ecmwf":10.22,"noaa":9.8,"sg":10.22},"gust":{"noaa":5.0,"sg":5.0},"humidity":{"noaa":61.7,"sg":61.7},"iceCover":{"noaa":0.0,"sg":0.0},"precipitation":{"ecmwf":0.0,"noaa":0.0,"sg":0.0},"pressure":{"ecmwf":1012.72,"noaa":1012.86,"sg":1012.72},"seaIceThickness":{"ecmwf":0.0,"sg":0.0},"seaLevel":{"meto":0.04,"sg":0.04},"secondarySwellDirection":{"noaa":289.96,"sg":289.96},"secondarySwellHeight":{"noaa":0.49,"sg":0.49},"secondarySwellPeriod":{"noaa":11.4,"sg":11.4},"snowAlbedo":{"ecmwf":0.85,"sg":0.85},"snowDepth":{"noaa":0.0,"sg":0.0},"swellDirection":{"meteo":251.26,"noaa":224.48,"sg":251.26},"swellHeight":{"noaa":0.61,"sg":0.61},"swellPeriod":{"noaa":15.86,"sg":15.86},"time":"2025-06-11T01:00:00+00:00","visibility":{"noaa":24.14,"sg":24.14},"waterTemperature":{"meto":15.5,"noaa":16.23,"sg":15.5},"waveDirection":{"ecmwf":263.41,"meteo":276.63,"noaa":225.73,"sg":263.41},"waveHeight":{"ecmwf":0.38,"noaa":0.98,"sg":0.38},"windDirection":{"ecmwf":268.08,"noaa":249.88,"sg":268.08},"windDirection1000hpa":{"ecmwf":266.47,"noaa":262.86,"sg":266.47},"windDirection100m":{"ecmwf":269.1,"noaa":265.86,"sg":269.1},"windDirection200hpa":{"ecmwf":253.88,"noaa":253.52,"sg":253.88},"windDirection20m":{"noaa":254.47,"sg":254.47},"windDirection30m":{"noaa":257.37,"sg":257.37},"windDirection40m":{"noaa":259.24,"sg":259.24},"windDirection500hpa":{"ecmwf":250.36,"noaa":247.89,"sg":250.36},"windDirection50m":{"noaa":260.78,"sg":260.78},"windDirection800hpa":{"noaa":236.69,"sg":236.69},"windDirection80m":{"noaa":264.2,"sg":264.2},"windSpeed":{"ecmwf":7.02,"noaa":4.07,"sg":7.02},"windSpeed1000hpa":{"ecmwf":6.74,"noaa":4.53,"sg":6.74},"windSpeed100m":{"ecmwf":9.19,"noaa":5.14,"sg":9.19},"windSpeed200hpa":{"ecmwf":32.29,"noaa":33.21,"sg":32.29},"windSpeed20m":{"noaa":4.12,"sg":4.12},"windSpeed30m":{"noaa":4.46,"sg":4.46},"windSpeed40m":{"noaa":4.64,"sg":4.64},"windSpeed500hpa":{"ecmwf":11.72,"noaa":11.93,"sg":11.72},"windSpeed50m":{"noaa":4.77,"sg":4.77},"windSpeed800hpa":{"noaa":7.13,"sg":7.13},"windSpeed80m":{"noaa":5.03,"sg":5.03},"windWaveDirection":{"meteo":292.21,"noaa":282.29,"sg":292.21},"windWaveHeight":{"noaa":0.51,"sg":0.51},"windWavePeriod":{"noaa":4.83,"sg":4.83}},{"airTemperature":{"ecmwf":12.12,"noaa":15.99,"sg":12.12},"airTemperature1000hpa":{"ecmwf":11.3,"noaa":17.05,"sg":11.3},"airTemperature100m":{"noaa":16.59,"sg":16.59},"airTemperature200hpa":{"ecmwf":-58.06,"noaa":-57.76,"sg":-58.06},"airTemperature500hpa":{"ecmwf":-6.35,"noaa":-6.46,"sg":-6.35},"airTemperature800hpa":{"noaa":17.7,"sg":17.7},"airTemperature80m":{"noaa":16.68,"sg":16.68},"cloudCover":{"noaa":2.73,"sg":2.73},"currentDirection":{"ecmwf":321.26,"meto":9.58,"sg":321.26},"currentSpeed":{"ecmwf":0.04,"meto":0.06,"sg":0.04},"dewPointTemperature":{"ecmwf":10.11,"noaa":9.95,"sg":10.11},"gust":{"noaa":5.36,"sg":5.36},"humidity":{"noaa":68.7,"sg":68.7},"iceCover":{"noaa":0.0,"sg":0.0},"precipitation":{"ecmwf":0.0,"noaa":0.0,"sg":0.0},"pressure":{"ecmwf":1012.81,"noaa":1013.07,"sg":1012.81},"seaIceThickness":{"ecmwf":0.0,"sg":0.0},"seaLevel":{"meto":0.03,"sg":0.03},"secondarySwellDirection":{"noaa":290.26,"sg":290.26},"secondarySwellHeight":{"noaa":0.49,"sg":0.49},"secondarySwellPeriod":{"noaa":11.42,"sg":11.42},"snowAlbedo":{"ecmwf":0.85,"sg":0.85},"snowDepth":{"noaa":0.0,"sg":0.0},"swellDirection":{"meteo":280.34,"noaa":224.45,"sg":280.34},"swellHeight":{"noaa":0.62,"sg":0.62},"swellPeriod":{"noaa":15.85,"sg":15.85},"time":"2025-06-11T02:00:00+00:00","visibility":{"noaa":24.14,"sg":24.14},"waterTemperature":{"meto":15.49,"noaa":14.72,"sg":15.49},"waveDirection":{"ecmwf":262.39,"meteo":278.14,"noaa":225.74,"sg":262.39},"waveHeight":{"ecmwf":0.38,"noaa":0.99,"sg":0.38},"windDirection":{"ecmwf":269.04,"noaa":247.38,"sg":269.04},"windDirection1000hpa":{"ecmwf":268.03,"noaa":258.61,"sg":268.03},"windDirection100m":{"ecmwf":270.23,"noaa":261.37,"sg":270.23},"windDirection200hpa":{"ecmwf":254.0,"noaa":255.39,"sg":254.0},"windDirection20m":{"noaa":251.23,"sg":251.23},"windDirection30m":{"noaa":253.91,"sg":253.91},"windDirection40m":{"noaa":255.53,"sg":255.53},"windDirection500hpa":{"ecmwf":249.69,"noaa":248.36,"sg":249.69},"windDirection50m":{"noaa":256.91,"sg":256.91},"windDirection800hpa":{"noaa":246.14,"sg":246.14},"windDirection80m":{"noaa":260.04,"sg":260.04},"windSpeed":{"ecmwf":6.87,"noaa":4.26,"sg":6.87},"windSpeed1000hpa":{"ecmwf":6.69,"noaa":4.71,"sg":6.69},"windSpeed100m":{"ecmwf":9.08,"noaa":5.35,"sg":9.08},"windSpeed200hpa":{"ecmwf":31.48,"noaa":33.54,"sg":31.48},"windSpeed20m":{"noaa":4.29,"sg":4.29},"windSpeed30m":{"noaa":4.65,"sg":4.65},"windSpeed40m":{"noaa":4.84,"sg":4.84},"windSpeed500hpa":{"ecmwf":12.54,"noaa":12.54,"sg":12.54},"windSpeed50m":{"noaa":4.97,"sg":4.97},"windSpeed800hpa":{"noaa":7.06,"sg":7.06},"windSpeed80m":{"noaa":5.24,"sg":5.24},"windWaveDirection":{"meteo":295.41,"noaa":282.4,"sg":295.41},"windWaveHeight":{"noaa":0.52,"sg":0.52},"windWavePeriod":{"noaa":4.77,"sg":4.77}},{"airTemperature":{"ecmwf":11.71,"noaa":14.35,"sg":11.71},"airTemperature1000hpa":{"ecmwf":10.85,"noaa":14.96,"sg":10.85},"airTemperature100m":{"noaa":14.54,"sg":14.54},"airTemperature200hpa":{"ecmwf":-58.06,"noaa":-57.58,"sg":-58.06},"airTemperature500hpa":{"ecmwf":-6.44,"noaa":-6.6,"sg":-6.44},"airTemperature800hpa":{"noaa":17.79,"sg":17.79},"airTemperature80m":{"noaa":14.68,"sg":14.68},"cloudCover":{"noaa":1.0,"sg":1.0},"currentDirection":{"ecmwf":323.98,"meto":11.89,"sg":323.98},"currentSpeed":{"ecmwf":0.05,"meto":0.06,"sg":0.05},"dewPointTemperature":{"ecmwf":9.99,"noaa":10.1,"sg":9.99},"gust":{"noaa":5.71,"sg":5.71},"humidity":{"noaa":75.7,"sg":75.7},"iceCover":{"noaa":0.0,"sg":0.0},"precipitation":{"ecmwf":0.0,"noaa":0.0,"sg":0.0},"pressure":{"ecmwf":1012.9,"noaa":1013.28,"sg":1012.9},"seaIceThickness":{"ecmwf":0.0,"sg":0.0},"seaLevel":{"meto":0.03,"sg":0.03},"secondarySwellDirection":{"noaa":290.55,"sg":290.55},"secondarySwellHeight":{"noaa":0.5,"sg":0.5},"secondarySwellPeriod":{"noaa":11.43,"sg":11.43},"snowAlbedo":{"ecmwf":0.85,"sg":0.85},"snowDepth":{"noaa":0.0,"sg":0.0},"swellDirection":{"meteo":309.41,"noaa":224.43,"sg":309.41},"swellHeight":{"noaa":0.62,"sg":0.62},"swellPeriod":{"noaa":15.83,"sg":15.83},"time":"2025-06-11T03:00:00+00:00","visibility":{"noaa":24.14,"sg":24.14},"waterTemperature":{"meto":15.47,"noaa":13.21,"sg":15.47},"waveDirection":{"ecmwf":261.38,"meteo":279.64,"noaa":225.76,"sg":261.38},"waveHeight":{"ecmwf":0.38,"noaa":0.99,"sg":0.38},"windDirection":{"ecmwf":270.01,"noaa":244.88,"sg":270.01},"windDirection1000hpa":{"ecmwf":269.58,"noaa":254.36,"sg":269.58},"windDirection100m":{"ecmwf":271.35,"noaa":256.88,"sg":271.35},"windDirection200hpa":{"ecmwf":254.13,"noaa":257.25}}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/7333/marine+weather+data+api/11639/get+weather?lat=37.7749&lng=-122.4194' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Get Weather endpoint returns hourly forecasts that include wind speed and direction, wave height and period, water and air temperature, atmospheric pressure, cloud cover, and precipitation. This comprehensive data is essential for maritime activities.
Key fields in the response data include "wind_speed," "wave_height," "air_temperature," "water_temperature," "cloud_cover," and "precipitation." Each field provides specific information relevant to marine weather conditions.
The response data is structured in a JSON format, typically organized into sections for each parameter, such as "wind," "waves," and "temperature." This allows users to easily access and interpret the data for their specific needs.
The Get Weather endpoint requires latitude and longitude as parameters. Users can also specify additional parameters to filter the data, such as time range or specific weather conditions, to tailor the response to their needs.
The Marine Weather Data API aggregates data from recognized global and regional weather models, including GFS, ICON, and ECMWF. This ensures that users receive accurate and reliable marine weather forecasts.
Typical use cases include navigation applications, water sports platforms, port logistics planning, and environmental monitoring. Users can leverage the data to make informed decisions based on current and forecasted marine conditions.
Users can utilize the returned data by integrating it into their applications to display real-time weather conditions, generate alerts for adverse weather, or analyze trends over time for better planning and safety in maritime activities.
Data accuracy is maintained through the use of advanced weather models and continuous updates from reliable sources. The API also employs quality checks to ensure that the forecasts are consistent and reflect real-time conditions.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,344ms
Service Level:
100%
Response Time:
2,004ms
Service Level:
100%
Response Time:
1,377ms
Service Level:
100%
Response Time:
1,635ms
Service Level:
100%
Response Time:
1,479ms
Service Level:
100%
Response Time:
1,586ms
Service Level:
100%
Response Time:
1,187ms
Service Level:
100%
Response Time:
1,384ms
Service Level:
100%
Response Time:
1,383ms
Service Level:
100%
Response Time:
1,307ms
Service Level:
100%
Response Time:
172ms
Service Level:
100%
Response Time:
950ms
Service Level:
100%
Response Time:
9,066ms
Service Level:
100%
Response Time:
1,016ms
Service Level:
100%
Response Time:
1,039ms
Service Level:
100%
Response Time:
997ms
Service Level:
100%
Response Time:
9,689ms
Service Level:
100%
Response Time:
1,870ms
Service Level:
99%
Response Time:
11,410ms
Service Level:
100%
Response Time:
1,774ms