Welcome to the Spire Weather API documentation. This guide provides comprehensive information for integrating with Spire’s weather data services.
What is Spire Weather?¶
Spire Weather provides high-quality global weather data through a modern REST API. Our data is powered by proprietary satellite observations and advanced numerical weather prediction models.
Key Features¶
Global Coverage: Weather data available worldwide
Point Forecasts: Get forecasts for any latitude/longitude
File Downloads: Access complete forecast datasets in GRIB2 format
Route Forecasts: Weather along shipping routes and flight paths
Historical Data: Access archived weather data
Real-time Updates: Regularly updated forecast cycles
Quick Links¶
New to Spire Weather? Start here to learn about authentication and basic concepts.
Practical guides: forecast schedule, handling updating forecasts, accumulated data, API trial, and more.
Complete documentation of all API endpoints, parameters, and responses.
Jupyter notebooks demonstrating common workflows with live code examples.
Available Products¶
| Product | Description |
|---|---|
| Point Forecasts | JSON forecasts for specific locations (Point Forecast) |
| File Products | GRIB2 files for regional/global coverage |
| Current Weather | Real-time weather observations |
| Storm Tracks | Tropical cyclone tracking and forecasts |
| Soil Moisture | Agricultural and land surface data (Soil Moisture) |
| Tides | Tidal predictions and extrema |
| Lightning | Lightning strike data |
| Maritime Insights | Route Forecast-optimized marine forecasts |
Support¶
For API access and support, contact the Spire Weather team at weather@spire.com.
Local Preview¶
If you see “Site not loading correctly? This may be due to an incorrect BASE_URL configuration”, the theme’s CSS may not be loading. Try these fixes:
Option 1: Use the .env file (recommended)
A .env file with BASE_URL=/ is included. Restart myst start after creating or editing it.
Option 2: Set the environment variable when starting
# For myst start (live server) — try both:
BASE_URL=/ myst start
# or
BASE_URL="" myst start
# For static build + serve
BASE_URL=/ myst build --html
npx serve _build/htmlOption 3: Use static build for sharing
Static HTML often works better for local preview. Build and serve:
myst build --html
npx serve _build/htmlThen open the URL shown (e.g. http://localhost:3000).
External Resources¶
Swagger UI - Interactive API explorer
Spire Weather Website - Product information
Spire Satellites - Information about the Spire satellite constellation