# Yandex Weather Scraper (`searchapi/yandex-weather-scraper`) Actor

Scrapes current weather conditions and forecasts from Yandex Weather. Extracts temperature, feels-like, humidity, wind, pressure, UV index, hourly/daily forecast, and more.

- **URL**: https://apify.com/searchapi/yandex-weather-scraper.md
- **Developed by:** [Search API](https://apify.com/searchapi) (community)
- **Categories:** Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Yandex Weather Scraper

Scrapes current weather conditions and forecasts from Yandex Weather. Extracts temperature, feels-like, humidity, wind, pressure, UV index, hourly/daily forecast, and more.

### What this Actor collects

The Actor creates one dataset item for the requested location, with current conditions and optional hourly or daily forecast arrays.

- Uses the input limits and filters below to control the crawl.
- Stores source-backed fields defined by the 23-field dataset schema.
- Optional condition, atmosphere, sun, and forecast fields are populated only when Yandex exposes them.

### Use cases

- Forecast monitoring
- Location-based planning
- Weather-data enrichment

### Input

Provide input in JSON. Fields marked required must be supplied; source-specific alternatives and constraints are described in the field text.

| Field | Type | Required | Default | Description |
| --- | --- | :---: | --- | --- |
| `location` | string | Yes | — | City or location name for weather data (e.g. `London`, `Moscow`, or `New York`). |
| `language` | string | No | `"en"` | Language code for weather display (e.g. 'en', 'ru'). |
| `proxyConfiguration` | object | No | — | Proxy settings for the scraper. |

#### Example input

```json
{
  "location": "London",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Output

The default dataset contains one item for the requested location. Current-condition fields and forecast arrays are included only when Yandex exposes them.

| Field | Type | Description |
| --- | --- | --- |
| `location` | string | Location |
| `temperature` | number | Temperature |
| `condition` | string | Condition |
| `feelsLike` | number | Feels Like |
| `humidity` | integer | Humidity |
| `windSpeed` | number | Wind Speed |
| `pressureHpa` | integer | Pressure (hPa) |
| `date` | string | Date |
| `type` | string | Type |
| `description` | string | Description |
| `scrapedAt` | string | Scraped At |
| `temperatureUnit` | string | Temperature Unit |
| `windDirection` | string | Wind Direction |
| `pressureMm` | integer | Pressure (mm) |
| `uvIndex` | number | UV Index |
| `visibility` | number | Visibility |

<details>
<summary>All 23 declared dataset fields</summary>

`type`, `location`, `temperature`, `temperatureUnit`, `feelsLike`, `condition`, `description`, `humidity`, `windSpeed`, `windDirection`
`pressureMm`, `pressureHpa`, `uvIndex`, `visibility`, `cloudCover`, `precipitation`, `sunrise`, `sunset`, `forecast`, `hourlyForecast`
`date`, `scrapedAt`, `searchMetadata`

</details>

#### Example dataset item

This compact example is a subset of one item in local Actor storage; every displayed value is unmodified.

```json
{
  "location": "London",
  "temperature": 19,
  "feelsLike": 24,
  "humidity": 39,
  "date": "2026-07-23",
  "type": "weather",
  "description": "More",
  "scrapedAt": "2026-07-23T12:39:41.165Z",
  "temperatureUnit": "C",
  "uvIndex": 5,
  "cloudCover": 25,
  "precipitation": 25
}
```

### Related Actors

- [Yandex AI Overview Scraper](https://apify.com/searchapi/yandex-ai-overview-scraper)
- [Yandex Images Scraper](https://apify.com/searchapi/yandex-image-scraper)
- [Yandex Maps Scraper](https://apify.com/searchapi/yandex-maps-scraper)

# Actor input Schema

## `location` (type: `string`):

City or location name for weather data (e.g. 'London', 'Moscow', 'New York').

## `language` (type: `string`):

Language code for weather display (e.g. 'en', 'ru').

## `proxyConfiguration` (type: `object`):

Proxy settings for the scraper.

## Actor input object example

```json
{
  "location": "London",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Canonical dataset schema for yandex-weather-scraper

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "London",
    "language": "en",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("searchapi/yandex-weather-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "location": "London",
    "language": "en",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("searchapi/yandex-weather-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "London",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call searchapi/yandex-weather-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=searchapi/yandex-weather-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/pdeEYKfkSRfelyfZW/builds/OzpbXELPDrm3rPgrP/openapi.json
