SYNOP Station data Run in API Explorer
Ask AI
Get local weather data from the specified station
GET
/weather/SYNOP/2/json
curl \
--request GET 'https://api.geoapi.me/weather/SYNOP/2/json?id=string' \
--header "X-Api-Key: $API_KEY"
Response examples (200)
{
"status": "OK",
"code": 200,
"content": {
"SYNOP": {
"message": "string",
"latest": {
"wid": "001030",
"visibility": 10000,
"temperature": 22.3,
"cloudCover": 87,
"cloudTypes": {
"cloudHigh": 66,
"cloudMiddle": 36,
"cloudLow": 53
},
"precipitation": 1.8,
"precipitationConvective": 1.1,
"timestamp": 1548237600
},
"history": {
"<pattern:UNIXTimestamp>": {
"wid": "001030",
"visibility": 10000,
"temperature": 22.3,
"cloudCover": 87,
"cloudTypes": {
"cloudHigh": 66,
"cloudMiddle": 36,
"cloudLow": 53
},
"precipitation": 1.8,
"precipitationConvective": 1.1,
"timestamp": 1548237600
}
}
}
}
}
Response examples (400)
{
"code": 400,
"status": "error",
"message": "Latitude range error"
}
Response examples (401)
{
"code": 401,
"status": "error",
"message": "Latitude range error"
}
Response examples (503)
{
"code": 503,
"status": "error",
"message": "[Geo]: DB Driver loading failed"
}