# Yandex Maps Scraper · Парсер Яндекс Карт (`theshark/yandex-maps-scraper`) Actor

Yandex Maps businesses by query and city or by link: phones, websites, social links, emails, address, hours, rating, photos and menu. Организации Яндекс Карт по запросу и городу или по ссылке: телефоны, сайты, соцсети, почта, адрес, часы, рейтинг, фото и меню.

- **URL**: https://apify.com/theshark/yandex-maps-scraper.md
- **Developed by:** [TheShark](https://apify.com/theshark) (community)
- **Categories:** Lead generation, Travel, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.24 / 1,000 organizations

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Yandex Maps Scraper · Парсер Яндекс Карт

Scrape **businesses from Yandex Maps** (yandex.ru/maps): enter what to search for (`кафе`, `стоматология`, `автосервис`)
and where (`Казань`, `Москва Арбат`, or a point with a radius), or paste Yandex Maps links — and get a row per
organization: name, categories, address and its parts, coordinates, **phones, websites, WhatsApp, Telegram and other
social links**, opening hours, open now, rating, ratings and reviews count, photos, logo, features, popular dishes or
services with prices, popular times, metro and stops, chain, and the advertiser's legal name and INN. On request — the
**emails from the organization's website**, the full menu, all photos and posts. No Yandex account and no API key needed,
proxies included.

*Описание на русском — ниже, в разделе «По-русски».*

### Why this Actor

- **The whole city, past 1,000 places** — one Yandex Maps search stops at 1,000 places; when a search reaches that, the
  Actor splits its area into smaller map areas and searches each of them.
- **Lead filters that cost nothing** — only with a phone, only with a website, minimum reviews, skip closed places:
  places left out are not charged.
- **Yandex Maps' own filters** — minimum rating, open now or 24 hours, card payment, parking, Wi-Fi, delivery, price
  level, categories and chains by id or by name.
- **Emails from websites** — opens the organization's own website listed on Yandex Maps and adds the emails found there;
  charged only when an email is found.
- **Full menu, all photos, posts** — on request, each one request per organization.
- **Around a point** — latitude, longitude and a radius up to 100 km, nearest first if you like.
- **Any Yandex Maps link** — a search, a map view, a category, a chain, an organization, a short share link or an id.
- **Only new organizations** — a scheduled run delivers and charges only organizations it has not delivered before.
- **Five data languages** — Russian, English, Turkish, Kazakh, Ukrainian.

### What you can use it for

- **Lead generation** — local businesses with phones, websites, messengers and emails by category and city.
- **Market research** — how many cafes, clinics or shops a city has, their ratings, prices and opening hours.
- **Competitor analysis** — rivals around an address: rating, reviews count, features, menu and prices.
- **Local SEO and directories** — clean address, coordinates, categories and contacts for your own map or catalogue.

### How to use

1. Enter **Search queries** and **Locations** (every query runs in every location) — or a **Point** with a radius, or
   paste **Links** from Yandex Maps.
2. Set **Maximum organizations per run**.
3. Choose filters if you need them: **Yandex Maps filters** and **Leads**.
4. Turn on what else to collect: **Emails from websites**, **Full menu or price list**, **All photos**, **Posts**.
5. Run it — a row per organization appears in the dataset. For a scheduled run turn on **Only new organizations**.

### Input example

```json
{
  "queries": ["кафе", "стоматология"],
  "locations": ["Казань"],
  "max_items": 100,
  "with_phone": true,
  "site_emails": true
}
```

### Output example

A cafe from a real run (trimmed: long lists are shortened; the phone, email and the advertiser are replaced):

```json
{
  "id": "117242594967",
  "url": "https://yandex.ru/maps/org/kafe_la_vita/117242594967/",
  "name": "Кафе Ла Вита",
  "categories": ["Кафе", "кофейня", "пиццерия"],
  "category_ids": ["184106390", "35193114937", "184106392"],
  "address": "Чистопольская ул., 19А, Казань",
  "full_address": "Республика Татарстан (Татарстан), Казань, Чистопольская улица, 19А",
  "country": "Россия",
  "city": "Казань",
  "street": "Чистопольская улица",
  "house": "19А",
  "postal_code": "420124",
  "latitude": 55.819672,
  "longitude": 49.114692,
  "rating": 4.9,
  "ratings_count": 1233,
  "reviews_count": 612,
  "phones": ["+79170000000"],
  "websites": ["https://caffelavita.ru/"],
  "social_links": [],
  "hours_text": "пн-чт 10:00–23:00; пт,сб 10:00–00:00; вс 10:00–23:00",
  "hours": {
    "mon": ["10:00-23:00"], "tue": ["10:00-23:00"], "wed": ["10:00-23:00"], "thu": ["10:00-23:00"],
    "fri": ["10:00-24:00"], "sat": ["10:00-24:00"], "sun": ["10:00-23:00"]
  },
  "business_status": "open",
  "open_now": true,
  "open_status": "Открыто до 23:00",
  "popular_times": {
    "fri": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 54, 70, 73, 72, 72, 77, 87, 98, 100, 95, 83, 65, 42]
  },
  "photos": [
    "https://avatars.mds.yandex.net/get-altay/13220786/2a00000191054af1835194790a158c3b0381/orig",
    "https://avatars.mds.yandex.net/get-altay/240733/2a000001871315c894fc97b1080c1b3548cd/orig"
  ],
  "photos_count": 205,
  "logo": "https://avatars.mds.yandex.net/get-altay/6444937/2a0000018962ab14aab17be20627a2721735/orig",
  "features": {
    "цены": "выше среднего",
    "доставка еды": "Яндекс.Еда, собственная курьерская служба",
    "средний счёт": "450–1500 ₽",
    "кофе с собой": true,
    "еда навынос": true
  },
  "review_topics": [
    {"name": "Итальянская кухня", "count": 94},
    {"name": "Пицца", "count": 67}
  ],
  "panorama": {
    "id": "1366721371_672527333_23_1779968845",
    "preview": "https://static-pano.maps.yandex.ru/v1/?panoid=1366721371_672527333_23_1779968845&size=500%2C240&azimuth=70.7&tilt=10&api_key=maps",
    "latitude": 55.819639,
    "longitude": 49.114524
  },
  "booking_links": [],
  "summary": "Кафе La Vita предлагает своим гостям разнообразное меню, в котором представлены блюда итальянской кухни.\nПосетители отмечают, что паста и равиоли здесь очень вкусные…",
  "popular_items": [
    {"name": "Салат Оливье с чесночным багетом", "description": null, "price": 420, "currency": "₽", "volume": "252 г",
     "photo": "https://avatars.mds.yandex.net/get-eda/3491582/d9f188d97d6df38f9b3606a3fc1dda01/orig"}
  ],
  "menu_source": "Яндекс Еда",
  "menu": [],
  "posts": [],
  "emails": ["info@example.ru"],
  "metro": [
    {"name": "Козья слобода", "distance_m": 1086},
    {"name": "Яшьлек", "distance_m": 2746}
  ],
  "stops": [
    {"name": "Меридианная улица", "distance_m": 17}
  ],
  "chain": null,
  "chain_id": null,
  "good_place_year": 2026,
  "verified_owner": false,
  "sponsored": true,
  "legal_name": "ООО «Пример»",
  "inn": "1650000000",
  "source": "кафе Казань",
  "position": 1,
  "status": "ok"
}
```

### What you get

A row per organization: `id`, `url`, `name`, `categories`, `category_ids`, `address`, `full_address`, `country`, `city`,
`street`, `house`, `postal_code`, `latitude`, `longitude`, `rating`, `ratings_count`, `reviews_count`, `phones`,
`websites` (without ad tracking marks), `social_links` (WhatsApp, Telegram, VK, YouTube, MAX, OK and others),
`hours_text`, `hours` (by day), `business_status` (open, closed for good or temporarily), `open_now`, `open_status`,
`popular_times` (how busy the place is by hour, 0–100), `photos` (full size, up to 11), `photos_count`, `logo`,
`features` (average bill, Wi-Fi, parking…), `review_topics`, `panorama`, `booking_links`, `summary` (Yandex Maps' short
description of the place from its reviews), `popular_items` (up to 10 popular dishes, goods or services with prices),
`menu_source`, `metro` and `stops` with distances, `chain`, `chain_id`, `good_place_year` (the Yandex «Good place» award),
`verified_owner`, `sponsored`, `legal_name` and `inn` (the advertiser, for advertising places), `source`, `position` in
the search and `status`.

With **Emails from websites** — `emails`. With **Full menu or price list** — `menu` (section, name, description, price,
volume, photo). With **All photos** — every photo in `photos`. With **Posts** — `posts` (date, text, photos).

### Pricing

| Event | Price | What it is |
|---|---|---|
| `organization` | $0.24 / 1,000 | an organization row |
| `email` | $0.69 / 1,000 | an organization row with emails from its website (**Emails from websites**; only where an email was found) |
| `menu` | $0.62 / 1,000 | an organization row with the full menu or price list (**Full menu or price list**; only those that have one) |
| `photos` | $0.21 / 1,000 | an organization row with all its photos (**All photos**; only those with more than 11) |
| `posts` | $0.22 / 1,000 | an organization row with its posts (**Posts**; only those that have posts) |
| Actor start | $0.00004 | once per run |

For example, 1,000 organizations cost $0.24 + $0.00004 for the start; with emails found for 400 of them — $0.24 + $0.28.
Places left out by the lead filters, repeats and links that did not open are free. The **Pricing** tab always has the
up-to-date prices.

### Good to know

- One search gives up to 1,000 places, and Yandex Maps repeats some places between pages: the Actor returns and charges
  every organization once per run.
- Without **Locations** a query searches the place written in it («кафе Казань»), otherwise Moscow. Russian queries find
  more.
- Yandex Maps does not publish emails: they come from the organization's own website, only websites listed on Yandex Maps
  are opened.
- `summary` is in Russian whatever the data language.
- Prices are in rubles, distances in meters.

***

### По-русски

Собирает **организации Яндекс Карт** (yandex.ru/maps): задайте, что искать (`кафе`, `стоматология`, `автосервис`), и где
(`Казань`, `Москва Арбат` или точка с радиусом), или вставьте ссылки Яндекс Карт — и получите строку на организацию:
название, рубрики, адрес и его части, координаты, **телефоны, сайты, WhatsApp, Telegram и другие соцсети**, часы работы,
«открыто сейчас», рейтинг, число оценок и отзывов, фото, логотип, особенности, популярные блюда или услуги с ценами,
загруженность по часам, метро и остановки, сеть, а у рекламы — юрназвание и ИНН рекламодателя. По запросу — **почта с
сайта организации**, всё меню, все фото и посты. Аккаунт Яндекса и ключ API не нужны, прокси уже включены.

#### Зачем этот актор

- **Весь город, больше 1000 мест** — один поиск Яндекс Карт кончается на 1000 местах; если поиск до этого дошёл, актор
  делит его область на части поменьше и ищет в каждой.
- **Отбор для лидов бесплатно** — только с телефоном, только с сайтом, от N отзывов, без закрытых: отсеянные места не
  оплачиваются.
- **Фильтры самих Яндекс Карт** — рейтинг от, открыто сейчас или круглосуточно, оплата картой, парковка, Wi-Fi, доставка,
  уровень цен, рубрики и сети по номеру или по названию.
- **Почта с сайтов** — актор открывает сайт организации из Яндекс Карт и добавляет найденную там почту; оплата — только
  если почта нашлась.
- **Всё меню, все фото, посты** — по запросу, по одному запросу на организацию.
- **Вокруг точки** — широта, долгота и радиус до 100 км, по желанию — сначала ближние.
- **Любая ссылка Яндекс Карт** — поиск, окно карты, рубрика, сеть, организация, короткая ссылка «Поделиться» или номер.
- **Только новые организации** — запуск по расписанию отдаёт и оплачивает лишь те, что ещё не отдавал.
- **Пять языков данных** — русский, английский, турецкий, казахский, украинский.

#### Для чего подходит

- **Лиды** — местный бизнес с телефонами, сайтами, мессенджерами и почтой по рубрике и городу.
- **Исследование рынка** — сколько в городе кафе, клиник или магазинов, их рейтинги, цены и часы работы.
- **Анализ конкурентов** — соседи по адресу: рейтинг, число отзывов, особенности, меню и цены.
- **Локальное SEO и каталоги** — чистые адреса, координаты, рубрики и контакты для своей карты или справочника.

#### Как запустить

1. Введите **Поисковые запросы** и **Места** (каждый запрос идёт в каждом месте) — или **Точку** с радиусом, или вставьте
   **Ссылки** Яндекс Карт.
2. Задайте **Организаций за запуск, не больше**.
3. Если нужно, выберите фильтры: **Фильтры Яндекс Карт** и **Лиды**.
4. Включите, что ещё собрать: **Почта с сайтов**, **Всё меню или прайс**, **Все фото**, **Посты**.
5. Запустите — в датасете появится строка на каждую организацию. Для запуска по расписанию включите **Только новые
   организации**.

#### Пример входа

```json
{
  "queries": ["кафе", "стоматология"],
  "locations": ["Казань"],
  "max_items": 100,
  "with_phone": true,
  "site_emails": true
}
```

#### Пример результата

Кафе из настоящего запуска (сокращено: длинные списки подрезаны; телефон, почта и рекламодатель заменены):

```json
{
  "id": "117242594967",
  "url": "https://yandex.ru/maps/org/kafe_la_vita/117242594967/",
  "name": "Кафе Ла Вита",
  "categories": ["Кафе", "кофейня", "пиццерия"],
  "category_ids": ["184106390", "35193114937", "184106392"],
  "address": "Чистопольская ул., 19А, Казань",
  "full_address": "Республика Татарстан (Татарстан), Казань, Чистопольская улица, 19А",
  "country": "Россия",
  "city": "Казань",
  "street": "Чистопольская улица",
  "house": "19А",
  "postal_code": "420124",
  "latitude": 55.819672,
  "longitude": 49.114692,
  "rating": 4.9,
  "ratings_count": 1233,
  "reviews_count": 612,
  "phones": ["+79170000000"],
  "websites": ["https://caffelavita.ru/"],
  "social_links": [],
  "hours_text": "пн-чт 10:00–23:00; пт,сб 10:00–00:00; вс 10:00–23:00",
  "hours": {
    "mon": ["10:00-23:00"], "tue": ["10:00-23:00"], "wed": ["10:00-23:00"], "thu": ["10:00-23:00"],
    "fri": ["10:00-24:00"], "sat": ["10:00-24:00"], "sun": ["10:00-23:00"]
  },
  "business_status": "open",
  "open_now": true,
  "open_status": "Открыто до 23:00",
  "popular_times": {
    "fri": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 54, 70, 73, 72, 72, 77, 87, 98, 100, 95, 83, 65, 42]
  },
  "photos": [
    "https://avatars.mds.yandex.net/get-altay/13220786/2a00000191054af1835194790a158c3b0381/orig",
    "https://avatars.mds.yandex.net/get-altay/240733/2a000001871315c894fc97b1080c1b3548cd/orig"
  ],
  "photos_count": 205,
  "logo": "https://avatars.mds.yandex.net/get-altay/6444937/2a0000018962ab14aab17be20627a2721735/orig",
  "features": {
    "цены": "выше среднего",
    "доставка еды": "Яндекс.Еда, собственная курьерская служба",
    "средний счёт": "450–1500 ₽",
    "кофе с собой": true,
    "еда навынос": true
  },
  "review_topics": [
    {"name": "Итальянская кухня", "count": 94},
    {"name": "Пицца", "count": 67}
  ],
  "panorama": {
    "id": "1366721371_672527333_23_1779968845",
    "preview": "https://static-pano.maps.yandex.ru/v1/?panoid=1366721371_672527333_23_1779968845&size=500%2C240&azimuth=70.7&tilt=10&api_key=maps",
    "latitude": 55.819639,
    "longitude": 49.114524
  },
  "booking_links": [],
  "summary": "Кафе La Vita предлагает своим гостям разнообразное меню, в котором представлены блюда итальянской кухни.\nПосетители отмечают, что паста и равиоли здесь очень вкусные…",
  "popular_items": [
    {"name": "Салат Оливье с чесночным багетом", "description": null, "price": 420, "currency": "₽", "volume": "252 г",
     "photo": "https://avatars.mds.yandex.net/get-eda/3491582/d9f188d97d6df38f9b3606a3fc1dda01/orig"}
  ],
  "menu_source": "Яндекс Еда",
  "menu": [],
  "posts": [],
  "emails": ["info@example.ru"],
  "metro": [
    {"name": "Козья слобода", "distance_m": 1086},
    {"name": "Яшьлек", "distance_m": 2746}
  ],
  "stops": [
    {"name": "Меридианная улица", "distance_m": 17}
  ],
  "chain": null,
  "chain_id": null,
  "good_place_year": 2026,
  "verified_owner": false,
  "sponsored": true,
  "legal_name": "ООО «Пример»",
  "inn": "1650000000",
  "source": "кафе Казань",
  "position": 1,
  "status": "ok"
}
```

#### Что вы получите

Строка на организацию: `id`, `url`, `name`, `categories`, `category_ids`, `address`, `full_address`, `country`, `city`,
`street`, `house`, `postal_code`, `latitude`, `longitude`, `rating`, `ratings_count`, `reviews_count`, `phones`,
`websites` (без рекламных меток), `social_links` (WhatsApp, Telegram, ВКонтакте, YouTube, MAX, Одноклассники и другие),
`hours_text`, `hours` (по дням), `business_status` (работает, закрыта навсегда или временно), `open_now`, `open_status`,
`popular_times` (загруженность по часам, 0–100), `photos` (полный размер, до 11), `photos_count`, `logo`, `features`
(средний счёт, Wi-Fi, парковка…), `review_topics`, `panorama`, `booking_links`, `summary` (краткое описание места от
Яндекс Карт по отзывам), `popular_items` (до 10 популярных блюд, товаров или услуг с ценами), `menu_source`, `metro` и
`stops` с расстоянием, `chain`, `chain_id`, `good_place_year` (знак Яндекса «Хорошее место»), `verified_owner`,
`sponsored`, `legal_name` и `inn` (рекламодатель, у рекламных мест), `source`, `position` в выдаче и `status`.

С **Почтой с сайтов** — `emails`. Со **Всем меню или прайсом** — `menu` (раздел, название, описание, цена, объём, фото).
Со **Всеми фото** — все фото в `photos`. С **Постами** — `posts` (дата, текст, фото).

#### Цены

| Событие | Цена | Что это |
|---|---|---|
| `organization` | $0,24 / 1000 | строка организации |
| `email` | $0,69 / 1000 | строка организации с почтой с её сайта (**Почта с сайтов**; только если почта нашлась) |
| `menu` | $0,62 / 1000 | строка организации со всем меню или прайсом (**Всё меню или прайс**; только у тех, где оно есть) |
| `photos` | $0,21 / 1000 | строка организации со всеми фото (**Все фото**; только у тех, где их больше 11) |
| `posts` | $0,22 / 1000 | строка организации с постами (**Посты**; только у тех, где они есть) |
| Запуск актора | $0,00004 | один раз за запуск |

Например, 1000 организаций стоят $0,24 + $0,00004 за запуск; если у 400 из них нашлась почта — $0,24 + $0,28. Места,
отсеянные отбором для лидов, повторы и ссылки, которые не открылись, — бесплатно. Актуальные цены — всегда на вкладке
**Pricing**.

#### Полезно знать

- Один поиск даёт до 1000 мест, и часть мест Яндекс Карты повторяют между листами: актор отдаёт и оплачивает каждую
  организацию один раз за запуск.
- Без **Мест** запрос ищет там, где место написано в нём самом («кафе Казань»), иначе — в Москве. По-русски находится
  больше.
- Яндекс Карты почту не публикуют: она — с сайта самой организации, открываются только сайты, указанные в Яндекс Картах.
- `summary` — по-русски при любом языке данных.
- Цены — в рублях, расстояния — в метрах.

# Actor input Schema

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

What to search for on Yandex Maps: a category or a name («кафе», «стоматология», «автосервис»). Russian words find more. When one search reaches 1,000 places, the Yandex Maps limit, the run splits its area into parts and searches each. An organization found twice is returned and charged once.<br><br>Что искать на Яндекс Картах: рубрику или название (кафе, стоматология, автосервис). По-русски находится больше. Если поиск доходит до 1000 мест — предела Яндекс Карт, — запуск делит его область на части и ищет в каждой. Организация, найденная дважды, отдаётся и оплачивается один раз.

## `locations` (type: `array`):

Cities, districts or streets to search in: every query runs in every location (Kazan, Samara, Moscow Arbat). Empty: the place written in the query itself, otherwise Moscow.<br><br>Города, районы или улицы, где искать: каждый запрос идёт в каждом месте (Казань, Самара, Москва Арбат). Пусто — место из самого запроса, иначе Москва.

## `urls` (type: `array`):

Yandex Maps links: a search page (yandex.ru/maps/43/kazan/search/..., or a map view with a search: only the places inside that view; filters chosen on the site come along), a category with all its places (yandex.ru/maps/43/kazan/category/cafe/184106390/), a chain with all its branches (yandex.ru/maps/43/kazan/chain/...), an organization (yandex.ru/maps/org/..., a short share link yandex.ru/maps/-/...) or an organization id alone (160974271233).<br><br>Ссылки Яндекс Карт: поиск (yandex.ru/maps/43/kazan/search/... или окно карты с поиском — только места в этом окне; фильтры, выбранные на сайте, тоже действуют), рубрика со всеми её местами (yandex.ru/maps/43/kazan/category/cafe/184106390/), сеть со всеми филиалами (yandex.ru/maps/43/kazan/chain/...), организация (yandex.ru/maps/org/..., короткая ссылка «Поделиться» yandex.ru/maps/-/...) или просто номер организации (160974271233).

## `latitude` (type: `number`):

Instead of locations: search around a point (55.796127). Needs longitude and a radius. The queries run strictly inside a square around the point, and places farther than the radius are left out and not charged. Applies to queries, not to links.<br><br>Вместо мест — поиск вокруг точки (55.796127). Нужны долгота и радиус. Запросы идут строго в квадрате вокруг точки, а места дальше радиуса не попадают в строки и не оплачиваются. Действует на запросы, не на ссылки.

## `longitude` (type: `number`):

Longitude of the point (49.106414).<br><br>Долгота точки (49.106414).

## `radius_km` (type: `number`):

Radius around the point, from 0.1 to 100 km.<br><br>Радиус вокруг точки, от 0,1 до 100 км.

## `sort_by_distance` (type: `boolean`):

With a point: results go by distance from it, as Yandex Maps sorts them. Yandex Maps still puts its advertising places first.<br><br>С точкой — выдача по расстоянию от неё, как сортируют Яндекс Карты. Рекламные места Яндекс Карты всё равно ставят первыми.

## `max_items` (type: `integer`):

The run stops collecting at this number, across all queries and links.<br><br>На этом числе запуск останавливается — по всем запросам и ссылкам вместе.

## `max_items_per_search` (type: `integer`):

Optional. Caps each search on its own, inside the run maximum: each query in each location, and each search link. Leave it empty to let one search take everything up to the run maximum.<br><br>Необязательно. Предел для каждого поиска отдельно, внутри предела запуска: для каждого запроса в каждом месте и для каждой ссылки на поиск. Пусто — один поиск может взять всё до предела запуска.

## `min_rating` (type: `string`):

Only places Yandex Maps rates at least this high. Yandex Maps applies every filter in this section to the search itself, so other places never reach the dataset and are not charged. Filters apply to searches and search links, not to organization links.<br><br>Только места с рейтингом Яндекс Карт не ниже этого. Все фильтры этого раздела применяют сами Яндекс Карты к поиску, поэтому другие места в датасет не попадают и не оплачиваются. Фильтры действуют на поиски и ссылки на поиск, не на ссылки на организации.

## `place_filters` (type: `array`):

Only places that have all of these, as Yandex Maps filters them. Which filters a category has depends on it: every category has open now, open 24 hours, card payment, parking and with photos; cafes and clinics also have the good place award, online booking and wheelchair access; cafes have Wi-Fi, delivery, takeaway and the rest.<br><br>Только места, где есть всё это, как фильтруют Яндекс Карты. Набор фильтров зависит от рубрики: у всех есть «открыто сейчас», «круглосуточно», оплата картой, парковка и «с фото»; у кафе и клиник — ещё «Хорошее место», онлайн-запись и доступность для колясок; у кафе — Wi-Fi, доставка, навынос и остальное.

## `price_categories` (type: `array`):

Only places in any of these Yandex Maps price levels. Yandex Maps gives them mostly to cafes, restaurants and bars.<br><br>Только места с одним из этих уровней цен Яндекс Карт. Уровни цен Яндекс Карты дают в основном кафе, ресторанам и барам.

## `categories` (type: `array`):

Only places in any of these Yandex Maps categories, by id: 184106390 cafes, 184106394 restaurants, 184106384 bars. The category_ids column of any run lists the ids of the places it returned. To collect a whole category, paste its category page link into Links instead.<br><br>Только места в одной из этих рубрик Яндекс Карт, по номеру: 184106390 — кафе, 184106394 — рестораны, 184106384 — бары. Номера рубрик найденных мест — в колонке category_ids любого запуска. Чтобы собрать рубрику целиком, вставьте ссылку на её страницу в Ссылки.

## `chains` (type: `array`):

Only branches of any of these Yandex Maps chains, by id (the chain_id column of any run). Fill in a query as well, a broad word is enough: the chain narrows a search. To collect a chain in a city, its chain page link in Links works too.<br><br>Только филиалы одной из этих сетей Яндекс Карт, по номеру (колонка chain_id любого запуска). Запрос тоже нужен, хватит общего слова: сеть сужает поиск. Собрать сеть в городе можно и ссылкой на страницу сети в Ссылках.

## `category_names` (type: `array`):

Only places in any of these Yandex Maps categories, by name, as Yandex Maps writes it in the data language («шиномонтаж»). The run looks the name up first and logs which category it took: the one with the same name, otherwise Yandex Maps' first match.<br><br>Только места в одной из этих рубрик Яндекс Карт, по названию — как его пишут Яндекс Карты на языке данных (шиномонтаж). Сначала запуск находит рубрику по названию и пишет в лог, какую взял: с тем же названием, иначе — первую, что предложили Яндекс Карты.

## `chain_names` (type: `array`):

Only branches of any of these Yandex Maps chains, by name, as Yandex Maps writes it («Магнит», «Шоколадница»). The run looks the name up where the searches go and logs the chain it found.<br><br>Только филиалы одной из этих сетей Яндекс Карт, по названию — как его пишут Яндекс Карты (Магнит, Шоколадница). Запуск находит сеть там, где идут поиски, и пишет в лог, какую нашёл.

## `with_phone` (type: `boolean`):

Leave out places whose card has no phone. They are not counted in Maximum organizations and not charged. These lead filters apply to searches, not to organization links.<br><br>Пропускать места, у которых в карточке нет телефона. Они не идут в счёт предела организаций и не оплачиваются. Отбор для лидов действует на поиски, не на ссылки на организации.

## `with_website` (type: `boolean`):

Leave out places whose card has no website.<br><br>Пропускать места, у которых в карточке нет сайта.

## `min_reviews` (type: `integer`):

Only places with at least this many written reviews (the reviews_count column).<br><br>Только места, где отзывов не меньше этого числа (колонка reviews_count).

## `skip_closed` (type: `boolean`):

Leave out places Yandex Maps marks as closed for good or temporarily closed.<br><br>Пропускать места, которые Яндекс Карты отмечают закрытыми навсегда или временно.

## `site_emails` (type: `boolean`):

Opens the organization's own website as Yandex Maps lists it (the home page, and its Contacts or About page if needed) and adds the emails found there. Only websites from Yandex Maps are opened. A charge only for organizations where an email was found. Takes longer: up to 3 more pages per organization with a website.<br><br>Открывает сайт самой организации из Яндекс Карт (главную, а если нужно — страницу «Контакты» или «О нас») и добавляет найденную там почту. Открываются только сайты из Яндекс Карт. Оплата — только за организации, где почта нашлась. Дольше: до 3 страниц на организацию с сайтом.

## `menu` (type: `boolean`):

Also collect the whole menu (or price list) with prices, weights and photos: one more request per organization whose card shows popular dishes or goods. A separate charge per organization with a menu. Without it every row still has up to 10 popular dishes.<br><br>Ещё и всё меню (или прайс) с ценами, весом и фото: ещё один запрос на организацию, у которой в карточке есть популярные блюда или товары. Отдельная плата за организацию с меню. И без этого в каждой строке — до 10 популярных блюд.

## `all_photos` (type: `boolean`):

Collect every photo of the organization instead of the first 11: one more request per organization that has more. A separate charge per organization whose row got more than 11 photos.<br><br>Все фото организации вместо первых 11: ещё один запрос на организацию, у которой их больше. Отдельная плата за организацию, у которой в строке больше 11 фото.

## `posts` (type: `boolean`):

Also collect the organization's posts (news, events, offers) with their date, text and photos, up to the last 100: one more request per organization. A separate charge per organization with posts.<br><br>Ещё и посты организации (новости, события, акции) с датой, текстом и фото, до 100 последних: ещё один запрос на организацию. Отдельная плата за организацию с постами.

## `new_only` (type: `boolean`):

Skip organizations this history store has already delivered, and pay only for new ones.<br><br>Пропускать организации, которые это хранилище истории уже отдавало, и платить только за новые.

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

Language Yandex Maps gives its data in: categories, opening hours and features are translated; English and Turkish also spell most names, addresses, cities and metro stations in Latin letters. Reviews and the place summary stay as written.<br><br>Язык, на котором Яндекс Карты отдают данные: рубрики, часы работы и особенности переводятся; на английском и турецком большинство названий, адресов, городов и станций метро — ещё и латиницей. Отзывы и краткое описание места — как написаны.

## `sessions` (type: `integer`):

How many anonymous visitors work at the same time, each with its own IP.<br><br>Сколько анонимных посетителей работают одновременно, у каждого свой IP.

## `proxy` (type: `string`):

Optional. One per line: user:pass@host:port, Russian IPs. Without them the run uses its own Russian proxies.<br><br>Необязательно. По одному в строке: user:pass@host:port, российские IP. Без них запуск идёт через свои российские прокси.

## `history_store` (type: `string`):

Named key-value store that keeps sessions and delivered organizations between runs.<br><br>Именованное key-value хранилище, где между запусками лежат сессии и отданные организации.

## `output_language` (type: `string`):

Yandex Maps' own data stays as the site gives it.<br><br>Данные самих Яндекс Карт остаются такими, как отдаёт сайт.

## Actor input object example

```json
{
  "queries": [],
  "locations": [],
  "urls": [
    "https://yandex.ru/maps/43/kazan/search/%D0%BA%D0%B0%D1%84%D0%B5/"
  ],
  "sort_by_distance": false,
  "max_items": 10,
  "place_filters": [],
  "price_categories": [],
  "categories": [],
  "chains": [],
  "category_names": [],
  "chain_names": [],
  "with_phone": false,
  "with_website": false,
  "skip_closed": false,
  "site_emails": false,
  "menu": false,
  "all_photos": false,
  "posts": false,
  "new_only": false,
  "language": "ru",
  "sessions": 4,
  "history_store": "yandex-maps-history",
  "output_language": "en"
}
```

# Actor output Schema

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

One row per organization. Строка на организацию.

## `summary` (type: `string`):

OUTPUT record: how many rows were delivered. Запись OUTPUT: сколько строк отдано.

# 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 = {
    "urls": [
        "https://yandex.ru/maps/43/kazan/search/%D0%BA%D0%B0%D1%84%D0%B5/"
    ],
    "max_items": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/yandex-maps-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 = {
    "urls": ["https://yandex.ru/maps/43/kazan/search/%D0%BA%D0%B0%D1%84%D0%B5/"],
    "max_items": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("theshark/yandex-maps-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 '{
  "urls": [
    "https://yandex.ru/maps/43/kazan/search/%D0%BA%D0%B0%D1%84%D0%B5/"
  ],
  "max_items": 10
}' |
apify call theshark/yandex-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theshark/yandex-maps-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/qCSdEP9rkcVUBaPmE/builds/kHiTUybK9h60zxyFk/openapi.json
