# Yandex Maps Places Scraper (`m_mamaev/yandex-maps-places-scraper`) Actor

Extract structured data from thousands of Yandex Maps locations and businesses, including phone numbers, emails, websites, reviews, images, addresses, coordinates, ratings, categories, opening hours & more.

- **URL**: https://apify.com/m_mamaev/yandex-maps-places-scraper.md
- **Developed by:** [Mikhail Mamaev](https://apify.com/m_mamaev) (community)
- **Categories:** Lead generation, Travel, SEO tools
- **Features:** Limited permissions
- **Stats:** 1,703 total users, 94 monthly users, 100.0% runs succeeded, 22 bookmarks
- **User rating**: 4.24 out of 5 stars

## Pricing

from $2.00 / 1,000 results

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 Places Scraper

This actor extracts structured business data from Yandex Maps, including reviews, contacts, addresses, coordinates, ratings, categories, opening hours, photos, menu data, websites, and identifiers. Collect rich data without an API key.

### 💡 Examples

- "coffee near Nevsky Prospect, Saint Petersburg"
- "dentist in Astana"
- "hotels in Istanbul Taksim"
- "строительные магазины, Екатеринбург"

Tip: Specify only one location per run.

### 🧾 Inputs

- `query`: what you would type into Yandex Maps, with or without city/area.
- `locations`: City or district to search. Select from the list or enter your own option.
- `maxItems`: Number of places to extract (per each search term).
- `language`: `english`, `russian`, `kazakh`, `turkish`, `azerbaijani`.
- `Filters, categories`: Rating, Price categories, Good place, Categories.
- `maxPhotos`: Number of images to extract into `photos`.
- `maxReviews`: Number of reviews to extract.
- `includeMenu`: Collect available full menu data. There is currently no separate menu charge; standard Actor charges still apply. We do not currently plan to add a menu fee. If a paid menu event is introduced in the future, Apify will notify users under its pricing-change policy before it takes effect.
- `organizationIds`: Optional list of Yandex business/organization IDs or URLs

### 📦 What data does Yandex Maps Places Scraper extract?

|Category|What you get|
|-|-|
|IDs & links|`placeId`, `geoId`, `url`, `query`|
|Contact & location|`address`, `fullAddress`, `addressComponents`, `state`, `country`, `phone`, `phones`, `website`, `businessLinks`, `location {lat,lng}`|
|Ratings & hours|`totalScore`, `ratingCount`, `reviewsCount`, `statusText`, `isOpenNow`, `workingHoursText`, `workingHours`, `visitsHistogram`|
|Categories & extras|`categories`, `features`, `socialLinks`, `sources`|
|Transport & media|`metroDetails`, `stopDetails`, `logoUrl`, `photos` (images controlled by `maxPhotos`), `photoDetails`, `photosCount`, `panoramaPreviewUrl`, `videoCount`, `videos`|
|Menu|`menu`, `menuTop`, `menuCategories`, `menuItemCount` when full menu is available|
|Reviews (optional)|`neuroCrop`, `neurosummary`, `reviews`, `reviewTags`, `reviewAspects`|

Output example:

```json
{
  "placeId": "3608857468",
  "title": "Vaffel",
  "shortTitle": "Vaffel",
  "categories": [
    "Cafe",
    "coffee shop",
    "restaurant"
  ],
  "address": "Saint Petersburg, Gorokhovaya Street, 41",
  "state": "Saint Petersburg",
  "country": "Russian Federation",
  "addressComponents": {
    "country": "Russian Federation",
    "locality": "Saint Petersburg",
    "street": "Gorokhovaya Street",
    "house": "41",
    "postalCode": "190031"
  },
  "website": [
    "https://vaffel.ru/"
  ],
  "phone": "+7 (812) 960-26-41; +7 (921) 960-26-41",
  "phones": [
    {
      "number": "+7 (812) 960-26-41",
      "unformatted": "+78129602641",
      "type": "phone"
    },
    {
      "number": "+7 (921) 960-26-41",
      "unformatted": "+79219602641",
      "type": "phone"
    }
  ],
  "location": {
    "lat": 59.929136,
    "lng": 30.32083
  },
  "totalScore": 5,
  "ratingCount": 4882,
  "reviewsCount": 3171,
  "neuroCrop": "Вафли свежие, мягкие, сложно остановиться на выборе одного вкуса!",
  "neurosummary": "Безумно атмосферное заведение, каждый раз приезжая в Санкт-Петербург прихожу на завтраки именно сюда. Вафли свежие, мягкие, сложно остановиться на выборе одного вкуса! Удобно, что есть возможность заказать маленький размер , чтобы попробовать сразу несколько вкусов вафель. Также хотелось бы отметить прекрасный сервис, девочки официанты всегда приветливы и подскажут с выбором, однозначно 5 звёзд! ",
  "reviewAspects": [
    {
      "name": "Meal",
      "count": 2822,
      "positive": 2524,
      "neutral": 67,
      "negative": 231
    },
    {
      "name": "Waffles",
      "count": 1819,
      "positive": 1591,
      "neutral": 48,
      "negative": 180
    },
    {
      "name": "Desserts",
      "count": 1799,
      "positive": 1576,
      "neutral": 46,
      "negative": 177
    }
  ],
  "visitsHistogram": {
    "wednesday": [
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0.002823310449797518,
      0.005628482312906393,
      0.007544863428271748,
      0.008712830684179603,
      0.009353201657709097,
      0.010241992405452618,
      0.010708075219930363,
      0.010548771110751844,
      0.011167848960777278,
      0.012238814209611086,
      0.012045598829666842,
      0.010484103106035812,
      0.007233352917749396,
      0,
      0
    ],
    "sunday": [
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0.0034936495230734653,
      0.00808586649211563,
      0.011376837024798601,
      0.013121295883723773,
      0.01382239169095003,
      0.015217485597567852,
      0.01720878696229934,
      0.017988746189911003,
      0.01795325765073757,
      0.01691856957528105,
      0.014825534398252387,
      0.012198593865214527,
      0.007943123701218045,
      0,
      0
    ]
  },
  "statusText": "Until 10:00 PM",
  "isOpenNow": true,
  "geoId": "120601",
  "url": "https://yandex.ru/maps/org/3608857468/",
  "logoUrl": "https://avatars.mds.yandex.net/get-altay/14811824/2a0000019589c0da8d7d72de6dd878f2670a/M_height",
  "panoramaPreviewUrl": "https://static-pano.maps.yandex.ru/v1/?panoid=1254613297_626455420_23_1754286407&size=500%2C240&azimuth=-145.5&tilt=10&api_key=maps&signature=O2z2sK9XW5MS-dmreAEZWtUt5HvWYgix3WCj_B2UFj8=",
  "searchString": "coffee in St.Petersburg",
  "workingHoursText": "daily, 9:00 AM–10:00 PM",
  "workingHours": [
    {
      "day": "Mon",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Tue",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Wed",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Thu",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Fri",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Sat",
      "from": "09:00",
      "to": "22:00"
    },
    {
      "day": "Sun",
      "from": "09:00",
      "to": "22:00"
    }
  ],
  "features": [
    "prices: average",
    "food delivery",
    "average bill: 600–1000 ₽",
    "coffee to go",
    "takeout",
    "Possible with a dog",
    "types of non-cash tips: netmonet",
    "gift certificate",
    "Courier care",
    "price cup cappuccino: 140–165 ₽",
    "bubble tea",
    "Tea",
    "petfriendly: allowed with all animals",
    "parking",
    "payment method: discount system",
    "payment method: cash",
    "payment method: payment by card",
    "payment method: cashless payment",
    "payment method: online",
    "payment method: QR code",
    "payment method: Fast payment system",
    "payment method: payment by credit card",
    "Coffee",
    "breakfast",
    "promotions: discounts",
    "promotions: promotions",
    "promotions: special offers",
    "promotions: bonuses",
    "promotions: gifts",
    "Charging station",
    "Food discount",
    "business lunch",
    "menu for children",
    "Staff call button",
    "toilet",
    "Pre-order online",
    "WC",
    "preliminary registration",
    "Credit card payment",
    "bike parking",
    "craft beer",
    "special menu: seasonal",
    "special menu: diet",
    "special menu: fitness",
    "special menu: proper diet",
    "special menu: waffles",
    "Water",
    "cuisine: european",
    "cuisine: chef's",
    "cuisine: scandinavian",
    "wheelchair accessibility: unavailable",
    "Wi-Fi",
    "type of place: snack-bar",
    "type of place: Family restaurant",
    "type of place: Author's restaurant",
    "type of place: Coffee shop with breakfast",
    "wheelchair accessible: Not available",
    "business lunch price: 390 ₽",
    "features institution: menu in English",
    "features institution: free parking",
    "features institution: bar counter",
    "features institution: allowed with a laptop",
    "features institution: board games",
    "features institution: animal friendly",
    "types of delivery: Yandex.Eda",
    "types of delivery: Delivery-club",
    "types of delivery: own courier service",
    "number of tables: 2–80",
    "table games"
  ],
  "socialLinks": [
    {
      "type": "vkontakte",
      "url": "https://vk.com/vaffelspb"
    }
  ],
  "metroDetails": [
    {
      "name": "Sennaya Ploschad",
      "distance": "302 m"
    },
    {
      "name": "Spasskaya",
      "distance": "346 m"
    }
  ],
  "stopDetails": [
    {
      "name": "Gorokhovaya Street",
      "distance": "120 m"
    },
    {
      "name": "Sadovaya Street",
      "distance": "180 m"
    }
  ],
  "photosCount": 500,
  "videos": [
    {
      "url": "https://yandex.ru/video/preview/123",
      "thumbnail": "https://avatars.mds.yandex.net/get-vthumb/123/800x450"
    }
  ],
  "scrapedAt": "2025-12-13T10:41:27.177Z"
}
```

Adding images:

```json
 {
    "photos": [
      "https://avatars.mds.yandex.net/get-altay/6314780/2a00000186e9b585dcf26ff1da57c1df5d34/XXXL",
      "https://avatars.mds.yandex.net/get-altay/8128793/2a00000186e9b58866136d3d6e4b488bd63d/XXXL",
      "https://avatars.mds.yandex.net/get-altay/8072647/2a00000186e9b58e517be0711ceaa5f83050/XXXL",
      "https://avatars.mds.yandex.net/get-altay/240733/2a0000018729ca9aca02c8d3e773beff19ad/XXXL",
      "https://avatars.mds.yandex.net/get-altay/1881734/2a00000186e9bcfed6a05a185fc5bbff08b9/XXXL",
      "https://avatars.mds.yandex.net/get-altay/7734890/2a00000186eb7c1597c2d4dd8322c70c5b10/XXXL",
      "https://avatars.mds.yandex.net/get-altay/758053/2a00000186e9bdb2c88f2fdd0b32cd7ba3f3/XXXL",
      "https://avatars.mds.yandex.net/get-altay/760153/2a00000187140b7204b2b0a42e9759e0525a/XXXL",
      "https://avatars.mds.yandex.net/get-altay/1005628/2a00000186e9b5846c29fb93bb3d4df6ff0d/XXXL",
      "https://avatars.mds.yandex.net/get-altay/998620/2a00000186e9bd00e0db2bbcbff2e83659db/XXXL"
    ],
    "photoDetails": [
      {
        "id": "urn:yandex:sprav:photo:2a00000186e9b585dcf26ff1da57c1df5d34",
        "url": "https://avatars.mds.yandex.net/get-altay/6314780/2a00000186e9b585dcf26ff1da57c1df5d34/XXXL",
        "width": 960,
        "height": 1280,
        "tags": [
          "Внутри"
        ],
        "copyright": {
          "name": "Vaffel Petrogradskyi",
          "url": null,
          "updateTime": "2023-03-16T09:17:18Z",
          "publicId": null,
          "imageUrlTemplate": null,
          "hasUserIcon": true
        },
        "source": "details"
      }
```

Adding reviews

```json
  {
    "title": "Vaffel",
    "totalScore": 5,
    "reviewsCount": 1180,
    "reviews": [
      {
        "reviewId": "Cw19xhtygNDdhthY5CTGy1DnwGKzoF",
        "businessId": "147436518522",
        "rating": 5,
        "text": "Приходили сюда завтракать в будний день. Народу было немного. Место очень приятное и довольно уютное. Интерьер сдержанный норвежский, но с приятными мелочами. Обслуживают очень молодые официанты. Мило и не навязчиво. Есть несколько видов завтраков. Мы выбрали с вафлями, глазуньей, овощами и тд. Подача красивая. Порция не сказать, что большая. В идеале лучше дозаказать ещё какой-то «вафельный бутерброд» или десерт) Мне кажется, что этот завтрак не стоит 500+ руб, но так как это ресторан, этим все объясняется. Сами вафли не произвели на меня какого-то сильного впечатления. Довольно вкусно. Для разнообразия подойдет как для завтрака, так и для обеда/ ужина, особенно если любите вафли. ",
        "textLanguage": "ru",
        "textTranslations": {
          "tr": "Hafta içi kahvaltı için buraya gelirdik. Çok az insan vardı. Yer çok hoş ve oldukça rahat. İç mekan sağduyulu Norveçli, ancak hoş küçük şeylerle. Çok genç garsonlar hizmet veriyor. Sevimli ve müdahaleci değil. Birkaç çeşit kahvaltı vardır. Waffle, sır, sebze vb. İle seçtik. Servis güzel. Porsiyon büyük olduğunu söylemiyor. İdeal olarak, başka bir «waffle sandviçi» veya tatlı sipariş etmek daha iyidir) Bana öyle geliyor ki bu kahvaltı 500'den fazla rubleye mal olmuyor, ancak burası bir restoran olduğu için her şeyi açıklıyor. Waffle'ların kendileri üzerimde güçlü bir izlenim bırakmadı. Oldukça lezzetli. Bir değişiklik için, özellikle waffle'ları seviyorsanız, hem kahvaltı hem de öğle / akşam yemekleri için uygundur. "
        },
        "updatedTime": "2025-11-10T19:11:39.255Z",
        "businessComment": {
          "text": "Здравствуйте, Мария!\nСпасибо Вам за такой развёрнутый отзыв и очень красивые фото!\nОбязательно учтём Ваше мнение в дальнейшей работе и будем ждать Вас в гости снова!\nС уважением , команда Vaffel ",
          "updatedTime": "2025-11-20T06:27:42.030Z"
        },
        "reactions": {
          "likes": 4,
          "dislikes": 0
        },
        "photos": [
          {
            "id": "16264361_2a0000019a6f2e76db369b43e5d81e8c7ea4",
            "urlTemplate": "https://avatars.mds.yandex.net/get-altay/16264361/2a0000019a6f2e76db369b43e5d81e8c7ea4/{size}",
            "createdTime": 1762801910154
          },
          {
            "id": "18184740_2a0000019a6f2ead4ffb29e3333cfa76ee82",
            "urlTemplate": "https://avatars.mds.yandex.net/get-altay/18184740/2a0000019a6f2ead4ffb29e3333cfa76ee82/{size}",
            "createdTime": 1762801924137
          }
        ],
        "videos": [],
        "author": {
          "name": "***",
          "avatarUrl": "***",
          "rtb": "Дегустатор 6 уровня",
          "rtbType": "ACHIEVEMENT",
          "publicId": "***"
        }
      }
```

### 📤 Output

The results will be wrapped into a dataset which you can find in the Output or Storage tab. Note that the output is organized in tables and tabs for viewing convenience. You can view results as a table, JSON, or as a map.

Once the run is finished, you can also download the dataset in various data formats (JSON, CSV, Excel, XML, HTML). Before exporting, you can pick or omit specific output fields; alternatively, you can also choose to download the whole view, which includes thematically connected data.

### 📊 Table view

The table view can be manipulated in different ways. There is a general overview
![Overview](https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/overview.PNG)

but you can also sort the table by contact info
![Contact info](https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/contakt.PNG)

or Social media
![Social media](https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/social.PNG)

The "Review" table also contains a short and full overview from Alice AI based on user feedback.
![Reviews](https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/reviews.PNG)

### 🗺 Map view

After scraping, the actor generates an interactive HTML map
showing all collected places.

The map is saved to the Key-Value Store as:

`results-map.html`

![Yandex Maps results preview](https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/map.png)

<table style="width: 100%; border-collapse: separate; border-spacing: 0;">
  <tbody>
    <tr>
      <td colspan="2" style="padding: 8px 12px; background: rgb(22, 163, 74); border-radius: 6px 6px 0 0;">
        <span style="color: rgb(255, 255, 255); font-size: 13px; font-weight: 700;">Also useful</span>
        <span style="color: rgb(220, 252, 231); font-size: 12px;">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Tools for adjacent workflows</span>
      </td>
    </tr>
    <tr>
      <td style="padding: 12px; vertical-align: top; width: 50%; border-left: 1px solid rgb(229, 231, 235); border-bottom: 1px solid rgb(229, 231, 235);">
        <span style="display: inline-block; padding: 2px 8px; margin-bottom: 8px; background: rgb(240, 249, 255); color: rgb(3, 105, 161); border-radius: 999px; font-size: 11px; font-weight: 700;">Apify Actor</span><br>
        <img src="https://images.apifyusercontent.com/0kDSlhRy_MsCOJDULg-fHF-BihotouwPlfBpLGQHHIs/rs:fill:128:128/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vOVVpZjFzZWkxNGw4VGVuNGItYWN0b3ItSTRGM09mZ2hsYmNid2xzZ1QtZENianFpQXRGUC0yX19fLnBuZw.png" width="18" height="18" alt="Apify Actor icon" style="vertical-align: middle;">
        &nbsp;<a href="https://apify.com/m_mamaev/2gis-places-scraper" rel="noopener external nofollow" target="_blank" style="color: rgb(17, 24, 39); text-decoration: none; font-weight: 700; font-size: 13px;">2gis Places Scraper</a><br>
        <span style="color: rgb(107, 114, 128); font-size: 12px;">A good alternative if your workflow is centered around 2GIS.</span>
      </td>
      <td style="padding: 12px; vertical-align: top; width: 50%; border-left: 1px solid rgb(229, 231, 235); border-right: 1px solid rgb(229, 231, 235); border-bottom: 1px solid rgb(229, 231, 235);">
        <span style="display: inline-block; padding: 2px 8px; margin-bottom: 8px; background: rgb(249, 250, 251); color: rgb(75, 85, 99); border-radius: 999px; font-size: 11px; font-weight: 700;">Chrome Extension</span><br>
        <img src="https://raw.githubusercontent.com/mamaevmisha-bot/apify_images/main/icon128.png" width="18" height="18" alt="Chrome extension icon" style="vertical-align: middle;">
        &nbsp;<a href="https://chromewebstore.google.com/detail/yandex-maps-scraper-%2525D0%2525BF%2525D0%2525B0%2525D1%252580%2525D1%252581%2525D0%2525B5/hacdmpdlghbjkflehdpipbbpiicgeghm" rel="noopener external nofollow" target="_blank" style="color: rgb(17, 24, 39); text-decoration: none; font-weight: 700; font-size: 13px;">Yandex Maps Scraper</a><br>
        <span style="color: rgb(107, 114, 128); font-size: 12px;">Browser-based scraping with real-time manual control.</span>
      </td>
    </tr>
  </tbody>
</table>

# Actor input Schema

## `query` (type: `array`):

Введите то, что вы обычно вводите в строку поиска Яндекс карт. Например, 'барбершоп' или 'ресторан'. Старайтесь использовать разные по смыслу запросы. Использование похожих терминов \[ресторан, бар, кафе] снижает эффективность.

Enter your usual search term in the Yandex maps search bar. For example: 'cafe', 'hotels'.

## `locations` (type: `string`):

Город или регион для поиска. Выберите из списка или введите свой вариант.

City or district to search. Select from the list or enter your own option

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

Максимальное количество сохранённых результатов для каждого поискового запроса

Maximum number of saved results for each query

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

Results details will show in this language.

## `maxPhotos` (type: `integer`):

Set the number of images per place to extract.
To extract all available images, set this to 99999. If left empty or set to 0, no images will be scraped.

## `includePhotoAuthors` (type: `boolean`):

Include the author name and profile URL for each image when Yandex provides this data.

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per place.
Set 0 to disable review collection.

## `reviewsSort` (type: `string`):

Sort order used when fetching reviews.

## `includeReviewerData` (type: `boolean`):

Include personal reviewer data such as their public ID, display name, avatar URL, and rank badges when Yandex provides it.

## `includeMenu` (type: `boolean`):

Выполняет дополнительные запросы по каждому месту для сбора полного прайс-листа.

Performs additional queries for each location to collect a complete price list.

## `ratingFilter` (type: `string`):

Minimum rating filter.

## `priceCategories` (type: `array`):

Select one or more price levels

## `goodPlaceOnly` (type: `boolean`):

Only include places marked as Good place.

## `categoryIds` (type: `array`):

Select one or more rubric IDs.

## `coordinates` (type: `string`):

Exact center point as latitude,longitude (e.g. 59.949205, 30.286765). Overrides the Location field.

**Tip: Right-click any point on Yandex/Google Maps to copy coordinates.**

## `viewportSpan` (type: `string`):

Search area size as dLon, dLat.

• **0.01,0.01** ≈ 1km (Neighborhood)

• **0.1,0.1** ≈ 10km (City center)

• **0.5,0.5** ≈ 50km (Full city)

## `organizationIds` (type: `array`):

Direct Yandex business/organization IDs (12345678) or URLs (https://yandex.com/maps/org/name/12345678).

## `mapsDomain` (type: `string`):

Domain used for requests to Yandex Maps. The results language is set by the Language field.

Домен, через который идут запросы к Яндекс Картам. Язык результатов задаётся полем Language.

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

Leave **No proxy** unless you have problems.

• **Own proxies** — paste your proxy URLs, e.g. Russian proxies: http://user:pass@host:port or socks5://user:pass@host:port

• **Apify Proxy** — residential proxies with a country, e.g. RU.

Оставьте «No proxy», если всё работает. Свои прокси (например, российские) указываются в формате http://логин:пароль@хост:порт или socks5://логин:пароль@хост:порт.

## `enableGlobalDataset` (type: `boolean`):

When enabled, actor appends to a persistent global dataset and deduplicates only for that global append. Default run dataset still receives all found places.

## Actor input object example

```json
{
  "query": [
    "кофе в Москве"
  ],
  "locations": "None",
  "maxItems": 20,
  "language": "RU",
  "maxPhotos": 0,
  "includePhotoAuthors": false,
  "maxReviews": 0,
  "reviewsSort": "by_relevance_org",
  "includeReviewerData": false,
  "includeMenu": false,
  "ratingFilter": "any",
  "priceCategories": [],
  "goodPlaceOnly": false,
  "categoryIds": [],
  "coordinates": "",
  "viewportSpan": "",
  "organizationIds": [],
  "mapsDomain": "yandex.com",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "enableGlobalDataset": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Main business-card fields such as photo, title, category, rating, address and Yandex URL.

## `resultsMap` (type: `string`):

Interactive HTML map of collected places saved in the default key-value store.

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("m_mamaev/yandex-maps-places-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 = { "proxyConfiguration": { "useApifyProxy": False } }

# Run the Actor and wait for it to finish
run = client.actor("m_mamaev/yandex-maps-places-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 '{
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call m_mamaev/yandex-maps-places-scraper --silent --output-dataset

```

## MCP server setup

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