# Yandex AI Overview Scraper (`scrapeai/yandex-ai-overview-scraper`) Actor

Scrapes AI-generated overview responses (Alice AI / Neuro summary / smart answers), cited sources, key takeaways, and search results from Yandex Search.

- **URL**: https://apify.com/scrapeai/yandex-ai-overview-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** Developer tools, AI, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## 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 AI Overview Scraper

Scrape AI-generated responses (**Alice AI**, **Yandex Neuro summary**, and smart answer blocks) from Yandex Search results in real-time. Extracts the full AI answer text, structured Markdown format, key takeaway bullet points, cited source URLs, follow-up suggested queries, and top organic SERP results.

***

### 🌟 Key Features

- **⚡ Real-time AI Overview Extraction**: Captures live AI-generated summaries (Neuro / Alice AI / Smart Answers) directly from Yandex Search.
- **📝 Formatted Markdown & Key Takeaways**: Returns both plain text and structured Markdown summaries with parsed bullet points (`keyPoints`).
- **🔗 Cited Sources & Domains**: Extracts all citation links with title, clean destination URL, domain, position rank, and context snippets.
- **💡 Suggested Follow-up Questions**: Gathers related queries and prompt suggestions generated for the search topic.
- **🌐 Top Organic SERP Results**: Optionally extracts top organic search results (title, link, domain, snippet) for complete SERP context.
- **🎯 Dynamic Multi-Query & Batch Processing**: Run single queries or batch lists of topics in a single run.
- **🌍 International & Localized Search**: Supports multi-language and country region codes (e.g. `en`, `ru`, `us`, `by`, `kz`).
- **🛡️ Anti-Detection & Proxy Ready**: Built-in stealth headers, anti-bot evasions, and native Apify residential proxy integration.

***

### 📋 Sample Output Record

```json
{
  "query": "what is artificial intelligence",
  "searchUrl": "https://yandex.com/search/?text=what+is+artificial+intelligence&lr=84",
  "language": "en",
  "country": "us",
  "hasAiOverview": true,
  "aiOverview": "Artificial intelligence (AI) is the capability of computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, and natural language processing.",
  "aiOverviewMarkdown": "Artificial intelligence (AI) is the capability of computational systems to perform tasks typically associated with human intelligence.\n\n**Key Takeaways:**\n- Enables machine learning and neural network processing\n- Widely applied in computer vision, robotics, and natural language processing\n- Powers predictive models and autonomous decision-making systems",
  "aiBlockType": "NeuroSummary",
  "keyPoints": [
    "Enables machine learning and neural network processing",
    "Widely applied in computer vision, robotics, and natural language processing",
    "Powers predictive models and autonomous decision-making systems"
  ],
  "sources": [
    {
      "position": 1,
      "title": "Artificial intelligence - Wikipedia",
      "url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
      "domain": "wikipedia.org",
      "snippet": "Artificial intelligence (AI) is the intelligence of machines or software..."
    },
    {
      "position": 2,
      "title": "What is Artificial Intelligence (AI)? | IBM",
      "url": "https://www.ibm.com/topics/artificial-intelligence",
      "domain": "ibm.com",
      "snippet": "Artificial intelligence leverages computers and machines to mimic human problem-solving..."
    }
  ],
  "suggestedQueries": [
    "how does machine learning work",
    "types of artificial intelligence",
    "applications of ai in healthcare"
  ],
  "organicResults": [
    {
      "rank": 1,
      "title": "What is Artificial Intelligence? | IBM",
      "url": "https://www.ibm.com/topics/artificial-intelligence",
      "domain": "ibm.com",
      "snippet": "Artificial intelligence leverages computers and machines to mimic the problem-solving and decision-making capabilities of the human mind."
    }
  ],
  "searchMetadata": {
    "pageTitle": "what is artificial intelligence — Yandex: found 126 thousand results",
    "totalOrganicFound": 10,
    "sourcesCount": 2,
    "hasAiSummary": true
  },
  "scrapedAt": "2026-08-20T12:30:00.000Z",
  "status": "success"
}
```

***

### ⚙️ Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `query` | `string` | `"what is artificial intelligence"` | Single search query to look up on Yandex. |
| `queries` | `array` | `[]` | Optional list of search queries to scrape in batch. |
| `language` | `string` | `"en"` | Language code (e.g. `'en'` for English, `'ru'` for Russian). |
| `country` | `string` | `""` | Country/region code for localized results (e.g. `'us'`, `'ru'`, `'kz'`, `'by'`). |
| `includeOrganicResults` | `boolean` | `true` | Include top organic search results alongside the AI overview. |
| `maxItems` | `integer` | `10` | Maximum number of queries to process (min: `1`, max: `100`). |
| `proxyConfiguration` | `object` | `{ "useApifyProxy": true }` | Proxy configuration. Residential proxies are strongly recommended. |

#### Example Input JSON

```json
{
  "queries": [
    "what is artificial intelligence",
    "quantum computing explained"
  ],
  "language": "en",
  "country": "us",
  "includeOrganicResults": true,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📊 Output Fields Reference

| Field | Type | Description |
|---|---|---|
| `query` | `string` | The submitted search query. |
| `searchUrl` | `string` | The target search URL requested on Yandex. |
| `language` | `string` | Language code used for search. |
| `country` | `string` | Country/region code used for search (if specified). |
| `hasAiOverview` | `boolean` | `true` if an AI Overview/Neuro response was found, `false` otherwise. |
| `aiOverview` | `string` | Full plain text of the AI-generated answer summary. |
| `aiOverviewMarkdown` | `string` | Formatted Markdown text including paragraphs and bullet points. |
| `aiBlockType` | `string` | Identified AI block selector/type name. |
| `keyPoints` | `array` | Key takeaways and summary bullet points. |
| `sources` | `array` | Array of cited source objects (`position`, `title`, `url`, `domain`, `snippet`). |
| `suggestedQueries` | `array` | Follow-up search suggestions and related questions. |
| `organicResults` | `array` | Top organic search result previews (`rank`, `title`, `url`, `domain`, `snippet`). |
| `searchMetadata` | `object` | SERP metadata including page title and result counts. |
| `scrapedAt` | `string` | ISO 8601 timestamp when scraped. |
| `status` | `string` | Status of the record (`"success"`). |

***

### 🚀 How to Run

#### Run on Apify Platform

1. Go to the **Yandex AI Overview Scraper** Actor on [Apify Console](https://console.apify.com).
2. Enter your search query or list of queries.
3. Configure `language` and proxy settings (Residential proxy recommended).
4. Click **Start**.
5. Export your results in JSON, CSV, Excel, or HTML format.

#### Run Locally

```bash
## Install dependencies
npm install

## Run the actor
npm start

## Validate the generated dataset
node validate-datasets.js
```

***

### 💡 Best Practices & Tips

- **Residential Proxies**: Yandex SERP actively deploys SmartCaptcha challenges on datacenter IPs. Using **Apify Residential Proxies** ensures highest success rates.
- **Language Selection**: Yandex's Neuro AI summary is most active and rich on Russian (`ru`) and English (`en`) queries.
- **Batch Processing**: Use the `queries` input array to process multiple keywords seamlessly in a single Actor run.

# Actor input Schema

## `query` (type: `string`):

Primary search query to look up on Yandex.

## `queries` (type: `array`):

Optional list of search queries to scrape in batch (e.g. for multiple keywords or topics).

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

Language code for search results (e.g. 'en' for English, 'ru' for Russian).

## `country` (type: `string`):

Country code for localized search results (e.g. 'us', 'ru', 'by', 'kz').

## `includeOrganicResults` (type: `boolean`):

Whether to extract top organic search results alongside the AI overview for additional SERP context.

## `maxItems` (type: `integer`):

Maximum number of queries to process.

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

Proxy settings for the scraper. Residential proxies are strongly recommended to avoid CAPTCHAs.

## Actor input object example

```json
{
  "query": "what is artificial intelligence",
  "queries": [
    "what is artificial intelligence",
    "quantum computing basics"
  ],
  "language": "en",
  "country": "",
  "includeOrganicResults": true,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped AI overview and search results

# 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 = {
    "query": "what is artificial intelligence",
    "queries": [
        "what is artificial intelligence",
        "quantum computing basics"
    ],
    "language": "en",
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/yandex-ai-overview-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 = {
    "query": "what is artificial intelligence",
    "queries": [
        "what is artificial intelligence",
        "quantum computing basics",
    ],
    "language": "en",
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

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

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

```

## CLI example

```bash
echo '{
  "query": "what is artificial intelligence",
  "queries": [
    "what is artificial intelligence",
    "quantum computing basics"
  ],
  "language": "en",
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapeai/yandex-ai-overview-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/yandex-ai-overview-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/x9KUgtBX1h6zpGR9z/builds/1GyaX4OfEV7F036P6/openapi.json
