Weather API returns the current weather, hourly and daily forecasts and the weather along a route for one or more coordinates, with the official weather warnings, in metric or imperial units, optionally with translated labels.
The weather now at each point. Without details=1 each point carries Temperature,
Sunrise, Sunset and the weather warnings; with it all current parameters.
The warnings array (inside parameters) lists every warning that has not ended yet,
including warnings published for a later start.
| lat | number [ -90 .. 90 ] Example: lat=45.65 Latitude of a single point, in degrees (with |
| lon | number [ -180 .. 180 ] Example: lon=25.6 Longitude of a single point, in degrees (with |
| coords | string Example: coords={45.65,25.60;40.71,-74.00} Several points, |
| unit | string Default: "metric" Enum: "metric" "imperial_uk" "imperial" "imperial_us" Unit system of the values ( |
| details | integer Default: 0 Enum: 0 1
|
| lang | string Example: lang=deu Adds the |
| geometry | string Enum: "geojson" "polyline" "1" Adds each warning's area: |
| format | string Default: "json" Value: "json" Response format |
| Authorization required | string User API token |
| unit | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Translations) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Units) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Info) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Error | string |
{- "unit": "metric",
- "CurrentWeather": [
- {
- "latitude": 45.65,
- "longitude": 25.6,
- "UpdateTime": 1795430400,
- "CurrentParameters": {
- "date": 1795430727,
- "WeatherConditions": "Light rain",
- "daylight": "day",
- "parameters": {
- "Temperature": 4,
- "DewPoint": 1,
- "Pressure": 997,
- "Visibility": 1.78,
- "Humidity": 97,
- "UV": 0,
- "WindSpeed": 11,
- "WindDirection": 91,
- "AirQuality": 8,
- "FeelsLike": 1,
- "SnowDepth": 0.2,
- "warnings": [
- {
- "translationString": "EUSI.E",
- "warningLevel": "yellow",
- "warningSeverityRank": 208,
- "warningPhenomenon": "ninsori viscolite; intensificări ale vântului",
- "warningDescription": "Atenționare meteorologică: ninsori viscolite; intensificări ale vântului",
- "warningStartDate": "2026-11-24T08:00:00Z",
- "warningEndDate": "2026-11-24T18:00:00Z",
- "countyName": "Brașov"
}
], - "Sunrise": 1795411656,
- "Sunset": 1795444796
}
}
}
], - "info": {
- "copyrights": [
- "MagicLane"
]
}
}One condition object per forecast hour. Without details=1 each hour carries
Temperature; with it all hourly parameters; with details=1&extended=1 also
Precipitation.
| lat | number [ -90 .. 90 ] Example: lat=45.65 Latitude of a single point, in degrees (with |
| lon | number [ -180 .. 180 ] Example: lon=25.6 Longitude of a single point, in degrees (with |
| coords | string Example: coords={45.65,25.60;40.71,-74.00} Several points, |
| unit | string Default: "metric" Enum: "metric" "imperial_uk" "imperial" "imperial_us" Unit system of the values ( |
| details | integer Default: 0 Enum: 0 1
|
| extended | integer Default: 0 Enum: 0 1
|
| lang | string Example: lang=deu Adds the |
| noHours | integer [ 0 .. 240 ] Default: 48 Number of hours to return (at most 240) |
| startingWith | integer <int64> Unix timestamp in seconds of the first hour to return, when it lies in the future (default the first forecast hour) |
| format | string Default: "json" Value: "json" Response format |
| Authorization required | string User API token |
| unit | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Translations) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Units) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Info) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Error | string |
{- "unit": "metric",
- "Hourly forecast": [
- {
- "latitude": 45.65,
- "longitude": 25.6,
- "UpdateTime": 1795424400,
- "hourlyWeatherParameters": [
- {
- "date": 1795428000,
- "WeatherConditions": "Light rain",
- "daylight": "day",
- "parameters": {
- "Temperature": 4,
- "DewPoint": 1,
- "Pressure": 997,
- "Precipitation": 1.5,
- "Humidity": 97,
- "UV": 0,
- "WindSpeed": 11,
- "WindDirection": 91,
- "Snowfall": 0.1,
- "SnowDepth": 0,
- "FeelsLike": 3
}
}, - {
- "date": 1795431600,
- "WeatherConditions": "Light snow",
- "daylight": "day",
- "parameters": {
- "Temperature": 2,
- "DewPoint": 0,
- "Pressure": 1004,
- "Precipitation": 1,
- "Humidity": 99,
- "UV": 0,
- "WindSpeed": 9,
- "WindDirection": 118,
- "Snowfall": 0.7,
- "SnowDepth": 0.2,
- "FeelsLike": 0
}
}
]
}
], - "info": {
- "copyrights": [
- "MagicLane"
]
}
}One condition object per local calendar day of the point. Without details=1 each day
carries TemperatureHigh and TemperatureLow; details=1 adds Snowfall and
SnowDepth; details=1&extended=1 adds Precipitation, Humidity, UV,
WindSpeed, WindGust, WindDirection or WindDirectionVariable, FeelsLikeHigh
and FeelsLikeLow.
| lat | number [ -90 .. 90 ] Example: lat=45.65 Latitude of a single point, in degrees (with |
| lon | number [ -180 .. 180 ] Example: lon=25.6 Longitude of a single point, in degrees (with |
| coords | string Example: coords={45.65,25.60;40.71,-74.00} Several points, |
| unit | string Default: "metric" Enum: "metric" "imperial_uk" "imperial" "imperial_us" Unit system of the values ( |
| details | integer Default: 0 Enum: 0 1
|
| extended | integer Default: 0 Enum: 0 1
|
| lang | string Example: lang=deu Adds the |
| noDays | integer [ 0 .. 10 ] Default: 10 Number of days to return (at most 10) |
| startingWith | integer <int64> Unix timestamp in seconds of the first day to return. The days before it count toward |
| format | string Default: "json" Value: "json" Response format |
| Authorization required | string User API token |
| unit | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Translations) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Units) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Info) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Error | string |
{- "unit": "metric",
- "Daily forecast": [
- {
- "latitude": 45.65,
- "longitude": 25.6,
- "UpdateTime": 1795392000,
- "dailyWeatherParameters": [
- {
- "date": 1795392000,
- "WeatherConditions": "Mixture of precipitations",
- "parameters": {
- "TemperatureHigh": 4,
- "TemperatureLow": -2,
- "Snowfall": 4.2,
- "SnowDepth": 2.6,
- "Precipitation": 6.5,
- "Humidity": 91,
- "UV": 0,
- "WindSpeed": 21,
- "WindGust": 52,
- "WindDirection": 117,
- "FeelsLikeHigh": 1,
- "FeelsLikeLow": -7
}
}, - {
- "date": 1795478400,
- "WeatherConditions": "Partly cloudy",
- "parameters": {
- "TemperatureHigh": 1,
- "TemperatureLow": -5,
- "Snowfall": 0,
- "SnowDepth": 3.1,
- "Precipitation": 0,
- "Humidity": 78,
- "UV": 1,
- "WindSpeed": 6,
- "WindGust": 31,
- "WindDirectionVariable": 1,
- "FeelsLikeHigh": -1,
- "FeelsLikeLow": -8
}
}
]
}
], - "info": {
- "copyrights": [
- "MagicLane"
]
}
}Each point is answered for its timestamp: from 30 minutes in the past to 30 minutes ahead
with the current weather (values the current weather does not have, such as Precipitation,
come from the hourly forecast), later with the hourly forecast for that time.
A point more than 30 minutes in the past is answered with "Error": "No historical data".
The warnings valid at a point at its time are listed once in the top-level warnings
array and referenced from the point by index.
| coords required | string Example: coords={45.65,25.60,1795434334;44.43,26.10,1795437934} The route points with the time each is reached, |
| unit | string Default: "metric" Enum: "metric" "imperial_uk" "imperial" "imperial_us" Unit system of the values ( |
| details | integer Default: 0 Enum: 0 1
|
| extended | integer Default: 0 Enum: 0 1
|
| lang | string Example: lang=deu Adds the |
| geometry | string Enum: "geojson" "polyline" "1" Adds each warning's area: |
| format | string Default: "json" Value: "json" Response format |
| Authorization required | string User API token |
| unit | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (Warning) The warnings referenced by the route points, each once | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Translations) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Units) Only with | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Info) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Error | string |
{- "unit": "metric",
- "Weather route": [
- {
- "date": 1795434334,
- "WeatherConditions": "Light snow",
- "daylight": "day",
- "parameters": {
- "Temperature": 2,
- "DewPoint": 0,
- "Pressure": 1004,
- "Precipitation": 1,
- "Humidity": 99,
- "UV": 0,
- "WindSpeed": 9,
- "WindDirection": 118,
- "Snowfall": 0.7,
- "SnowDepth": 0.2,
- "FeelsLike": 0
}, - "latitude": 45.65,
- "longitude": 25.6,
- "warnings": [
- 0
]
}, - {
- "date": 1795437934,
- "WeatherConditions": "Light rain",
- "daylight": "day",
- "parameters": {
- "Temperature": 9,
- "DewPoint": 6,
- "Pressure": 1001,
- "Precipitation": 0.2,
- "Humidity": 82,
- "UV": 0,
- "WindSpeed": 29,
- "WindDirection": 88,
- "Snowfall": 0,
- "SnowDepth": 0,
- "FeelsLike": 5
}, - "latitude": 44.43,
- "longitude": 26.1
}
], - "warnings": [
- {
- "translationString": "EUSI.E",
- "warningLevel": "yellow",
- "warningSeverityRank": 208,
- "warningPhenomenon": "ninsori viscolite moderate cantitativ, strat de zăpadă și intensificări ale vântului",
- "warningDescription": "Avertizare meteorologică: ninsori viscolite moderate cantitativ, strat de zăpadă și intensificări ale vântului",
- "warningStartDate": "2026-11-23T08:00:00Z",
- "warningEndDate": "2026-11-24T00:00:00Z",
- "countyName": "Brașov"
}
], - "info": {
- "copyrights": [
- "MagicLane"
]
}
}