Weather API
REST API documentation and examples.
Endpoint
GET /api/weather?city=Moscow&date=2026-09-08
Response (JSON)
{
"city": "Moscow",
"date": "2026-09-08",
"temperature": 18,
"humidity": 65,
"wind_speed": 3.2,
"precipitation": "cloudy"
}
Error codes
| Code | Description |
|---|---|
| 400 | Invalid parameters |
| 404 | Data not found |