Forecast
Retrieve weather forecast data.
Use this endpoint to get forecast weather information for a specific location. Supports hourly, minutely, and daily timelines with multiple weather metrics.
Query Parameters
latstring
Latitute coordinate (decimal).
lonstring
Longitute coordinate (decimal).
fields?string
Comma-separated list of weather fields to include.
apikeystring
Your API key for authentication.
Response Body
application/json
curl -X GET "https://api.climateforte.com/v1/weather/forecast?lat=string&lon=string&apikey=string"{
"location": {
"lat": 40.7128,
"lon": -74.006
},
"data": {
"timelines": {
"hourly": [
{
"time": "2025-01-10T10:00:00Z",
"values": {
"temperature": 4.2,
"temperatureApparent": 1,
"dewPoint": 0.5,
"windSpeed": 5.7,
"windGust": 8.3,
"windDirection": 135,
"humidity": 62,
"pressureSurfaceLevel": 1015.2,
"precipitationIntensity": 0,
"precipitationProbability": 10,
"cloudCover": 20,
"visibility": 10,
"weatherCode": 1000,
"uvIndex": 0,
"ozone": 300,
"soilMoisture": 0.12,
"snowAccumulation": 0,
"lightningProbability": 0
}
}
]
}
}
}