Yandex.Weather API

Weather / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Yandex.Weather API provides detailed weather condition assessments for specific geographic locations using Yandex's meteorological data infrastructure, with particularly strong coverage across Russia and CIS countries. It delivers current weather, hourly and 10-day forecasts, and includes UV index and pollen data. Beginners need to apply for API access through the Yandex developer console before making requests.

💡

Beginner Tip

Access requires approval from Yandex; apply through the developer console at yandex.com/dev/weather. Once approved, pass your key in the X-Yandex-API-Key request header, not as a query parameter.

Available Data

temperature
weather conditions
humidity
wind speed
forecast data

Example Response

JSON Response
{
  "location": "Tokyo",
  "temperature": {
    "current": 22,
    "feels_like": 24,
    "min": 18,
    "max": 26
  },
  "condition": "Partly Cloudy",
  "humidity": 65,
  "wind": {
    "speed": 12,
    "direction": "NE"
  },
  "forecast": [
    {
      "date": "2025-01-16",
      "high": 25,
      "low": 17,
      "condition": "Sunny"
    }
  ]
}

Field Reference

fact.temp Current air temperature in Celsius
fact.feels_like Perceived (feels like) temperature in Celsius accounting for wind and humidity
fact.condition Short code describing current weather condition such as clear, cloudy, or rain
fact.wind_speed Wind speed in meters per second
fact.humidity Relative humidity as a percentage
forecasts Array of daily forecast objects with parts (day/night) and hourly breakdowns

Implementation Example

const url = "https://yandex.com/dev/weather/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

403 Forbidden API key is missing, invalid, or not yet approved
Ensure you have submitted an access request and your key is passed in the X-Yandex-API-Key header
Response in Russian language lang parameter not specified in the request
Add lang=en_US to get English-language descriptions; supported languages include en_US and ru_RU
400 Bad Request for lat/lon Coordinates are missing or out of valid range
lat must be between -90 and 90, lon between -180 and 180; both are required parameters

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 9/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS NO
Category Weather
Difficulty Intermediate
Verified: 2026-04-07

Similar APIs

View All →