Overview
Global marine weather from multiple sources
Storm Glass is a weather API from stormglass.io. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 1 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Weather
- Base URL
https://api.stormglass.io/- Version
- 1.0.1
- Endpoints
- 1
- OpenAPI
- Specification ↗
- Spec updated
- 2019-11-13
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.stormglass.io/forecast" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.stormglass.io/forecast", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.stormglass.io/forecast",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /forecast | Get hourly forecasts by coordinates |
Questions
Does the Storm Glass API need an API key?
Yes. The Storm Glass API uses API key authentication; the documentation explains how to get credentials.
Can I call the Storm Glass API from the browser?
Yes. The Storm Glass API sends CORS headers, so a web page can call it directly with fetch().
Does the Storm Glass API support HTTPS?
Yes, the Storm Glass API is served over HTTPS.
How many endpoints does the Storm Glass API have?
Its OpenAPI description lists 1 endpoint in version 1.0.1. All of them are shown on this page.
What are alternatives to the Storm Glass API?
Other Weather APIs include NOAA CO-OPS, NASA POWER, US Weather, AccuWeather, Aemet.
Similar weather APIs
Compare alternatives →NOAA CO-OPS
WeatherUS coastal tides, water levels, currents and meteorological observations
NASA POWER
WeatherGlobal solar and weather data for energy and agriculture
US Weather
WeatherUS National Weather Service
AccuWeather
WeatherWeather and forecast data
Aemet
WeatherWeather and forecast data from Spain
OpenWeatherMap
WeatherExplore OpenWeather's vast range of weather APIs including the versatile One Call API 4.0. Ideal for both beginners and professionals, our APIs offer current weather, minute-by-minute forecasts, historical data archives, and future predictions. Access weather data starting from 01-01-1979, global weather maps, solar irradiance predictions, air pollution data, and more. Our APIs support various for
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).