Storm Glass API

Weather / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Storm Glass provides detailed marine and weather forecasts combining data from multiple global meteorological sources such as NOAA, SMHI, and the Norwegian Meteorological Institute. It is designed for marine applications including sailing, surfing, and fishing, offering wave height, wind, tide, and ocean current data. Beginners can query any coastal or ocean coordinate to get a multi-source weather forecast with hourly resolution.

💡

Beginner Tip

Sign up at stormglass.io for a free tier with 10 requests per day. Each request returns up to 48 hours of hourly forecast data, so plan your queries carefully to stay within the free limit.

Available Data

temperature
weather conditions
humidity
wind speed
forecast data

Example Response

JSON Response
{
  "location": "Tokyo",
  "temperature": {
    "current": 22,
    "feels_like": 24,
    "min": 18,
    "max": 26
  },
  "condition": "Partly Cloudy",
  "humidity": 65,
  "wind": {
    "speed": 12,
    "direction": "NE"
  },
  "forecast": [
    {
      "date": "2025-01-16",
      "high": 25,
      "low": 17,
      "condition": "Sunny"
    }
  ]
}

Field Reference

hours Array of hourly forecast objects, each containing multiple weather parameter values from different sources
hours[].time ISO 8601 timestamp for each hourly data point
hours[].waveHeight Array of wave height values in meters from multiple data sources
hours[].windSpeed Array of wind speed values in meters per second from multiple sources
hours[].airTemperature Air temperature values in Celsius from multiple meteorological sources
meta.requestCount Number of API requests used so far today against your daily quota

Implementation Example

const url = "https://stormglass.io/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or incorrect Authorization header
Pass your API key in the Authorization header as a plain string, not as Bearer token
402 Payment Required Daily request quota exhausted on the free plan
You only get 10 free requests per day; cache results and upgrade if you need more volume
Empty hours array Requesting a location with no model coverage such as inland areas far from coasts
Storm Glass is optimized for marine data; use land-based weather APIs for inland locations

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Weather
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →