Weather Forecast API
Temperature, wind and gusts, rain, pressure, cloud cover and UV for any coordinates, up to 7 days ahead, with daily summaries.
50 free requests, no credit card.
GET/api/v1/weatherMonterey Bay, California
{
"lat": 36.62,
"lon": -121.9,
"timezone": "UTC",
"days": 1,
"source": "TidesAtlas weather engine — ECMWF-AIFS multi-model blend, bias-corrected & verified",
"daily": [
{
"date": "2026-10-18",
"temperature_max_c": 18.5,
"temperature_min_c": 16.4,
"precipitation_mm": 0,
"wind_max_kmh": 20.7,
"uv_index_max": 6.8,
"condition": "clear",
"sunrise": "14:16",
"sunset": "01:28"
},
{
"date": "2026-10-19",
"temperature_max_c": 17.2,
"temperature_min_c": 16.3,
"precipitation_mm": 0,
"wind_max_kmh": 23.8,
"uv_index_max": 2.4,
"condition": "clear",
"sunrise": "14:17",
"sunset": "01:27"
}
],
"hourly": [
{
…
Forecast rangeup to 7 days
Time step3 hours (UTC)
ModelECMWF AIFS multi-model blend
Coverageworldwide
Request
GEThttps://tidesatlas.com/api/v1/weather
| Parameter | Type | Description |
|---|---|---|
lat, lon | float | Coordinates (decimal degrees). |
port | string | Instead of lat/lon: a station slug from /api/v1/ports. |
days | int | 1 to 7. Default 3. |
X-API-Key | header | Your API key (or ?api_key= in the query string). |
Code examples
curl "https://tidesatlas.com/api/v1/weather?lat=36.62&lon=-121.90&days=1" \ -H "X-API-Key: YOUR_KEY"
const params = new URLSearchParams({ lat: 36.62, lon: -121.90, days: 1 });
const res = await fetch(`https://tidesatlas.com/api/v1/weather?${params}`, {
headers: { 'X-API-Key': 'YOUR_KEY' }
});
const data = await res.json();import requests
r = requests.get(
"https://tidesatlas.com/api/v1/weather",
params={"lat": 36.62, "lon": -121.90, "days": 1},
headers={"X-API-Key": "YOUR_KEY"},
timeout=30,
)
data = r.json()$ch = curl_init('https://tidesatlas.com/api/v1/weather?lat=36.62&lon=-121.90&days=1');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-API-Key: YOUR_KEY'],
]);
$data = json_decode(curl_exec($ch), true);Response
Real response for Monterey Bay, California, 18 October 2026 (arrays shortened).
{
"lat": 36.62,
"lon": -121.9,
"timezone": "UTC",
"days": 1,
"source": "TidesAtlas weather engine — ECMWF-AIFS multi-model blend, bias-corrected & verified",
"daily": [
{
"date": "2026-10-18",
"temperature_max_c": 18.5,
"temperature_min_c": 16.4,
"precipitation_mm": 0,
"wind_max_kmh": 20.7,
"uv_index_max": 6.8,
"condition": "clear",
"sunrise": "14:16",
"sunset": "01:28"
},
{
"date": "2026-10-19",
"temperature_max_c": 17.2,
"temperature_min_c": 16.3,
"precipitation_mm": 0,
"wind_max_kmh": 23.8,
"uv_index_max": 2.4,
"condition": "clear",
"sunrise": "14:17",
"sunset": "01:27"
}
],
"hourly": [
{
"datetime": "2026-10-18T06:00:00+00:00",
"temperature_c": 18.5,
"feels_like_c": 18.5,
"humidity_pct": 81,
"precipitation_mm": 0,
"pressure_hpa": 1015.6,
"cloud_cover_pct": 0,
"wind_speed_kmh": 7.2,
"wind_direction_deg": 333,
"wind_gust_kmh": 9,
"uv_index": 0,
"condition": "clear"
},
{
"datetime": "2026-10-18T09:00:00+00:00",
"temperature_c": 18.2,
"feels_like_c": 18.2,
"humidity_pct": 82,
"precipitation_mm": 0,
"pressure_hpa": 1015.3,
"cloud_cover_pct": 0,
"wind_speed_kmh": 11.4,
"wind_direction_deg": 289,
"wind_gust_kmh": 11.4,
"uv_index": 0,
"condition": "clear"
}
]
}| Field | Meaning |
|---|---|
hourly[].temperature_c / feels_like_c | Air temperature and apparent temperature, °C |
hourly[].wind_speed_kmh / wind_gust_kmh / wind_direction_deg | Wind at 10 m and gusts, km/h; direction wind comes from |
hourly[].precipitation_mm | Precipitation over the step, mm |
hourly[].pressure_hpa / humidity_pct / cloud_cover_pct | Sea-level pressure, relative humidity, cloud cover |
hourly[].uv_index | UV index |
hourly[].condition | One of clear, mostly_clear, partly_cloudy, overcast, fog, light_rain, rain, showers, thunderstorm, snow… (WMO codes) |
daily[] | Min/max temperature, total rain, max wind, max UV, condition, sunrise and sunset |
Data sources
Forecasts come from our own weather engine: a blend of ECMWF AIFS, DWD ICON and NOAA models, bias-corrected against live station observations and continuously verified.
Good to know
- Times are in UTC with
lat/lon, includingsunrise/sunsetindaily. - Steps are 3 hours. Each requested point is cached for up to 3 hours and never reused across UTC days.
- For minute-by-minute rain use
/api/v1/radar; for sea conditions use the Marine API.
FAQ
Do I need a separate key for weather?
No. One API key covers every endpoint included in your pack.
Can I get tides and weather in one call?
Use /api/v1/conditions, which combines weather, marine and astronomy for a point.
Which plans include it?
The Complete pack, which also includes tides, and the weather-only pack. New accounts get 50 free requests; see the docs for current prices.