Swellcloud Surf Forecast API - Professional Marine Weather API
The Swellcloud Surf Forecast API is a comprehensive marine weather API and surf forecasting API providing real-time wave forecast data, wind conditions, and secondary swell information. Our marine API delivers high-resolution global wave forecasts with support for multiple forecast models including GFS and CMEMS. Access wave height, period, direction, wind speed, wind direction, secondary swell, and wind wave data through our RESTful surf forecast API. Perfect for surf forecasting applications, marine weather services, and ocean data integration.
Location and Time
Click map to position marker
Marine Weather Variables
Model Selection
API Response
Request URL
JSON Response
// Click "Run Query" to see response...
Wave Height & Period Forecast
Forecast Charts
Surf Forecast API Documentation
Endpoint
Authentication
All API requests require an API key sent via the X-API-Key header.
Playground Test Key:
test_playground_key_12345
Limited to playground testing only
Production API Key:
For regular use, request your API key by emailing info@swellcloud.net
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
lat |
float | required | Latitude (-90 to 90) |
lon |
float | required | Longitude (-180 to 180) |
vars |
string | hs,tp,dp,ss_hs,ss_dp,ww_hs,ww_dp | Comma-separated: hs, tp, dp, ss_hs, ss_dp, ww_hs, ww_dp, wndspd, wnddir |
model |
string | gfs | Wave model: gfs (Swellcloud) or cmems-global |
units |
string | si | si (meters, m/s) or uk (feet, mph) |
start |
ISO 8601 | now | Start time (UTC), e.g. 2025-10-13T00:00Z |
end |
ISO 8601 | now+24h | End time (UTC) |
Example cURL
Variables
hs- Wave height (m or ft)tp- Peak wave period (s)dp- Wave direction (°)ss_hs- Secondary swell height (m or ft)ss_dp- Secondary swell direction (°)ww_hs- Wind wave height (m or ft)ww_dp- Wind wave direction (°)wndspd- Wind speed (mph by default, m/s with units=si)wnddir- Wind direction (°)