# Yandex Maps Scraper | Парсер Яндекс Карт - All Places in a City (`automa-flow/yandex-maps-places`) Actor

$4.00 per 1,000 places. Every Yandex Maps place for a category in Russian cities, not just the first 1,000: name, phones, website, address, hours, rating, coordinates. Все места категории в городе с Яндекс Карт: телефоны, сайт, адрес, часы, рейтинг.

- **URL**: https://apify.com/automa-flow/yandex-maps-places.md
- **Developed by:** [Vadim Bezrukov](https://apify.com/automa-flow) (community)
- **Categories:** Lead generation, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 places

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 | Парсер Яндекс Карт - All Places in a City

Search Yandex Maps for a category or any words in Russian cities and get **one row per place**: name, categories, phones, website, social links, address with its parts, opening hours, rating, review count, price level, average bill, coordinates and photo links. Yandex Maps lists at most 1,000 places for one search. With **Every place in the city** on (the default), the Actor splits the map into smaller areas whenever a search hits that limit and lists each area to its end, so a broad category in Moscow returns every place, not the first 1,000.

**По-русски:** ищет на Яндекс Картах категорию или любые слова в городах России и возвращает каждое место отдельной строкой: название, рубрики, телефоны, сайт, соцсети, адрес, часы работы, рейтинг, число отзывов, средний чек и координаты. Яндекс показывает не больше 1,000 мест на один поиск; когда поиск упирается в этот предел, Actor делит карту на участки и собирает каждый до конца, поэтому широкая категория в Москве возвращает все места города, а не первую тысячу.

Built for three jobs:

- **Agencies and sales teams** building call lists of every dentist, car service or cafe in a city, with phones and websites, refreshed every month.
- **Market researchers** counting and mapping the businesses of a category across cities.
- **Directory and data teams** keeping a local business database in sync with Yandex Maps through the API.

### Quick start: 50 cafes in Moscow

```json
{
  "queries": ["кафе"],
  "cities": ["Москва"],
  "maxItems": 50
}
```

You get 50 rows in under 20 seconds for $0.205, plus a `RUN_SUMMARY` record with the outcome of every search. Raise `maxItems` to get the whole city.

### Every place, not the first 1,000

Measured on Apify on 2026-11-11, one request at a time, no proxy:

| Search | Plain list (what one search returns) | Every place in the city |
| --- | --- | --- |
| стоматология, Санкт-Петербург | 569 places | 1,693 places (the whole city, 90 pages) |
| автосервис, Москва | 393 places | 3,282 places after 183 pages, with 5 map areas still to read |

Yandex often stops a long list well before 1,000 places, or starts repeating it. The Actor notices both and splits the map, so the count you get is what the city has, not where the list stopped. `RUN_SUMMARY` shows for every search how many places came from the plain list and how many from map areas, and whether the search finished (`complete`).

### What it costs

**$4.00 per 1,000 places** ($0.0040 per unique place delivered) plus $0.005 per run start. Platform usage is included. Searches that find nothing cost nothing beyond the start, and a place found by two of your searches, cities or map areas is charged once.

| Apify plan | Per 1,000 places |
| --- | --- |
| Free | $4.00 |
| Bronze | $3.50 |
| Silver | $3.00 |
| Gold and above | $2.50 |

| Run (Free plan prices) | Places | Price |
| --- | --- | --- |
| Quick start above | 50 | $0.205 |
| One category in a mid-size city | 1,000 | $4.005 |
| All dentists in Saint Petersburg, measured above | 1,693 | $6.777 |
| Monthly refresh of 3 categories in 2 cities, 2,000 each | up to 12,000 | up to $48.005 |

Set **Maximum cost per run** in the run options to cap a bill. The Actor plans the run to fit it: when the cap is reached it stops cleanly, keeps every row already delivered and marks the searches it did not finish as `CHARGE_LIMIT`.

### Inputs

| Field | What it does |
| --- | --- |
| `queries` | Categories or any words, 1 to 20, in Russian or English: `кафе`, `стоматология`, `автосервис`, `dentist`. Every query runs in every city. |
| `cities` | City names in any spelling (`Москва`, `Moscow`, `Санкт-Петербург`, `Казань`) or Yandex region ids (`213` Moscow, `2` Saint Petersburg), up to 20. |
| `boundingBox` | A map rectangle instead of, or next to, the cities: `{"south": 55.70, "west": 37.50, "north": 55.80, "east": 37.70}`, at most 10 degrees each way. |
| `maxItems` | Unique places for the whole run, 50 by default, up to 20,000. You pay only for places delivered. |
| `fullCoverage` | **Every place in the city**, on by default. Off: only the plain list, at most 1,000 places per search. |
| `maxItemsPerSearch` | Optional cap for each query in each city on its own. |
| `onlyWithPhone`, `onlyWithWebsite` | Skip places without a phone or a website. Skipped places are not charged. |
| `language` | `ru` (default) or `en` for names, addresses and categories as Yandex Maps shows them. |

A city Yandex Maps does not know becomes a `CITY_NOT_FOUND` row; the rest of the run continues. Crimea, Sevastopol and the Donetsk, Luhansk, Zaporizhzhia and Kherson oblasts are not covered. A search there becomes a `REGION_NOT_SUPPORTED` row and costs nothing.

### Output

One row per unique place (the **Places** table view):

| Field | Example |
| --- | --- |
| `name` | `The Бык` |
| `categories` | `["Ресторан", "кафе"]` |
| `phones` | `["+74959881717"]` |
| `website` | `https://thebull.ru/` |
| `socialLinks` | `[{"type": "telegram", "url": "https://t.me/bullmyaso"}, {"type": "vkontakte", "url": "https://vk.ru/thebullmsk"}]` |
| `address` | `Москва, Ветошный переулок, 13` |
| `addressParts` | `{"country": "Россия", "city": "Москва", "street": "Ветошный переулок", "house": "13", "postalCode": "109012"}` |
| `hours` | `ежедневно, 12:00 PM–11:00 PM`, as Yandex Maps writes it (12-hour times: requests come from outside Russia) |
| `rating`, `reviewCount` | `5.0`, `3815` |
| `priceLevel`, `averageBill` | `средние`, `700–1400 ₽` (when Yandex shows them) |
| `latitude`, `longitude` | `55.755084`, `37.622355` |
| `businessStatus` | `open`, or Yandex's closed status |
| `photoUrls` | up to 10 photo links from the search card |
| `source_id`, `source_url` | `168252782299`, `https://yandex.ru/maps/org/the_bull/168252782299/` |
| `searchQuery`, `searchCity` | the query and city (or map area) that found the place |
| `tile`, `position` | `plain` for the plain list, or the map area that found it (`c`, `c0`, `c03`...); order within the search |
| `scraped_at`, `fingerprint`, `schema_version` | observation time, a hash of the place's fields, the row format version |

`source_id` is Yandex's organisation id: it stays the same between runs, so a monthly refresh can be joined to last month's rows. `fingerprint` changes only when the place's card changes (new phone, new hours, new rating).

A search that finds nothing or stops early also writes a status row (the **Search status** view), and `RUN_SUMMARY` lists every search with its status, plain and tiled place counts, map areas checked and requests:

| Status | Meaning | Charged |
| --- | --- | --- |
| `OK` | Places delivered | per place |
| `NO_RESULTS` | Yandex Maps answered and has no matching place in the area | no |
| `CITY_NOT_FOUND` | Yandex Maps does not know the city name or region id | no |
| `REGION_NOT_SUPPORTED` | The city lies in Crimea, Sevastopol or the Donetsk, Luhansk, Zaporizhzhia or Kherson oblast, or every place the map rectangle holds for this search does; this Actor does not cover these regions | no |
| `SOURCE_BLOCKED` | Yandex Maps showed a captcha; this and every later search stopped | places delivered before it only |
| `SOURCE_FAILED` | Yandex Maps did not answer correctly after retries | places delivered before it only |
| `PARSE_FAILED` | The page came back without its search data, or most places on it had no id, name or region | places delivered before it only |
| `CHARGE_LIMIT`, `TIME_LIMIT` | Your maximum cost or the run timeout stopped the search | places delivered before it only |
| `NOT_NEEDED` | `maxItems` was already reached by earlier searches (summary only) | no |

The run fails only when no search was answered and no place was delivered. A run with some stopped searches succeeds and says which ones to rerun.

### Run it again every month

Save the input as a task and add a monthly schedule. Every run returns the full list again with the same `source_id` per place, so you can join it to the previous month: new ids are new businesses, missing ids closed or moved, and a changed `fingerprint` means the card changed. Feed the Dataset into Google Sheets, a CRM or your own database with an Apify integration or the API.

### Use with AI agents through Apify MCP

Add this Actor to an MCP client such as Claude or Cursor:

```text
https://mcp.apify.com?tools=automa-flow/yandex-maps-places
```

Example prompt:

```text
Run automa-flow/yandex-maps-places with queries ["стоматология"],
cities ["Санкт-Петербург"], maxItems 300 and onlyWithPhone true.
Show the 20 best-rated clinics with phones, website and address, and list
any search whose status is not OK. Keep maxTotalChargeUsd at 1.50.
```

An agent can predict the bill before the run: $0.005 per run plus at most $0.004 per place, and at most `maxItems` places.

### Sources and limitations

- Data comes from Yandex Maps' public search pages, the same results its website shows to anyone, read one page at a time at about one request per second without a proxy or a browser. This Actor is not affiliated with Yandex.
- Yandex's terms of use restrict automated access. You are responsible for how you use the data: follow the advertising, marketing-call and personal data laws that apply to you.
- Big cities take time: each page holds 25 places, takes about two seconds and often repeats places from earlier pages. Measured on 2026-11-11, 2,000 car services in Moscow took 7 to 10 minutes (220 to 243 pages in two runs), so a whole-city category of 10,000 places takes roughly 35 to 50 minutes. The default timeout is one hour; give larger runs more. A run that reaches its timeout stops cleanly, keeps every place it found and marks the unfinished searches `TIME_LIMIT`.
- If Yandex Maps shows a captcha, the Actor stops every further request at once, keeps and charges only the places already delivered and marks the remaining searches `SOURCE_BLOCKED`. It does not solve captchas or rotate addresses. Rerun later for the rest.
- For a city search, Yandex Maps adds places from nearby towns. The Actor keeps only places in the city you asked for and counts the others as `outsideAreaSkipped` in `RUN_SUMMARY`; they are not charged. Use `boundingBox` to cover an area across city lines. For a map rectangle, Yandex Maps also shows places up to about 2 km past its edges; the Actor keeps only places inside the rectangle and counts the others the same way.
- Crimea, Sevastopol and the Donetsk, Luhansk, Zaporizhzhia and Kherson oblasts are not covered. A city there ends `REGION_NOT_SUPPORTED` after one page. A map rectangle that crosses into these regions still returns every place outside them; places from these regions are skipped, not charged, and counted as `excludedRegionSkipped` in `RUN_SUMMARY`, and a rectangle that holds only such places ends `REGION_NOT_SUPPORTED`. The whole oblasts are excluded.
- The fields come from the search results. Reviews, menus, emails and full photo galleries are not collected.
- Tested on Russian cities. Yandex Maps also covers other countries; their cities may work by region id but are not tested.

### Release history

See the [changelog](CHANGELOG.md).

# Changelog

This Actor's version history is a separate document: https://apify.com/automa-flow/yandex-maps-places/changelog.md

# Actor input Schema

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

Categories or any words, one per line, in Russian or English, for example кафе, стоматология, автосервис or dentist. Each one runs in every city below. Up to 20.

## `cities` (type: `array`):

City names in any spelling (Москва, Moscow, Санкт-Петербург, Казань) or Yandex region ids (213 is Moscow, 2 is Saint Petersburg), one per line. Up to 20. Leave empty to search only the map area below. Crimea, Sevastopol and the Donetsk, Luhansk, Zaporizhzhia and Kherson oblasts are not covered.

## `boundingBox` (type: `object`):

Optional rectangle to search instead of, or next to, the cities: south and north latitudes, west and east longitudes in degrees, at most 10 degrees each way. Example: {"south": 55.70, "west": 37.50, "north": 55.80, "east": 37.70}.

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

Unique places for the whole run, across every search and city. You pay only for places delivered. A big city can hold tens of thousands of places for a broad category.

## `fullCoverage` (type: `boolean`):

On: when a search reaches Yandex's 1,000-place list limit and you asked for more, the map is split into smaller areas until every area is searched to its end. Off: only the plain list, at most 1,000 places per search.

## `maxItemsPerSearch` (type: `integer`):

Optional cap for each search on its own (each search term in each city). Empty: only the run's Max places applies.

## `onlyWithPhone` (type: `boolean`):

Skip places without a phone number. Skipped places are not charged.

## `onlyWithWebsite` (type: `boolean`):

Skip places without a website. Skipped places are not charged.

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

Language of names, addresses and categories as Yandex Maps shows them: ru (Russian) or en (English).

## Actor input object example

```json
{
  "queries": [
    "кафе"
  ],
  "cities": [
    "Москва"
  ],
  "maxItems": 50,
  "fullCoverage": true,
  "onlyWithPhone": false,
  "onlyWithWebsite": false,
  "language": "ru"
}
```

# Actor output Schema

## `places` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "queries": [
        "кафе"
    ],
    "cities": [
        "Москва"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("automa-flow/yandex-maps-places").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 = {
    "queries": ["кафе"],
    "cities": ["Москва"],
}

# Run the Actor and wait for it to finish
run = client.actor("automa-flow/yandex-maps-places").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 '{
  "queries": [
    "кафе"
  ],
  "cities": [
    "Москва"
  ]
}' |
apify call automa-flow/yandex-maps-places --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automa-flow/yandex-maps-places"
        }
    }
}
```

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/GLSvKzfho0CSCSXyA/builds/RSsvG5s5mVMli8IiQ/openapi.json
