{
"hours": [
{
"time": "2026-11-20T00:00:00+00:00",
"waveHeight": {
"sg": 0.34
},
"windSpeed": {
"sg": 3.79
}
},
{
"time": "2026-11-20T01:00:00+00:00",
"waveHeight": {
"sg": 0.34
},
"windSpeed": {
"sg": 4.19
}
},
{
"time": "2026-11-20T02:00:00+00:00",
"waveHeight": {
"sg": 0.33
},
"windSpeed": {
"sg": 3.7
}
},
{
"time": "2026-11-20T03:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 3.96
}
},
{
"time": "2026-11-20T04:00:00+00:00",
"waveHeight": {
"sg": 0.33
},
"windSpeed": {
"sg": 4.53
}
},
{
"time": "2026-11-20T05:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 4.79
}
},
{
"time": "2026-11-20T06:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 3.98
}
},
{
"time": "2026-11-20T07:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 3.8
}
},
{
"time": "2026-11-20T08:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 4.24
}
},
{
"time": "2026-11-20T09:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 4.47
}
},
{
"time": "2026-11-20T10:00:00+00:00",
"waveHeight": {
"sg": 0.31
},
"windSpeed": {
"sg": 4.88
}
},
{
"time": "2026-11-20T11:00:00+00:00",
"waveHeight": {
"sg": 0.31
},
"windSpeed": {
"sg": 5.23
}
},
{
"time": "2026-11-20T12:00:00+00:00",
"waveHeight": {
"sg": 0.32
},
"windSpeed": {
"sg": 5.51
}
},
{
"time": "2026-11-20T13:00:00+00:00",
"waveHeight": {
"sg": 0.33
},
"windSpeed": {
"sg": 5.89
}
},
{
"time": "2026-11-20T14:00:00+00:00",
"waveHeight": {
"sg": 0.35
},
"windSpeed": {
"sg": 5.97
}
},
{
"time": "2026-11-20T15:00:00+00:00",
"waveHeight": {
"sg": 0.37
},
"windSpeed": {
"sg": 6.54
}
},
{
"time": "2026-11-20T16:00:00+00:00",
"waveHeight": {
"sg": 0.38
},
"windSpeed": {
"sg": 6.72
}
},
{
"time": "2026-11-20T17:00:00+00:00",
"waveHeight": {
"sg": 0.4
},
"windSpeed": {
"sg": 6.59
}
},
{
"time": "2026-11-20T18:00:00+00:00",
"waveHeight": {
"sg": 0.4
},
"windSpeed": {
"sg": 6.59
}
},
{
"time": "2026-11-20T19:00:00+00:00",
"waveHeight": {
"sg": 0.41
},
"windSpeed": {
"sg": 6.9
}
},
{
"time": "2026-11-20T20:00:00+00:00",
"waveHeight": {
"sg": 0.41
},
"windSpeed": {
"sg": 7.16
}
},
{
"time": "2026-11-20T21:00:00+00:00",
"waveHeight": {
"sg": 0.43
},
"windSpeed": {
"sg": 7.49
}
},
{
"time": "2026-11-20T22:00:00+00:00",
"waveHeight": {
"sg": 0.45
},
"windSpeed": {
"sg": 7.44
}
},
{
"time": "2026-11-20T23:00:00+00:00",
"waveHeight": {
"sg": 0.45
},
"windSpeed": {
"sg": 7.57
}
},
{
"time": "2026-11-21T00:00:00+00:00",
"waveHeight": {
"sg": 0.46
},
"windSpeed": {
"sg": 7.56
}
},
{
"time": "2026-11-21T01:00:00+00:00",
"waveHeight": {
"sg": 0.47
},
"windSpeed": {
"sg": 8.16
}
},
{
"time": "2026-11-21T02:00:00+00:00",
"waveHeight": {
"sg": 0.49
},
"windSpeed": {
"sg": 8.12
}
},
{
"time": "2026-11-21T03:00:00+00:00",
"waveHeight": {
"sg": 0.52
},
"windSpeed": {
"sg": 8.34
}
},
{
"time": "2026-11-21T04:00:00+00:00",
"waveHeight": {
"sg": 0.57
},
"windSpeed": {
"sg": 8.66
}
},
{
"time": "2026-11-21T05:00:00+00:00",
"waveHeight": {
"sg": 0.65
},
"windSpeed": {
"sg": 8.98
}
},
{
"time": "2026-11-21T06:00:00+00:00",
"waveHeight": {
"sg": 0.78
},
"windSpeed": {
"sg": 9.08
}
},
{
"time": "2026-11-21T07:00:00+00:00",
"waveHeight": {
"sg": 0.85
},
"windSpeed": {
"sg": 9.13
}
},
{
"time": "2026-11-21T08:00:00+00:00",
"waveHeight": {
"sg": 0.86
},
"windSpeed": {
"sg": 9.54
}
},
{
"time": "2026-11-21T09:00:00+00:00",
"waveHeight": {
"sg": 0.86
},
"windSpeed": {
"sg": 9.29
}
},
{
"time": "2026-11-21T10:00:00+00:00",
"waveHeight": {
"sg": 0.84
},
"windSpeed": {
"sg": 9.09
}
},
{
"time": "2026-11-21T11:00:00+00:00",
"waveHeight": {
"sg": 0.79
},
"windSpeed": {
"sg": 8.82
}
},
{
"time": "2026-11-21T12:00:00+00:00",
"waveHeight": {
"sg": 0.74
},
"windSpeed": {
"sg": 8.68
}
},
{
"time": "2026-11-21T13:00:00+00:00",
"waveHeight": {
"sg": 0.71
},
"windSpeed": {
"sg": 8.56
}
},
{
"time": "2026-11-21T14:00:00+00:00",
"waveHeight": {
"sg": 0.68
},
"windSpeed": {
"sg": 8.32
}
},
{
"time": "2026-11-21T15:00:00+00:00",
"waveHeight": {
"sg": 0.66
},
"windSpeed": {
"sg": 8.46
}
},
{
"time": "2026-11-21T16:00:00+00:00",
"waveHeight": {
"sg": 0.63
},
"windSpeed": {
"sg": 8.23
}
},
{
"time": "2026-11-21T17:00:00+00:00",
"waveHeight": {
"sg": 0.61
},
"windSpeed": {
"sg": 8.11
}
},
{
"time": "2026-11-21T18:00:00+00:00",
"waveHeight": {
"sg": 0.58
},
"windSpeed": {
"sg": 8.52
}
},
{
"time": "2026-11-21T19:00:00+00:00",
"waveHeight": {
"sg": 0.57
},
"windSpeed": {
"sg": 8.66
}
},
{
"time": "2026-11-21T20:00:00+00:00",
"waveHeight": {
"sg": 0.57
},
"windSpeed": {
"sg": 9.34
}
},
{
"time": "2026-11-21T21:00:00+00:00",
"waveHeight": {
"sg": 0.58
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15047/global+weather+and+marine+api/39811/weather?lat=58.7984&lng=17.8081¶ms=waveHeight,windSpeed&source=sg' --header 'Authorization: Bearer YOUR_API_KEY'
{
"hours": [
{
"time": "2025-11-18T00:00:00+00:00",
"waveHeight": {
"sg": 0.51
},
"windSpeed": {
"sg": 5.92
}
},
{
"time": "2025-11-18T01:00:00+00:00",
"waveHeight": {
"sg": 0.48
},
"windSpeed": {
"sg": 5.57
}
},
{
"time": "2025-11-18T02:00:00+00:00",
"waveHeight": {
"sg": 0.45
},
"windSpeed": {
"sg": 5.34
}
},
{
"time": "2025-11-18T03:00:00+00:00",
"waveHeight": {
"sg": 0.42
},
"windSpeed": {
"sg": 5.09
}
},
{
"time": "2025-11-18T04:00:00+00:00",
"waveHeight": {
"sg": 0.4
},
"windSpeed": {
"sg": 4.77
}
},
{
"time": "2025-11-18T05:00:00+00:00",
"waveHeight": {
"sg": 0.37
},
"windSpeed": {
"sg": 4.31
}
},
{
"time": "2025-11-18T06:00:00+00:00",
"waveHeight": {
"sg": 0.34
},
"windSpeed": {
"sg": 4.29
}
},
{
"time": "2025-11-18T07:00:00+00:00",
"waveHeight": {
"sg": 0.31
},
"windSpeed": {
"sg": 4.64
}
},
{
"time": "2025-11-18T08:00:00+00:00",
"waveHeight": {
"sg": 0.3
},
"windSpeed": {
"sg": 4.64
}
},
{
"time": "2025-11-18T09:00:00+00:00",
"waveHeight": {
"sg": 0.28
},
"windSpeed": {
"sg": 4.35
}
},
{
"time": "2025-11-18T10:00:00+00:00",
"waveHeight": {
"sg": 0.26
},
"windSpeed": {
"sg": 3.98
}
},
{
"time": "2025-11-18T11:00:00+00:00",
"waveHeight": {
"sg": 0.24
},
"windSpeed": {
"sg": 3.66
}
},
{
"time": "2025-11-18T12:00:00+00:00",
"waveHeight": {
"sg": 0.22
},
"windSpeed": {
"sg": 3.16
}
},
{
"time": "2025-11-18T13:00:00+00:00",
"waveHeight": {
"sg": 0.21
},
"windSpeed": {
"sg": 2.71
}
},
{
"time": "2025-11-18T14:00:00+00:00",
"waveHeight": {
"sg": 0.2
},
"windSpeed": {
"sg": 2.42
}
},
{
"time": "2025-11-18T15:00:00+00:00",
"waveHeight": {
"sg": 0.19
},
"windSpeed": {
"sg": 2.4
}
},
{
"time": "2025-11-18T16:00:00+00:00",
"waveHeight": {
"sg": 0.18
},
"windSpeed": {
"sg": 2.33
}
},
{
"time": "2025-11-18T17:00:00+00:00",
"waveHeight": {
"sg": 0.17
},
"windSpeed": {
"sg": 2.02
}
},
{
"time": "2025-11-18T18:00:00+00:00",
"waveHeight": {
"sg": 0.16
},
"windSpeed": {
"sg": 1.54
}
},
{
"time": "2025-11-18T19:00:00+00:00",
"waveHeight": {
"sg": 0.15
},
"windSpeed": {
"sg": 1.13
}
},
{
"time": "2025-11-18T20:00:00+00:00",
"waveHeight": {
"sg": 0.14
},
"windSpeed": {
"sg": 0.98
}
},
{
"time": "2025-11-18T21:00:00+00:00",
"waveHeight": {
"sg": 0.13
},
"windSpeed": {
"sg": 1.08
}
},
{
"time": "2025-11-18T22:00:00+00:00",
"waveHeight": {
"sg": 0.09
},
"windSpeed": {
"sg": 1.02
}
},
{
"time": "2025-11-18T23:00:00+00:00",
"waveHeight": {
"sg": 0.09
},
"windSpeed": {
"sg": 1.69
}
},
{
"time": "2025-11-19T00:00:00+00:00",
"waveHeight": {
"sg": 0.09
},
"windSpeed": {
"sg": 1.91
}
},
{
"time": "2025-11-19T01:00:00+00:00",
"waveHeight": {
"sg": 0.09
},
"windSpeed": {
"sg": 2.16
}
},
{
"time": "2025-11-19T02:00:00+00:00",
"waveHeight": {
"sg": 0.09
},
"windSpeed": {
"sg": 2.17
}
},
{
"time": "2025-11-19T03:00:00+00:00",
"waveHeight": {
"sg": 0.1
},
"windSpeed": {
"sg": 2.31
}
},
{
"time": "2025-11-19T04:00:00+00:00",
"waveHeight": {
"sg": 0.1
},
"windSpeed": {
"sg": 2.43
}
},
{
"time": "2025-11-19T05:00:00+00:00",
"waveHeight": {
"sg": 0.1
},
"windSpeed": {
"sg": 2.59
}
},
{
"time": "2025-11-19T06:00:00+00:00",
"waveHeight": {
"sg": 0.11
},
"windSpeed": {
"sg": 2.89
}
},
{
"time": "2025-11-19T07:00:00+00:00",
"waveHeight": {
"sg": 0.12
},
"windSpeed": {
"sg": 3.03
}
},
{
"time": "2025-11-19T08:00:00+00:00",
"waveHeight": {
"sg": 0.14
},
"windSpeed": {
"sg": 3.03
}
},
{
"time": "2025-11-19T09:00:00+00:00",
"waveHeight": {
"sg": 0.16
},
"windSpeed": {
"sg": 2.69
}
},
{
"time": "2025-11-19T10:00:00+00:00",
"waveHeight": {
"sg": 0.15
},
"windSpeed": {
"sg": 2
}
},
{
"time": "2025-11-19T11:00:00+00:00",
"waveHeight": {
"sg": 0.16
},
"windSpeed": {
"sg": 1.51
}
},
{
"time": "2025-11-19T12:00:00+00:00",
"waveHeight": {
"sg": 0.17
},
"windSpeed": {
"sg": 1.7
}
},
{
"time": "2025-11-19T13:00:00+00:00",
"waveHeight": {
"sg": 0.17
},
"windSpeed": {
"sg": 1.88
}
},
{
"time": "2025-11-19T14:00:00+00:00",
"waveHeight": {
"sg": 0.18
},
"windSpeed": {
"sg": 1.78
}
},
{
"time": "2025-11-19T15:00:00+00:00",
"waveHeight": {
"sg": 0.19
},
"windSpeed": {
"sg": 1.37
}
},
{
"time": "2025-11-19T16:00:00+00:00",
"waveHeight": {
"sg": 0.19
},
"windSpeed": {
"sg": 1.78
}
},
{
"time": "2025-11-19T17:00:00+00:00",
"waveHeight": {
"sg": 0.2
},
"windSpeed": {
"sg": 2.95
}
},
{
"time": "2025-11-19T18:00:00+00:00",
"waveHeight": {
"sg": 0.2
},
"windSpeed": {
"sg": 3.05
}
},
{
"time": "2025-11-19T19:00:00+00:00",
"waveHeight": {
"sg": 0.21
},
"windSpeed": {
"sg": 2.82
}
},
{
"time": "2025-11-19T20:00:00+00:00",
"waveHeight": {
"sg": 0.22
},
"windSpeed": {
"sg": 2.74
}
},
{
"time": "2025-11-19T21:00:00+00:00",
"waveHeight": {
"sg": 0.24
}
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15047/global+weather+and+marine+api/39812/historical?lat=58.7984&lng=17.8081¶ms=waveHeight,windSpeed&start=2025-11-18T00:00:00Z' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Global Weather and Marine API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Weather API providing high-resolution forecasts and historical data using an intelligent global grid that automatically selects the highest-performing weather data source
The GET Weather endpoint returns high-resolution forecast data, including air temperature, wave height, and wind speed for a specified coordinate. The GET Historical endpoint provides historical weather data, including similar metrics, starting from 2014.
Key fields in the response data include "airTemperature," "waveHeight," and "windSpeed," each containing values from various data sources like ECMWF, NOAA, and SG, along with a timestamp for each data point.
The response data is structured as an array of hourly data points, each containing metrics like air temperature, wave height, and wind speed, along with their respective source values and a timestamp.
The GET Weather endpoint provides forecast data for air temperature, wave height, and wind speed. The GET Historical endpoint offers similar historical data, allowing users to analyze past weather conditions.
The API aggregates data from multiple high-performing weather data sources, including ECMWF, NOAA, and MetNo, ensuring a comprehensive and reliable weather forecast and historical data.
Users can customize their requests by specifying geographic coordinates (latitude and longitude) for the GET Weather and GET Historical endpoints, allowing for targeted weather data retrieval.
Typical use cases include marine navigation, outdoor event planning, agricultural forecasting, and climate research, where accurate weather data is crucial for decision-making.
Users can analyze the returned data to identify weather trends, compare forecast accuracy across sources, and visualize changes over time, aiding in informed planning and operational decisions.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund